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
WPA3 broken on Pi 3 with 6.6 (and works with 6.1) #6130
When I run a 6.1 kernel on a Pi 3, using IWD, WPA3 works as expected. However, simply switching to the 6.6 kernel breaks this: the interface does not come up.
Steps to reproduce the behaviour
Run a 6.6 kernel, on a Pi 3, accessing a WPA 3 network.
Device (s)
Raspberry Pi 3 Mod. B
System
custom built OS (buildroot), with latest 6.1 or 6.6 kernel, IWD for wireless interface mgt.
Logs
No response
Additional context
There's another strange thing going on: I'm using the 'rpi-firmware-nonfree' release (https://github.com/RPi-Distro/firmware-nonfree), but the latest release does not support SAE offload, which is required for WPA3 to function.
So, the latest firmware reports (iw phy) the following:
Supported extended features:
* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
* [ 4WAY_HANDSHAKE_STA_PSK ]: 4-way handshake with PSK in station mode
* [ 4WAY_HANDSHAKE_STA_1X ]: 4-way handshake with 802.1X in station mode
Supported extended features:
* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
* [ 4WAY_HANDSHAKE_STA_PSK ]: 4-way handshake with PSK in station mode
* [ 4WAY_HANDSHAKE_STA_1X ]: 4-way handshake with 802.1X in station mode
* [ SAE_OFFLOAD ]: SAE offload support
And thus results in a working WPA3 connection, if using 6.1.
I recently worked with the brcmfmac and the iwd devs and have WPA3 negotiation working with the latest firmware from infineon plus a one line patch to the brcm80211 kernel driver.
The firmware is here: https://community.infineon.com/t5/AIROC-Wi-Fi-and-Wi-Fi-Bluetooth/Cypress-Linux-WiFi-Driver-Release-FMAC-2024-11-21/td-p/902888
The specific firmware I tested is attached. There are other firmwares in the package from infineon. The only one I am able to check is the fmac43455 that is used on the RPi3b+,4B,5B. Upon boot, it identifies as: Firmware: BCM4345/6 wl0: Oct 28 2024 23:27:00 version 7.45.286 (be70ab3 CY) FWID 01-95efe7fa
There is still no up to date firmware with the external_auth fixes for the wifi chip on the Zero series and the 3b. The one on the latest Bookworm images appears to be the latest from Infineon: Firmware: BCM43430/1 wl0: Jun 14 2023 07:27:45 version 7.45.96.s1 (gf031a129) FWID 01-70bd2af7 es7
I have tried this firmware/kernel patch with wpa_supplicant (that is currently in the Bookwork image/update) on the RPi and it will connect to a WPA3 AP every time and collect a DHCP address and pass traffic.
The current git of iwd works with this kernel patch/firmware most of the time, but sometimes will not grab a DHCP address. A re-try to connect usually will grab a DHCP address. I am certain that this minor bug in iwd will be fixed shortly by the iwd team. The version that has the fix for this firmware/driver that I have tested is: iwd 3.3.r0.g4b535cee.
Please add this to the latest Pi installation and kernel to facilitate WPA3 capability for the 43455 chip.
Any word on this? It looks like it was made to work on 6.6, but its broken for me on a 6.12 kernel, despite the logic mentioned in @gearhead 's patch being present. (43455 chip with .286 firmware and user-space SAE)
idk what is up with this on the 43455 and the 43430 chip, but feel it is probably on Cypress on the 43430 and they are not interested in keeping it up to date. It is eol, regardless of how many are in circulation. There has not been an update of the 43430 (RPi 3B and Zero2w) driver from Cypress in a long time.
It also seems that RPi does not always get the 'latest' firmware from Cypress in the image. It has been a while since I have checked to see how SAE is working on the 43455 with current kernels (6.12). I guess I should try it. I am pretty sure the 43430 is not working on kernels 6.6+ as there has not been an updated firmware for it when the 43455 was updated. THe last time I checked the 43455 worked with wpa_supplicant and the patch for iwd, but have not checked in a while. I just checked my pi4 and get this:
[ 4.296826] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 4.301196] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.316505] usbcore: registered new interface driver brcmfmac
[ 4.558355] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.raspberrypi,4-model-b.hcd' Patch
[ 4.591228] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[ 4.591827] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Aug 29 2023 01:47:08 version 7.45.265 (28bca26 CY) FWID 01-b677b91b
so it looks like the RPi team are still at 265 on the 43455 whereas the current is 7.45.286 from Cypress (last I checked).
There's one caveat with key_mgmt:
wpa_supplicant creates key_mgmt from the chip's cipher list if the chip does not return key_mgmt. It's filled from the presets and miss for example WPA-EAP-SHA256 needed for WPA3-Enterprise. Most probably it will work even if it's not listed.
To detect whether key_mgmt you see is from chip or filled from the template, run
wpa_supplicant ... -d | grep 'supported key_mgmt'
If you don't see this string in the output, this means the key_mgmt is filled from the template.
Could you also provide wpa_cli get_capability auth_algs please?
UPD: Device supports SAE with AUTHENTICATE command, I see.
Activity
peterharperuk commentedon Apr 29, 2024
My understanding is you have to use the upstream firmware if you want WPA3 support. Is it just that buildroot is using the wrong version?
spockfish commentedon Apr 29, 2024
That's what I said above ;-) Still does not fix the issue that this only works for 6.1, and not for 6.6.
pelwell commentedon Apr 29, 2024
The upstream firmware uses the SAE feature, so there is no need to use iwd (in fact it doesn't work) - continue to use wpa_supplicant as before.
spockfish commentedon Apr 29, 2024
so there is no need to use iwd (in fact it doesn't work) - continue to use wpa_supplicant as before.Well, it's not about 'need'. I just happen to 'like' IWD, in favour of wpa_supplicant. I've been using it on various Pi's for more than a year now.
Could you elaborate a bit on the "it doesn't work" part?
spockfish commentedon Apr 29, 2024
Hmmm.... I think I know why. IWD does not support CMD_EXTERNAL_AUTH
pelwell commentedon Apr 29, 2024
Yes - that's it.
spockfish commentedon Apr 29, 2024
It's still not clear to me why this should be a difference between 6.1 and 6.6.
Again, with 6.1 I got this working, with 6.6 not.
spockfish commentedon Apr 30, 2024
To add to this: the same goes for the Pi 4.
With 6.1 WPA3 is working (upstream firmware), but replacing that with the latest 6.6 (and nothing else) breaks it.
MashiroYae commentedon Jun 18, 2024
Linux 6.9.4-1-rpi-16k #1 SMP PREEMPT Wed Jun 12 15:15:09 EDT 2024 aarch64 GNU/Linux6.9 still not work
EdiDD commentedon Nov 2, 2024
@spockfish how did you switch to upstream firmware?. Recompile from scratch or copy pre-compiled binaries to /boot partition ?
spockfish commentedon Nov 2, 2024
I meant the firmware as packaged in 'linux-firmware' (https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/)
EdiDD commentedon Nov 4, 2024
Did you manually extract this archive to
/lib/firmware?spockfish commentedon Nov 5, 2024
I build a custom Linux, and there's a little bit more to it then just copying it over. Most distro's provide this fairly up-to-date.
gearhead commentedon Dec 29, 2024
I recently worked with the brcmfmac and the iwd devs and have WPA3 negotiation working with the latest firmware from infineon plus a one line patch to the brcm80211 kernel driver.
The firmware is here:
https://community.infineon.com/t5/AIROC-Wi-Fi-and-Wi-Fi-Bluetooth/Cypress-Linux-WiFi-Driver-Release-FMAC-2024-11-21/td-p/902888
The specific firmware I tested is attached. There are other firmwares in the package from infineon. The only one I am able to check is the fmac43455 that is used on the RPi3b+,4B,5B. Upon boot, it identifies as:
Firmware: BCM4345/6 wl0: Oct 28 2024 23:27:00 version 7.45.286 (be70ab3 CY) FWID 01-95efe7faThere is still no up to date firmware with the external_auth fixes for the wifi chip on the Zero series and the 3b. The one on the latest Bookworm images appears to be the latest from Infineon:
Firmware: BCM43430/1 wl0: Jun 14 2023 07:27:45 version 7.45.96.s1 (gf031a129) FWID 01-70bd2af7 es7The patch for the kernel driver is a one line patch to the brcm80211 driver developed by Arend Van Spriel and is found in this chain:
https://lore.kernel.org/linux-wireless/CAG17S_OwtNxetb7XzsxkZcygH_CWkZx15evQZkThb3WjqpiKTQ@mail.gmail.com/
It was originally a patch for the upstream kernel. I adjusted it to the 6.6.y kernel tree and attach it here.
I have tried this firmware/kernel patch with wpa_supplicant (that is currently in the Bookwork image/update) on the RPi and it will connect to a WPA3 AP every time and collect a DHCP address and pass traffic.
The current git of iwd works with this kernel patch/firmware most of the time, but sometimes will not grab a DHCP address. A re-try to connect usually will grab a DHCP address. I am certain that this minor bug in iwd will be fixed shortly by the iwd team. The version that has the fix for this firmware/driver that I have tested is: iwd 3.3.r0.g4b535cee.
Please add this to the latest Pi installation and kernel to facilitate WPA3 capability for the 43455 chip.
brcm80211_wpa3.zip
cyfmac43455.zip
Gearhead
pelwell commentedon Dec 29, 2024
[I've fixed your URLs]
Does the patch depend on the updated firmware in order to work? If so, what feature or fix is included that makes the difference?
105 remaining items
brcmfmac: Fix structure size for WPA3 external SAE
brcmfmac: Fix structure size for WPA3 external SAE
bolleyboll commentedon Dec 22, 2025
Folks, is there a working solution to this problem at the moment for RPi3? Or is there a plan to fix this at the moment?
sciguy14 commentedon Mar 16, 2026
Any word on this? It looks like it was made to work on 6.6, but its broken for me on a 6.12 kernel, despite the logic mentioned in @gearhead 's patch being present. (43455 chip with .286 firmware and user-space SAE)
gearhead commentedon Mar 26, 2026
idk what is up with this on the 43455 and the 43430 chip, but feel it is probably on Cypress on the 43430 and they are not interested in keeping it up to date. It is eol, regardless of how many are in circulation. There has not been an update of the 43430 (RPi 3B and Zero2w) driver from Cypress in a long time.
It also seems that RPi does not always get the 'latest' firmware from Cypress in the image. It has been a while since I have checked to see how SAE is working on the 43455 with current kernels (6.12). I guess I should try it. I am pretty sure the 43430 is not working on kernels 6.6+ as there has not been an updated firmware for it when the 43455 was updated. THe last time I checked the 43455 worked with wpa_supplicant and the patch for iwd, but have not checked in a while. I just checked my pi4 and get this:
so it looks like the RPi team are still at 265 on the 43455 whereas the current is 7.45.286 from Cypress (last I checked).
brcmfmac: Fix structure size for WPA3 external SAE
brcmfmac: Fix structure size for WPA3 external SAE
brcmfmac: Fix structure size for WPA3 external SAE
brcmfmac: Fix structure size for WPA3 external SAE
ValdikSS commentedon Sep 7, 2026
Can anyone please test SAE support on the latest Raspberry OS (kernel 6.18) with 43455 (3B/4/5)?
I have Raspberry Pi 400, it has 43456 and seems to have never supported SAE.
#7610
Just want to check how
iw phy/wpa_cli get_capability key_mgmtoutput should look for 43455.pelwell commentedon Sep 10, 2026
On a Pi 5:
ValdikSS commentedon Sep 10, 2026
@pelwell no mention of SAE anywhere?
There's one caveat with key_mgmt:
wpa_supplicant creates key_mgmt from the chip's cipher list if the chip does not return key_mgmt. It's filled from the presets and miss for example WPA-EAP-SHA256 needed for WPA3-Enterprise. Most probably it will work even if it's not listed.
To detect whether key_mgmt you see is from chip or filled from the template, run
wpa_supplicant ... -d | grep 'supported key_mgmt'If you don't see this string in the output, this means the key_mgmt is filled from the template.
Could you also provide
wpa_cli get_capability auth_algsplease?UPD:
Device supports SAE with AUTHENTICATE command, I see.pelwell commentedon Sep 10, 2026
Does
Device supports SAE with AUTHENTICATE commandnot count?ValdikSS commentedon Sep 10, 2026
It's
auth_alg, sorry.pelwell commentedon Sep 10, 2026
(Whoomp!) There it is: