[ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
By default BT audio works fine on Ubuntu - if there is no WiFi active: Both work on the same frequency range, 2 WiFi channel is about 20 Bluetooth Channels wide and every time a WiFi package is sent bluetooth risks a packet loss.
Creating a file named /etc/modprobe.
options ath9k btcoex_enable=1 bt_ant_diversity=1
resolves the problem and drastically increases bluetooth throughput for all other use cases (bluetooth networking that doesn't drop every time the WiFi probes something, lower latency Bluetooth HIDs.
We should ship things in a way that they work out-of-the-box => I am all for providing this file with Ubuntu, possibly with Bluez.
In the case of my laptop btcoex_enable=1 would already do the trick.
Technical background:
- https:/
- https:/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bluez 5.46-0ubuntu4
Uname: Linux 4.15.0-
ApportVersion: 2.20.8-0ubuntu6
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Jan 30 06:40:12 2018
EcryptfsInUse: Yes
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: Acer Aspire S7-391
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/16/2012
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V2.09
dmi.board.
dmi.board.name: Storm
dmi.board.vendor: Acer
dmi.board.version: V2.09
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.family: ChiefRiver System
dmi.product.name: Aspire S7-391
dmi.product.
dmi.sys.vendor: Acer
hciconfig:
hci0: Type: Primary Bus: USB
BD Address: 68:94:23:49:1B:BC ACL MTU: 1022:8 SCO MTU: 183:5
UP RUNNING PSCAN
RX bytes:688 acl:0 sco:0 events:49 errors:0
TX bytes:3167 acl:0 sco:0 commands:49 errors:0
tags: | added: patch |
no longer affects: | bluez (Ubuntu) |
tags: | added: a2dp-skip |
Changed in linux (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu): | |
assignee: | Kai-Heng Feng (kaihengfeng) → nobody |
Changed in linux (Ubuntu): | |
status: | In Progress → Confirmed |
The patch that resolves the problem.