Wireless Daemon for Linux
 help / color / mirror / Atom feed
* [Request] iwd to support brcmfmac 'SAE with AUTHENTICATE'
@ 2024-08-04 17:08 KeithG
  2024-08-05 12:34 ` James Prestwood
  0 siblings, 1 reply; 13+ messages in thread
From: KeithG @ 2024-08-04 17:08 UTC (permalink / raw)
  To: iwd

I know brcmfmac is a pain to deal with on many fronts. The current
firmware installed by RPiOS in bookworm as of:

Linux 6.6.31+rpt-rpi-v8 RPiOS-bookworm aarch64 (64bit)

is:
[   65.894288] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6
wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID
01-996384e2
iwlist shows:
        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
                * [ DFS_OFFLOAD ]: DFS offload
                * [ SAE_OFFLOAD ]: SAE offload support
                * [ 4WAY_HANDSHAKE_AP_PSK ]: AP mode PSK offload support
                * [ SAE_OFFLOAD_AP ]: AP mode SAE authentication offload support

This driver does not seem to work with iwd nor wpa_supplicant to
connect to an SAE3-Personal network. To get it to work with
wpa_supplicant, I had to follow the instructions in this link:
https://github.com/raspberrypi/linux/pull/5945
It shows that it has been merged into the kernel. The new firmware
forces SAE authentication to the AUTHENTICATE command, apparently.

[   65.764656] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6
wl0: Aug 29 2023 01:47:08 version 7.45.265 (28bca26 CY) FWID
01-b677b91b
iwlist shows:
...
 Device supports SAE with AUTHENTICATE command
...
        Supported extended features:
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ DFS_OFFLOAD ]: DFS offload

With this driver and the latest wpa_supplicant (built from git), I can
connect to an SAE3/Personal AP.

I am not a dev but can build and test stuff on my setup. As I
understand it, since the new brcmfmac firmware requires the SAE
authentication to be done outside of the kernel and that iwd does not
yet support this functionality.
Is there anything I can do to support the addition of this
functionality to iwd? We develop on the RPi and we are stuck with the
brcmfmac cards and use connman/iwd for our connectivity.

Keith

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-09-05 14:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-04 17:08 [Request] iwd to support brcmfmac 'SAE with AUTHENTICATE' KeithG
2024-08-05 12:34 ` James Prestwood
2024-08-05 13:56   ` Denis Kenzior
2024-08-11 14:35     ` KeithG
2024-08-11 19:38       ` Denis Kenzior
2024-08-12  1:19         ` KeithG
2024-08-12 11:36           ` James Prestwood
2024-08-17 20:49             ` KeithG
2024-08-17 22:03               ` KeithG
2024-08-17 23:36                 ` KeithG
2024-08-30 16:37             ` Any recent wifi certifications with IWD? Bryce Johnson
2024-09-04 18:59               ` James Prestwood
2024-09-05 14:26                 ` Bryce Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox