Repository navigation
Closed as not planned
Description
Describe the bug
Model
Pi 3 A
Kernel
$ dpkg --no-pager --list raspberrypi-kernel
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-==============-============-=================================
ii raspberrypi-kernel 1:1.20220328-1 armhf Raspberry Pi bootloader
$ uname -a
Linux catcam 5.15.30-v7+ #1536 SMP Mon Mar 28 13:43:34 BST 2022 armv7l GNU/Linux
Symptom
brcmfmac will fail to connect to WPA2/WPA3 mixed-mode AP (I am using an Archer A7 V5 running OpenWRT, where all other devices work fine). wpa_supplicant complains about auth rejected and AP sees invalid keys.
How to fix
Followed instructions at https://iwd.wiki.kernel.org/offloading to disable SAE offloading by appending brcmfmac.feature_disable=0x82000 to the kernel command line (/boot/cmdline.txt) and it starts to connect and work normally.
Steps to reproduce the behaviour
- Have an AP in WPA2/WPA3 mixed-mode (pure WPA3 might also work)
- Install
raspberrypi-kernel1:1.20220328-1 - Configure
wpa_supplicantby adding a valid entry generated bywpa_passphraseto/etc/wpa_supplicant/wpa_supplicant-wlan0.conf sudo systemctl enable wpa_supplicant@wlan0 && sudo systemctl start wpa_supplicant@wlan0(assuming wpa_supplicant.service was disabled)sudo journalctl -u wpa_supplicant@wlan0 -fand watch it fail
Device (s)
Raspberry Pi 3 Mod. A+
System
$ cat /etc/rpi-issue
Raspberry Pi reference 2015-01-31 (armhf)
Generated using spindle, http://asbradbury.org/projects/spindle/, 56db930, stage4-lxde-edu.qed
$ vcgencmd version
Mar 24 2022 13:21:51
Copyright (c) 2012 Broadcom
version e5a963efa66a1974127860b42e913d2374139ff5 (clean) (release) (start_x)
$ uname -a
Linux catcam 5.15.30-v7+ #1536 SMP Mon Mar 28 13:43:34 BST 2022 armv7l GNU/Linux
Logs
I am using volatile storage for logs. Let me know if exact kernel logs or wpa_supplicant logs are needed.
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels
Activity
taylorkline commentedon Jun 4, 2022
No issue on my end:
/etc/wpa_supplicant/wpa_supplicant.conf:dword1511 commentedon Jul 28, 2022
I think
key_mgmt=WPA-PSK-SHA256andieee80211w=2fixed itcodeaholics commentedon Mar 18, 2023
@dword1511 Thank you for this. I recently upgraded a RPi 3 from Raspbian to Ubuntu 22.04 LTS and the wifi was terrible - taking up to half an hour to connect, dropping connections frequently, etc. I've been fighting it for 3 days. The
feature_disablekernel command line flag has solved this for me. Thank you!Kobunteki commentedon May 8, 2024
Do you know why "key_mgmt=WPA-PSK-SHA256" works? I just cannot get sussed out the link between it and WPA3/WPA2 mixed mode.
yozik04 commentedon Dec 15, 2024
I can confirm that my Raspberry Pi Zero 2 W wifi started to work only after appending
brcmfmac.feature_disable=0x82000to the end ofcmdline.txt. I use Bookwork based Raspbian.molecularentropy commentedon Feb 5, 2025
brcmfmac.feature_disable=0x82000fixed this issue for me as well.fix brcmfmac wifi firmware bug causing Pi hard lockups
omgeverythingisoccupied commentedon Jul 20, 2026
I am using Zero 2W for OctoPi. That magic line worked! Spent almost 2 days by searching a root cause... Thanks.
Record gosd-anyp desk research: kernel-delta theory eliminated
Record gosd-anyp desk research: kernel-delta theory eliminated
steveja commentedon Oct 11, 2026
rpi zero-2w, using Bookworm, kernel 6.12.109+rpt-rpi-v8, wpasupplicant 2:2.10-12+deb12u3. Eero pro7 mesh. Connection fails randomly in 10 minutes to
14 days with a lot of re-connection attempts in the logs before network silence.bpo12+1+rpt4 includes /lib/modprobe.d/rpi-brcmfmac.conf:"options brcmfmac roamoff=1 feature_disable=0x282000". So the cmdline options have no impact (note that bit 0x2000000, bit 25, is not a valid disable in the 6.12 kernel brcmfmac driver). No joy.Package firmware-brcm80211 1:20240709-2
Satellite Wi-Fi join: WPA2/WPA3 mixed routers join on a Pi Zero 2 W; …