Skip to content

brcmfmac: Add sae_ext WPA3 support - #5945

Merged
pelwell merged 3 commits into
raspberrypi:rpi-6.6.yfrom
pelwell:wpa3_sae_ext
Feb 15, 2024
Merged

pelwell merged 3 commits into
raspberrypi:rpi-6.6.yfrom
pelwell:wpa3_sae_ext

Conversation

@pelwell

@pelwell pelwell commented Feb 12, 2024

Copy link
Copy Markdown
Contributor

This is a minimal set of patches to add WPA3 support to WLAN firmwares with the sae_ext (*) feature, that works with wpa_supplicant. A compatible firmware can be download from this Cypress release package: https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2023-09-01/td-p/492862

For convenience you can download it directly from here: https://drive.google.com/file/d/13u_Ipf6yUATl38HyVNiHG3H2BVxCzfkB/view?usp=drive_link

It is suitable for use on Pi 5, Pi 4 and CM4. Install it by coping to /etc/firmware/cypress/cyfmac43455-sdio-standard.bin.

(*) This appears to be different from extsae, as used by Synaptics, which isn't supported here yet, although both appear as extsae in the firmware version. It's necessary to run strings on the firmware and grep for sae_ext to be sure. And obviously, both are different to the in-firmware WPA3 support provided by the sae feature, but which only works with iwd.

praveenCY and others added 3 commits February 12, 2024 15:04
In deep sleep mode (DS1) ARM is off and once exit trigger comes than
mailbox Interrupt comes to host and whole reinitiation should be done
in the ARM to start TX/RX.

Also fix below issus for DS1 exit:
1. Sent Tx Control frame only after firmware redownload complete (check
F2 Ready before sending Tx Control frame to Firmware)
2. intermittent High DS1 TX Exit latency time (almost 3sec) ==> This is
fixed by skipping host Mailbox interrupt Multiple times (ulp state
mechanism)
3. RX GlOM save/restore in Firmware
4. Add ULP event enable & event_msgs_ext iovar configuration in FMAC
5. Add ULP_EVENT_RECV state machine for sbwad support
6. Support 2 Byte Shared memory read for DS1 Exit HUDI implementation

Signed-off-by: Praveen Babu C <pucn@cypress.com>
Signed-off-by: Naveen Gupta <nagu@cypress.com>
[Merge from 4.14.77 to 5.4.18; set BRCMF_SDIO_MAX_ACCESS_ERRORS to 20]
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
JIRA: SWWLAN-135583
JIRA: SWWLAN-136577
1. If firmware supports 4-way handshake offload but not supports DPP
4-way offload, when user first connects encryption network, driver will
set "sup_wpa 1" to firmware, but it will further result in DPP
connection failure since firmware won't send EAPOL frame to host.

2. Fix DPP AP mode handling action frames.

3. For some firmware without fwsup support, the join procedure will be
skipped due to "sup_wpa" iovar returning not-support. Check the fwsup
feature before do such iovar.

Signed-off-by: Kurt Lee <kurt.lee@cypress.com>
Signed-off-by: Double Lo <double.lo@cypress.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
Firmware has SME functionality but would like the userspace to handle
SAE authentication. This patch adds support for such an external SAE
authentication mechanism in station mode.

Signed-off-by: Chung-Hsien Hsu <chung-hsien.hsu@infineon.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@infineon.com>
@pelwell

pelwell commented Feb 12, 2024

Copy link
Copy Markdown
Contributor Author

You can install a beta kernel (6.6) containing this patch by running sudo rpi-update pulls/5945. Back up any important data, or clone your SD card, first - just in case...

@pelwell
pelwell merged commit 8c590ad into raspberrypi:rpi-6.6.y Feb 15, 2024
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 19, 2024
kernel: vc4/hvs: Fix lbm size calculation for yuv
See: raspberrypi/linux#5963

kernel: Set PCIe QOS chicken bits for 2712D0
See: raspberrypi/linux#5955

kernel: Add support for VEML6075 and HTS221 in i2c-sensor overlay
See: raspberrypi/linux#5965

kernel: Adding Support for interlude audio Hats
See: raspberrypi/linux#5949

kernel: brcmfmac: Add sae_ext WPA3 support
See: raspberrypi/linux#5945

kernel: arm: dt: bcm2712: Reduce DDC frequency to 97.5kHz from 200kHz
See: raspberrypi/linux#5954

kernel: ARM: dts: Add CM5 DTS support
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Feb 19, 2024
kernel: vc4/hvs: Fix lbm size calculation for yuv
See: raspberrypi/linux#5963

kernel: Set PCIe QOS chicken bits for 2712D0
See: raspberrypi/linux#5955

kernel: Add support for VEML6075 and HTS221 in i2c-sensor overlay
See: raspberrypi/linux#5965

kernel: Adding Support for interlude audio Hats
See: raspberrypi/linux#5949

kernel: brcmfmac: Add sae_ext WPA3 support
See: raspberrypi/linux#5945

kernel: arm: dt: bcm2712: Reduce DDC frequency to 97.5kHz from 200kHz
See: raspberrypi/linux#5954

kernel: ARM: dts: Add CM5 DTS support
@AdvancedDogPlopThrower

AdvancedDogPlopThrower commented Apr 23, 2024 •

Copy link
Copy Markdown

I needed to copy the firmware to /lib/firmware/cypress/cyfmac43455-sdio-standard.bin (not /etc/firmware/cypress/)
Then it works using Network Manager

NB Security must be set to "WPA3 Personal" and NOT "WPA/WPA2/WPA3 Personal"
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants