All of lore.kernel.org
 help / color / mirror / Atom feed
* SAE offload on brcmfmac (BCM4345)
@ 2021-03-04 19:29 James Prestwood
  2021-03-15 17:46 ` James Prestwood
  0 siblings, 1 reply; 3+ messages in thread
From: James Prestwood @ 2021-03-04 19:29 UTC (permalink / raw)
  To: linux-wireless

Hi,

I am trying to get SAE offload support on a BCM4345 (raspberry pi B+).
From what I can tell it appears the Cypress firmware is not enabling
the right bits. It looks like the brcmfmac driver has all the code to
enable the extended feature. Here is what I have done so far:

Cloned raspi linux kernel v5.4

Downloaded latest Cypress firmware:
https://community.cypress.com/t5/Resource-Library/Cypress-Linux-WiFi-Driver-Release-FMAC-2020-09-25/ta-p/251089

Applied the patches from above. Note not *all* the patches applied
(could be due to already upstreamed), but most did. I did have to fix
an include issue so brcmfmac/cfg80211.c could reference
LINUX_CODE_VERSION/LINUX_VERSION.

Built new kernel/installed etc.

After that everything built, and I do see SAE offload source code which
sets the ext feature if BRCMF_FEAT_SAE is enabled.

I see my new kernel here:

Linux raspberrypi 5.4.83-v7+ #2 SMP Thu Mar 4 10:54:16 PST 2021 armv7l
GNU/Linux

and dmesg shows the new firmware loading:

[    7.315275] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.337608] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.338104] usbcore: registered new interface driver brcmfmac
[    7.606184] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.616186] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6
wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-
88ee44ea

Yet iw does not have SAE_OFFLOAD set as an extended feature:

Supported extended features:
	* [ 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

Thanks,
James


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

end of thread, other threads:[~2021-03-15 19:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 19:29 SAE offload on brcmfmac (BCM4345) James Prestwood
2021-03-15 17:46 ` James Prestwood
2021-03-15 19:25   ` Alvin Šipraga

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.