> On Feb 2, 2018, at 10:05 AM, Daniel van Vugt <daniel.van.v...@canonical.com> 
> wrote:
> 
> It sounds like maybe @peterpall isn't doing what @kaihengfeng asked:
> 
>  btcoex_enable=0 bt_ant_diversity=1
> 
> But at the same time it also sounds like @kaihengfeng is trying to solve
> the wrong problem, judging by comment #20. Actually it sounds like the
> fix @peterpall needs is just:

Judging from the comment, bt_ant_diversity is what we want, to let WiFi
use two antennas when BT is off.

> 
>  btcoex_enable=1

IIUC, this will let WiFi uses single antenna all the time. Not something
user really want.

> 
> Which is what the title of the bug says too :)
> 
> -- 
> 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1746164

Title:
  [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio
  and network skip on Wifi activity)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1746164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to