[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
** Changed in: linux (Ubuntu) Status: In Progress => Confirmed -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
** Changed in: linux (Ubuntu) Assignee: Kai-Heng Feng (kaihengfeng) => (unassigned) -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
Write "options ath9k btcoex_enable=1" to some config file under "/etc/modprobe.conf.d/". -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
Any update how to solve this problem -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
** Changed in: linux (Ubuntu) Status: Confirmed => In Progress -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
I am also facing the same issue. The wifi works perfectly until Bluetooth speaker works perfectly. As soon as Bluetooth speaker connects the wifi activity keeps skipping. Kindly let me know how to solve this. -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
** Tags added: a2dp-skip -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
https://lkml.org/lkml/2018/2/8/5 -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
Cool! Thanks a lot! -- 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
[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 <1746...@bugs.launchpad.net> 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= > 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 ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
> 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. -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
It should be "This will be a regression for people who only use WiFi but not Bluetooth". -- 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
Re: [Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
> On Feb 2, 2018, at 12:56 PM, Daniel van Vugt> wrote: > > "to let WiFi use two antennas when BT is off" is indeed nice to have > too, yes. > > However this bug is titled "Enable Bluetooth-Wifi coexistence by > default". So it sounds like we need both: > > btcoex_enable=1 bt_ant_diversity=1 > > The problem we aim to solve here is fixing Bluetooth performance, not > fixing wifi performance. This will be a regression for people don’t use WiFi. > > -- > 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= > 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
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:14 PM, PeterPall <1746...@bugs.launchpad.net> wrote: > > I had tried all combinations: > > - btcoex_enable=0 and bt_ant_diversity=1 does help a little bit with > bluetooth. But not much 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. > - btcoex_enable=1 and bt_ant_diversity=0 does solve the bluetooth problem for > me > - btcoex_enable=1 and bt_ant_diversity=1 Here I have the feeling that it > makes changing files and fast-forward/fast-backward smoother in mplayer > (btcoex_enable=1 and bt_ant_diversity=0 in rare cases gives "bluetooth device > stuck" messages, but working audio). BT antenna diversity won’t get set when btcoex_enable is 1. So both bt_ant_diversity=[0,1] have the same effect. > - btcoex_enable=0 and bt_ant_diversity=0: Bluetooth keeps hanging *and* low > wifi performance while using bluetooth. > > -- > 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= > 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
I had tried all combinations: - btcoex_enable=0 and bt_ant_diversity=1 does help a little bit with bluetooth. But not much - btcoex_enable=1 and bt_ant_diversity=0 does solve the bluetooth problem for me - btcoex_enable=1 and bt_ant_diversity=1 Here I have the feeling that it makes changing files and fast-forward/fast-backward smoother in mplayer (btcoex_enable=1 and bt_ant_diversity=0 in rare cases gives "bluetooth device stuck" messages, but working audio). - btcoex_enable=0 and bt_ant_diversity=0: Bluetooth keeps hanging *and* low wifi performance while using bluetooth. -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
"to let WiFi use two antennas when BT is off" is indeed nice to have too, yes. However this bug is titled "Enable Bluetooth-Wifi coexistence by default". So it sounds like we need both: btcoex_enable=1 bt_ant_diversity=1 The problem we aim to solve here is fixing Bluetooth performance, not fixing wifi performance. -- 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
Re: [Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
> On Feb 2, 2018, at 10:05 AM, Daniel van Vugt> 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= > 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
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: btcoex_enable=1 Which is what the title of the bug says too :) -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
In my case this configuration results in - a bluetooth hangs, but only if the WiFi is far away and only about once every minute. But the connection losses I experienced with btcoex_enable=0 bt_ant_diversity=0 are nearly gone. - and changing the file in mplayer causes a short audio hang. With btcoex_enable=1 and bt_ant_diversity=1 I don't get any connection losses, audio runs smoothly without hangs and switching from a file to another works smoothly, too. -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
I guess what we want is btcoex_enable=0 bt_ant_diversity=1. >From what I can understand, bt_ant_diversity is the one that can use BT's >antenna to be WiFi's RX antenna when BT is off. Peter, can you try if btcoex_enable=0 bt_ant_diversity=1 works for you? Here's the relevant code: /* * Enable WLAN/BT RX Antenna diversity only when: * * - BTCOEX is disabled. * - the user manually requests the feature. * - the HW cap is set using the platform data. */ if (!common->btcoex_enabled && ath9k_bt_ant_diversity && (pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV)) common->bt_ant_diversity = 1; -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
** No longer affects: bluez (Ubuntu) -- 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
[Bug 1746164] Re: [ath9k] Enable Bluetooth-Wifi coexistence by default (bluetooth audio and network skip on Wifi activity)
This option should be default in kernel side instead of use a modprobe conf file. I'll send a patch to enable it. -- 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/bluez/+bug/1746164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs