brcmfmac: Fix interoperating DPP and other encryption network access
authorKurt Lee <kurt.lee@cypress.com>
Thu, 20 Aug 2020 08:07:02 +0000 (03:07 -0500)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:38 +0000 (11:35 +0000)
commit7d239fbf9d47f7160e6f44097d217fa89b9d0ebf
tree900bc4bf96057ac56d696a83f7105213ff2b126f
parenta7b3708f60422dbff7b40ed95eb22b4d7bdc5e0d
brcmfmac: Fix interoperating DPP and other encryption network access

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>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c