You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RPi4: Wifi cannot connect to ac accesspoint (no VHT Capabilities) #3378
The Raspberry Pi 4 is not able to connect to wifi accesspoints with wifi standard "ac".
This is because the Raspberry PI 4 is not sending any VHT Capabilities.
My wifi router is running with 5 GHz mixed standard "n+ac" (WI-Fi 5) accesspoint and the Raspberry PI 4 is always connecting with n standard.
To reproduce
Use the following wpa_supplicant config and connect to accesspoint.
Expected behaviour
The Raspberry PI 4 should send VHT Capabilities and connect with wifi standard ac
Actual behaviour
The Raspberry PI 4 does not send VHT Capabilities and connects with wifi standard n
Which model of Raspberry Pi? e.g. Pi3B+, PiZeroW
Raspberry Pi 4 4 GB RAM
Which OS and version (cat /etc/rpi-issue)?
Raspberry Pi reference 2019-06-08
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, d942d5487c035ecd568c1a3049d8b00b14132678, stage5
Which firmware version (vcgencmd version)?
Sep 24 2019 17:34:30
Copyright (c) 2012 Broadcom
version cd3add54955f8fa065b414d8fc07c525e7ddffc8 (clean) (release) (start)
My 4B has no difficulty connecting to an "ac" AP, and I suspect millions of other 4B and 3B+ users (they both use the same WiFi controller) are in the same position. I can think of four potential explanations for the difference:
Most ac APs don't require VHT capabilities, but yours does.
No ac APs require VHT capabilities - the failure to connect to your AP is caused by something else.
Most 43455-equipped Pis generate VHT capabilities, but your 4B with your configuration doesn't.
All 43455-equipped Pis generate VHT capabilities, but they aren't being captured and the problem is unrelated.
Please try connecting to your AP using the WiFi post-installation wizard on a fresh Raspbian download. If your AP is configured to require non-standard settings, please explain exactly which settings in your wpa_supplicant.conf are absolutely necessary.
Which accesspoint did you use and how did you make sure the Raspberry PI is using "ac" and not "n"?
We have a Ubiquiti in-house WiFi network, and there's Netgear Nighthawk R7000 on my desk, and the 4B connects to both in the 5G band. Both are "ac" capable APs, but it is possible that these connections are "n" only - it's coming up with a 40MHz channel width.
I could check a few more accesspoints, but I'm not sure whether that will help us.
Does anybody have an idea how to check if the PI is connected via "n" or "ac". So far the only way I know is checking the GUI of the FRITZ!Box accesspoint.
As you mentioned my PIs also connect with 40MHz channel width - but that could be both: "n" or "ac".
Ubuntu has https://packages.ubuntu.com/eoan/iw which can show the bandwidth of a connection this way (on one of my rpi4B devices connected to a Ubiquiti nano-HD):
I see the same behaviour with my FRITZ!Box 7590 router.
Setting PIs region to "DE" leads to "n" connection.
Setting PIs region to "US" leads to "ac" connection.
In the attached capture you can see, that in packet 4 (region "DE") the VHT-Capabillities are missing but in packet 15 (region "US") they are included. This looks like a proof for misbehaviour of the PI for me. capture.zip
I also had problems that my 4er Pi's had not connected to the AC grid. The problem is probably due to the reception performance of the Pi's. Using DD-WRT router software, I can set the transmission power separately, if I reduce the transmission power in the N 2.4 GHz network by -2 dB then the Pi's choose the AC network instead of the N 2.4 GHz network. So just think that the Pi's choose the stronger network and therefore always choose the stronger N 2.4 GHz network.
Perhaps it should be improved in the firmware that the AC network is given priority even if it is minimally weaker than the N network
I did a check, which country-codes result in an ac connection with FRITZ!Box 7590.
connection with ac:
AD, AU, NG, TZ, UG, US
connection with only n:
AR, AT, BE, BA, CH, CY, CZ, DK, DE, EE, ES, FI, FR, GR, GB, HU, IE, IL, IT, HR, LU, LV, ME, MK, NA, NZ, NL, NO, PL, PT, SE, SI, SK, TH, ZA
Reacted by zorazor, Janne Paalijarvi and sashimanu-san
@pelwell Can you give me a hint on how to install the blob?
In https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=291609 I see instructions for copying brcmfmac43455-sdio.clm_blob to /lib/firmware/brcm/.
But the given downloadlink points to brcmfmac43455-sdio.bin. Where do I get the .clm_blob file from?
Thanks for the hint to the firmware blob!
In a quick test the Raspberry Pi was able to establish a connection to my FRITZ!Box with region DE & WIFI standard AC & HT80.
I will try to make some stability tests.
I cheered too soon. The Raspberry PI is now only able to connect to APs that use channels lower than 52 which are only channels 36, 40, 44 and 48. APs on different channels are not seen/found by the Raspberry PI.
Well strange, I put a second Pi 4 in my testsetup and this one can connect with all 2,4 GHz channels.
Although I'm a bit puzzled as to why the first Pi is having problems, the brcmfmac43456-sdio.clm_blob fixes the ac problem.
You said that the updated blob will be in the next image. Do you have a clue, when this will be released? Or can you say when the blob will be part of regular updates via apt?
Activity
pelwell commentedon Dec 16, 2019
Which country/regulatory domain are you in? Your wpa_supplicant.conf appears to have no "country=XX" line.
DrHardReset commentedon Dec 16, 2019
This is the output of "iw reg get":
global
country DE: DFS-ETSI
(2400 - 2483 @ 40), (N/A, 20), (N/A)
(5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW
(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
(5725 - 5875 @ 80), (N/A, 13), (N/A)
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
The wifi accesspoint is configured for Germany, too.
pelwell commentedon Dec 17, 2019
My 4B has no difficulty connecting to an "ac" AP, and I suspect millions of other 4B and 3B+ users (they both use the same WiFi controller) are in the same position. I can think of four potential explanations for the difference:
Please try connecting to your AP using the WiFi post-installation wizard on a fresh Raspbian download. If your AP is configured to require non-standard settings, please explain exactly which settings in your wpa_supplicant.conf are absolutely necessary.
pelwell commentedon Dec 17, 2019
So it appears, but that doesn't really move us forward.
@HardResetSolution How did you create that Wireshark capture? Does it require a monitor-mode device?
DrHardReset commentedon Dec 18, 2019
I had the chance to check interoparbility with 2 further wifi accesspoints. The 3 testet devices show the following behaviour:
FRITZ!Box 7590 -> PI sends no VHT Capabilities
Asus ac68u -> PI sends no VHT Capabilities
Netgear Nighthawk rax40 -> PI sends VHT Capabilities
asus_and_netgear.zip
For this test I used the WiFi post-installation wizard on a fresh Raspbian download.
wpa_supplicant.config is the following:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE
network={
ssid="MySSID"
psk="MySecurePsk"
key_mgmt=WPA-PSK
}
For the FRITZ!Box I could create the capture via the accesspoint itself. For Asus and Netgear I used a wifi sniffer (monitor mode).
@pelwell Which accesspoint did you use and how did you make sure the Raspberry PI is using "ac" and not "n"?
pelwell commentedon Dec 18, 2019
We have a Ubiquiti in-house WiFi network, and there's Netgear Nighthawk R7000 on my desk, and the 4B connects to both in the 5G band. Both are "ac" capable APs, but it is possible that these connections are "n" only - it's coming up with a 40MHz channel width.
DrHardReset commentedon Dec 20, 2019
I could check a few more accesspoints, but I'm not sure whether that will help us.
Does anybody have an idea how to check if the PI is connected via "n" or "ac". So far the only way I know is checking the GUI of the FRITZ!Box accesspoint.
As you mentioned my PIs also connect with 40MHz channel width - but that could be both: "n" or "ac".
satmandu commentedon Dec 20, 2019
Ubuntu has https://packages.ubuntu.com/eoan/iw which can show the bandwidth of a connection this way (on one of my rpi4B devices connected to a Ubiquiti nano-HD):
(I must be connected through ac since I'm connected via an 80MHz channel.)
zorazor commentedon Apr 12, 2020
Hello,
I have the same issue.
I have a RPi4 and the router Fritz!Box 7590.
Usually my RPi-country code is set to DE:

I found out that if I set the RPi-region to US, a 5GHz ac connection is established:

The ac connection is then very unstable and disconnects even more often.
(RPi4 and SmartDevice are in the same room)
DrHardReset commentedon Apr 14, 2020
I see the same behaviour with my FRITZ!Box 7590 router.
Setting PIs region to "DE" leads to "n" connection.
Setting PIs region to "US" leads to "ac" connection.
In the attached capture you can see, that in packet 4 (region "DE") the VHT-Capabillities are missing but in packet 15 (region "US") they are included. This looks like a proof for misbehaviour of the PI for me.
capture.zip
kosmosgit commentedon Apr 19, 2020
I also had problems that my 4er Pi's had not connected to the AC grid. The problem is probably due to the reception performance of the Pi's. Using DD-WRT router software, I can set the transmission power separately, if I reduce the transmission power in the N 2.4 GHz network by -2 dB then the Pi's choose the AC network instead of the N 2.4 GHz network. So just think that the Pi's choose the stronger network and therefore always choose the stronger N 2.4 GHz network.
Perhaps it should be improved in the firmware that the AC network is given priority even if it is minimally weaker than the N network
DrHardReset commentedon Apr 29, 2020
I did a check, which country-codes result in an ac connection with FRITZ!Box 7590.
connection with ac:
AD, AU, NG, TZ, UG, US
connection with only n:
AR, AT, BE, BA, CH, CY, CZ, DK, DE, EE, ES, FI, FR, GR, GB, HU, IE, IL, IT, HR, LU, LV, ME, MK, NA, NZ, NL, NO, PL, PT, SE, SI, SK, TH, ZA
pelwell commentedon Jun 16, 2020
You can download a trial clm_blob file that may improve the connection options - it's available from https://drive.google.com/file/d/1Qoc90FCTO17d69PbBqUhkJKgqDMmdOui/view?usp=sharing
Make a backup of your old clm_blob and install the new one using:
Reboot to use the new clm_blob.
N.B. This clm_blob is not suitable for use on a 3B+, so don't try this on a card that might be used on one.
fpousserot commentedon Jun 18, 2020
I just tested the file, and no better.
The PI4 only connects in 2.4ghz g (signal -32 db ; tx: 48 mbit/s ; rx: 24 mbit/s)
Thie PI4 does not want to connect in 5ghz - 80mhz (802.11a, 802.11n, 802.11ac).
Pi4 is installed next to the router (freebox france)
should an option be activated?
33 remaining items
tomty89 commentedon Nov 20, 2020
@graysky2 Would you take over https://github.com/archlinuxarm/PKGBUILDs/tree/master/alarm/firmware-raspberrypi? Also see https://archlinuxarm.org/forum/viewtopic.php?f=15&t=14684
graysky2 commentedon Nov 20, 2020
@tomty89 - I don't know how wise it is to ship these untested. Plus, including these is ultimately up to @kmihelich
DrHardReset commentedon Nov 26, 2020
@pelwell Can you give me a hint on how to install the blob?
In https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=291609 I see instructions for copying brcmfmac43455-sdio.clm_blob to /lib/firmware/brcm/.
But the given downloadlink points to brcmfmac43455-sdio.bin. Where do I get the .clm_blob file from?
pelwell commentedon Nov 26, 2020
I don't understand - the download link (https://drive.google.com/file/d/1AN7lC_kMJGGg5AJLhSRtlTRgIh9qJlaI/view?usp=sharing) is for brcmfmac43455-sdio.clm_blob.
DrHardReset commentedon Nov 26, 2020
OK, my fault. FireFox for Android replaced the file extension from clm_blob to bin for some reason.
DrHardReset commentedon Nov 26, 2020
Thanks for the hint to the firmware blob!
In a quick test the Raspberry Pi was able to establish a connection to my FRITZ!Box with region DE & WIFI standard AC & HT80.
I will try to make some stability tests.
pelwell commentedon Nov 26, 2020
At this point it is looking very likely that the updated blob will be in the next image.
DrHardReset commentedon Nov 27, 2020
I cheered too soon. The Raspberry PI is now only able to connect to APs that use channels lower than 52 which are only channels 36, 40, 44 and 48. APs on different channels are not seen/found by the Raspberry PI.
iw reg get:
global
country DE: DFS-ETSI
(2400 - 2483 @ 40), (N/A, 20), (N/A)
(5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW
(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
(5725 - 5875 @ 80), (N/A, 13), (N/A)
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
It does not matter which country I configure in wpa_supplicant.conf. I tried DE, US and UG.
pelwell commentedon Nov 27, 2020
Try this one instead: https://drive.google.com/file/d/1J8DdbsrZcSkDYKUPsdy2RvncttSwQdBH/view?usp=sharing
Note that you will need to rename it from brcmfmac43456-sdio.clm_blob to brcmfmac43455-sdio.clm_blob before (or when) copying it /lib/firmware/brcm.
DrHardReset commentedon Nov 30, 2020
Thanks pelwell. I did some testing and set up a comparison between original, 43455 and 34456 blob.
I put the negative points in bold.
original blob:
brcmfmac43455-sdio.clm_blob:
brcmfmac43456-sdio.clm_blob:
pelwell commentedon Nov 30, 2020
I have a Pi 4 here running with the renamed 43455 clm_blob, configured to be in WiFi region "DE", and it's happily connected on channel 11.
DrHardReset commentedon Nov 30, 2020
Well strange, I put a second Pi 4 in my testsetup and this one can connect with all 2,4 GHz channels.
Although I'm a bit puzzled as to why the first Pi is having problems, the brcmfmac43456-sdio.clm_blob fixes the ac problem.
You said that the updated blob will be in the next image. Do you have a clue, when this will be released? Or can you say when the blob will be part of regular updates via apt?
pelwell commentedon Nov 30, 2020
The next image is due in a matter of weeks, rather than months. The relevant apt package might be updated before then, but probably not.
DrHardReset commentedon Apr 12, 2021
With the latest build from https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2021-03-25/2021-03-04-raspios-buster-armhf.zip the PI can connect using "ac" as expected.