Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPi3: Bluetooth impedes wifi #1552

Open
giddyhup opened this issue Jul 1, 2016 · 24 comments
Open

RPi3: Bluetooth impedes wifi #1552

giddyhup opened this issue Jul 1, 2016 · 24 comments
Labels
Bluetooth Issue pelwell_there_is_no_escape Bug Waiting for internal comment Waiting for comment from a member of the Raspberry Pi engineering team Wifi Issue Any issues related to wifi

Comments

@giddyhup
Copy link

giddyhup commented Jul 1, 2016

Linux berry 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux

Wifi gets extremely sluggish when Bluetooth is active. See forum topic for reference. Try pinging your next hop and resolve a (nonexistant) Bluetooth device (hcitool name 11:11:11:11:11:11) simultaneously.

@mweal-ed
Copy link

mweal-ed commented Jul 4, 2016

see bug #1444

@Ruffio
Copy link

Ruffio commented Jul 28, 2016

@giddyhup did you read the #1444 ? Did it solve your issue?

@giddyhup
Copy link
Author

@Ruffio I read #1444 . There is no solution there just some more observations. I gave up using BT on a RPi3.

@Molodax
Copy link

Molodax commented Jan 25, 2017

Is there any update regarding the issue?

@pelwell
Copy link
Contributor

pelwell commented Jan 26, 2017

I don't think there is anything we can do without Broadcom/Cypress. They have expressed an interest and we have pointed them at the relevant threads, prodding occasionally, but so far I've heard no feedback.

@Ruffio
Copy link

Ruffio commented Jan 26, 2017

@pelwell Any reference at Cypress that I can ping? I would like to help if I can...

@pelwell
Copy link
Contributor

pelwell commented Jan 26, 2017

They will see your comment, but I'd rather not overwhelm them.

@Ruffio
Copy link

Ruffio commented Jan 26, 2017

Ok, if there is anything that 'we' can help with regarding test etc., please let us know

@Ruffio
Copy link

Ruffio commented Jan 26, 2017

#1410
#1402

@Molodax
Copy link

Molodax commented Jan 26, 2017

I would add this issue #1342 in bunch of the issues with WiFi and Bluetooth in RPi3, probably, they are interconnected.
At the moment, WiFi is very unreliable by itself and using of Bluetooth and WiFi together is not possible at all in RPi3.

@thomasf
Copy link

thomasf commented Jan 26, 2017

I already referenced this issue from #1342 .. The only reliable solution for a
project I was working on with ~40rpi3's was to use an external usb wifi dongle.
We wanted both bt and wifi and after many hours of systematic testing the only
stable solution was to use an usb wifi.. Doing the opposite (usb bluetooth and
internal wifi) caused problems less often but in the end it still failed from
time to time.

IIRC we created a modprobe.d-file to blacklist a couple of kernel modules
related to the wifi functionality, looking quickly at our provisioning scrips
these ones seems to been have added to our prod setup:

no-rpi-wifi.conf:

blacklist brcmfmac
blacklist mrcmutil

@Molodax
Copy link

Molodax commented Jan 26, 2017

Perhaps, using an external usb wifi dongle could be a workaround for some projects but it is not a solution for users of RPi3 project as such.

@thomasf
Copy link

thomasf commented Jan 26, 2017

I would also have preferred things to just work and not having to spend some weeks on testing scenarios.. In the end the usb wifi path was a practical solution/workaround about 6-8 months ago (probably still is) if you do need it to work right now and not maybe work at a unknown future date.

@Ruffio
Copy link

Ruffio commented Jan 26, 2017

Hmmm, considering that Cypress have expressed an interest but these issues are now more than half a year old, it doesn't look like it has been that that high prioritised :-( It is a little bit sad as IMHO the wifi/bluetooth combo is really a key selling point for RPi3. Hopefully Cypress will give it some (more) attention.

@mweal-ed
Copy link

For reference this problem is not isolated to just the Pi. I have encountered the same problems on other platforms that have shared hardware for wifi/bluetooth (Intel Edison and Next Thing CHIP). I know the Edison also uses a Cypress/Broadcom chipset, but I'm not sure about the CHIP.

@JamesH65 JamesH65 added Bug Waiting for internal comment Waiting for comment from a member of the Raspberry Pi engineering team labels May 18, 2017
@mweal-ed
Copy link

Does anyone know if the pi3 B+ has the same problem?

@jason-a69
Copy link

The Pi3 B+ has exactly the same problem, I can confirm that as I just did some testing.

@JamesH65
Copy link
Contributor

We did have improved firmware from Cypress that was supposed to help with BT/Wireless coexistence. I believe things did get better, but presumably, not much.

Note that the chip on the 3B+ is different to that on the 3B, with different firmware (we presume), so its a shame that they both exhibit the same issue. Clearly there are hurdles to overcome with coexistence that is still a work in progress.

I guess we need to prompt Cypress again, unless @pelwell has any comments?

@mweal-ed
Copy link

Out of curiosity, did you test with a 2.4G or 5G wifi connection? I thought that with 5G it might be using different circuitry so there would not be a coexistence problem.

@jason-a69
Copy link

jason-a69 commented Apr 24, 2018

I used a 2.4G interface, I do not have a 5G router but you have just given me an excuse to go out and purchase an ASUS RT-AC86U.
I will double check that rpi-update has been run as well although I am sure I did before I started my testing.

@JamesH65
Copy link
Contributor

@pelwell

@JamesH65 JamesH65 added Bluetooth Issue pelwell_there_is_no_escape Wifi Issue Any issues related to wifi labels Jan 18, 2019
@pelwell
Copy link
Contributor

pelwell commented Jan 18, 2019

In August 2018 Cypress delivered some updated nvram-file parameters that have noticeably improved coexistence behaviour. I would suggest downloading a fresh Raspbian to a spare SD card and retesting. Alternatively you can grab the individual files:

Copy them into the /lib/firmware/brcm folder (you will need to sudo cp ...).

@jason-a69
Copy link

In August 2018 Cypress delivered some updated nvram-file parameters that have noticeably improved coexistence behaviour. I would suggest downloading a fresh Raspbian to a spare SD card and retesting. Alternatively you can grab the individual files:

Copy them into the /lib/firmware/brcm folder (you will need to sudo cp ...).

I can confirm that Bluetooth and WiFi work much better together. I can stream from my phone via Bluetooth to a WiFi connected Pi without problems (using Moodeaudio).

@longo92-vrmedia
Copy link

Any news on how resolve coexistence of bluetooth and wifi on pi0-w?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bluetooth Issue pelwell_there_is_no_escape Bug Waiting for internal comment Waiting for comment from a member of the Raspberry Pi engineering team Wifi Issue Any issues related to wifi
Projects
None yet
Development

No branches or pull requests

9 participants