Hi everyone,

I had the same wifi/bluetooth interference problem. My setup is as follows: 
- Ubuntu 14.04 with custom-built vanilla kernel 4.3.0
- Lenovo B50 laptop having QCA9565 / AR9565 Wireless Network Adapter (ath9k) 
onboard
- Linksys WRT-54GL router running DD-WRT v24-sp2 (10/10/09) mini
- Marshall Acton bluetooth speaker

Initially when I was streaming audio to the speaker, wifi degraded
dramatically. After doing some research, I have successfully resolved
the issue.

What I have done is:

* On my laptop:

- added 
```
Enable=Source
Disable=Socket
AutoConnect=True
```
to /etc/bluetooth/audio.conf

- Added 
```
options iwlwifi 11n_disable=1 bt_coex_active=1
``` 
to /etc/modprobe.d/iwlwifi.conf
However, since I'm not using iwlwifi, I'm not sure whether this had had any 
effect whatsoever.

* On my router:

- Under Wireless / Advanced Settings, I set "Bluetooth Coexistence Mode"
to "Preemption"


Then I've rebooted everything just in case.

FYI, I encourage you to read through
https://wireless.wiki.kernel.org/en/users/documentation/bluetooth-
coexistence to find out what bluetooth coexistence is, and I wonder why
everybody keeps switching it off (by setting bt_coex_active=0). On the
contrary, this technique is designed to defeat interference problem.

Also, you may find nice to add "load-module module-switch-on-connect" to
/etc/pulse/default.pa so that audio starts streaming to bluetooth
speaker automatically when it connects (and then back to laptop speakers
when it disconnects.)

Cheers,
PD.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/219057

Title:
  Bluetooth does not coexist with WiFi

Status in bluez package in Ubuntu:
  Confirmed

Bug description:
  On my system bluetooth and wifi are unusable together. I have a built-
  in CSR-based bluetooth module in my laptop, and an Atheros wifi. Wifi
  transfers slow to a halt whenever there is BT traffic.

  For example, if I play a music file from another machine through the
  network using a BT headset, only the first few seconds of the file
  will play until the player runs out of buffered data. No further data
  is downloaded. Web pages also do not download, and I even lose
  connection to AP from time to time.

  At the same time, it looks like AFH is trying to work. If I monitor
  the value returned by 'hcitool afh', it changes. But this seems to
  have little effect on connection quality.

  Is this a problem with my hardware, or the AFH implementation? Is
  there a way to force bluetooth to not use the channels in use by WiFi?

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to