Search Linux Wireless

Re: SAE offload on brcmfmac (BCM4345)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi James,

On 3/15/21 6:46 PM, James Prestwood wrote:
> Maybe a simpler question: What brcmfmac cards *do* support SAE offload?

First of all, SAE offload support is technically a function of both 
firmware AND chip, but the chip only matters in this equation because 
some chips don't have enough memory to support the SAE offload 
functionality of the firmware. If a firmware build string (strings 
fwname.bin | grep Version) contains sae, idsup, and idauth, then it 
really should advertise that capability back to the driver. The vendor 
will not build a firmware with the sae capability if the target chipset 
doesn't have enough memory to support it.

> So far I have tried:
> 
> BCM4345 (raspberry pi 3 B+)

Quick note: according to the datasheet[1, p.18], the RPi 3B+ has a 
CYW43455 (note the extra 5). Easily confused with the BCM4345, but 
actually a completely different chip.

Please double check that you are using the correct firmware, because I 
can see that the version string you quoted in your original email:

>> [    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

seems not to agree with the version string in the latest Cypress FMAC 
release you linked in the same email:

.../5.4.18-2020_0925/firmware $ strings cyfmac43455-sdio.bin | grep Version
43455c0-roml/43455_sdio-pno-aoe-pktfilter-pktctx-wfds-mfp-dfsradar-wowlpf-idsup-idauth-noclminc-clm_min-obss-obssdump-swdiv-gtkoe-roamprof-txbf-ve-sae-dpp-sr-okc-bpd 
Version: 7.45.221 (3a6d3a0 CY) CRC: 8f977704 Date: Fri 2020-09-18 
02:30:48 PDT Ucode Ver: 1043.2156 FWID 01-bbd9282b

Also make sure that the target firmware is appropriately named:

- the mainline driver expects the firmware to be at 
/lib/firmware/brcm/brcmfmac43455-sdio.bin
- the Cypress backports driver expects the firmware to be at 
/lib/firmware/cypress/cyfmac43455-sdio.bin

If you use the latest firmware release then it should advertise SAE 
support. But I don't have the appropriate hardware to check for myself, 
so the emphasis is on 'should'.

[1] 
https://www.raspberrypi.org/documentation/hardware/computemodule/datasheets/rpi_DATA_CM3plus_1p0.pdf

> BCM43602
> BCM43242
> 
> The last two are quite old (fw dated 2013/2015) so I wouldn't expect
> those to work. According to the documentation the BCM4345 should
> support SAE offload, but me and several others have tried checking the
> extended features and it is not enabled.

Right, those chips are far too old to support SAE offload due to memory 
limitations.

Other Cypress chipsets which should support SAE offload:

CYW43455 (mentioned above)
CYW4373
CYW43012
CYW54591
CYW4343W
CYW4354 (parent of CYW43455)
CYW4356

Firmwares from the aforementioned Cypress FMAC release which should 
support SAE offload:

cyfmac43012-sdio.bin
cyfmac43430-sdio.bin
cyfmac43455-sdio.bin
cyfmac4373-sdio.bin
cyfmac4373-usb.bin
cyfmac54591-pcie.bin

Kind regards,
Alvin




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux