Comment 30 for bug 1746164

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote : Re: [Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)

> On Feb 2, 2018, at 1:59 PM, PeterPall <email address hidden> wrote:
>
>> Do you see "Set BT/WLAN RX diversity capability” in dmesg? Your wireless
>> chip doesn’t support bt_ant_diversity if you don’t see this message.
> Seems like my wireless chip doesn't support it: My dmesg starts with probing the CPU on starting the kernel but doesn't contain this message.
>
> => I would be happy with btcoex_enable=1 without using bt_ant_diversity=1.
> Hope that this method isn't a regression for wifi-only users. While bluetooth is in use it enhances wifi performance a lot for me.

Okay, I’ll sent a patch to enable it and discuss with ath9k maintainers.

>
> --
> You received this bug notification because you are subscribed to linux
> in Ubuntu.
> https://bugs.launchpad.net/bugs/1746164
>
> Title:
> [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio
> and network skip on Wifi activity)
>
> Status in linux package in Ubuntu:
> Confirmed
>
> 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.d/bluetooth-audio.conf with the
> following content:
>
> 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://wireless.wiki.kernel.org/en/users/drivers/ath9k/btcoex
> - https://wiki.freebsd.org/dev/ath_hal(4)/AntennaDiversity
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: bluez 5.46-0ubuntu4
> Uname: Linux 4.15.0-041500rc9-lowlatency x86_64
> 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-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=de_DE.UTF-8
> SHELL=/bin/bash
> ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.15.0-041500rc9-lowlatency root=UUID=6d0fd0ad-9048-4fdb-881a-eba6d6d13c3b ro rootflags=subvol=@ acpi_backlight=vendor init=/lib/systemd/systemd intel_pstate=enable nmi_watchdog=0 quiet splash acpi_backlight=vendor init=/lib/systemd/systemd intel_pstate=enable video=vesafb:ywrap,mtrr=3 nmi_watchdog=0 vt.handoff=1
> 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.asset.tag: No Asset Tag
> dmi.board.name: Storm
> dmi.board.vendor: Acer
> dmi.board.version: V2.09
> dmi.chassis.asset.tag: No Asset Tag
> dmi.chassis.type: 10
> dmi.chassis.vendor: Acer
> dmi.chassis.version: V2.09
> dmi.modalias: dmi:bvnInsydeCorp.:bvrV2.09:bd11/16/2012:svnAcer:pnAspireS7-391:pvrV2.09:rvnAcer:rnStorm:rvrV2.09:cvnAcer:ct10:cvrV2.09:
> dmi.product.family: ChiefRiver System
> dmi.product.name: Aspire S7-391
> dmi.product.version: V2.09
> 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
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1746164/+subscriptions