On 11/24/2022 1:54 PM, Andy Green wrote:
[ 17.202348] brcmfmac: brcmf_escan_prep ### List of SSIDs to scan ### 1 [ 17.202350] brcmfmac: brcmf_escan_prep 0: Broadcast scan[ 17.202352] brcmfmac: brcmf_fil_iovar_data_set ifidx=0, name=escan, len=180 [ 17.204223] brcmfmac: brcmf_fil_cmd_data Firmware error: BCME_VERSION (-37) root@inmusic-az04-mpc:~# [ 44.202645] ieee80211 phy0: brcmf_run_escan: error (-52)[ 44.202649] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
The root cause is easy. Basically the brcmfmac driver is not on par with the firmware. brcmfmac uses escan api version 1 and firmware expects version 2. Fixing it is going to be more difficult. Things start to diverge on firmware API level. I already had a patch on the shelf supporting version 2, but it does not match the API your firmware expects.
I was working on supporting multiple vendors, but I need some rework. The scanning issue confirms the need for per-vendor support. Hopefully I can spend some time on it.
Regards, Arend
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature