Skip to contentSkip to conversation

brcmfmac: Add WPA3 Personal with FT to supported cipher suites

PATCH Superseded Paweł Drewniak 2 participants 2 messages Jul 23, 2021 – Aug 21, 2021 Broadcom BRCM80211 IEEE802.11 wireless drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 brcmfmac: Add WPA3 Personal with FT to supported cipher suites

This allows the driver to connect to BSSIDs supporting SAE with 802.11r. Tested on Raspberry Pi 4 Model B (STA) and UniFi 6LR/OpenWRT 21.02.0-rc2. AP was set to 'sae-mixed' (WPA2/3 Personal).

---
 .../net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c   | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +8 -0
index cedba56fc448..f7b96cd69242 100644
@@ -1829,6 +1829,14 @@ brcmf_set_key_mgmt(struct net_device *ndev, struct cfg80211_connect_params *sme)
                                profile->use_fwsup = BRCMF_PROFILE_FWSUP_SAE;
                        }
                        break;
+               case WLAN_AKM_SUITE_FT_OVER_SAE:
+                       val = WPA3_AUTH_SAE_PSK | WPA2_AUTH_FT;
+                       profile->is_ft = true;
+                       if (sme->crypto.sae_pwd) {
+                               brcmf_dbg(INFO, "using SAE offload\n");
+                               profile->use_fwsup = BRCMF_PROFILE_FWSUP_SAE;
+                       }
+                       break;
                default:
                        bphy_err(drvr, "invalid cipher group (%d)\n",
                                 sme->crypto.cipher_group);
Signature · 1 line
2.30.2
#1 lore raw
Quoted 5 lines · Paweł Drewniak

This allows the driver to connect to BSSIDs supporting SAE with 802.11r. Tested on Raspberry Pi 4 Model B (STA) and UniFi 6LR/OpenWRT 21.02.0-rc2. AP was set to 'sae-mixed' (WPA2/3 Personal).

Failed to apply, please rebase on top of wireless-drivers-next.

error: patch failed: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:1829
error: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: patch does not apply
error: Did you hand edit your patch?
It does not apply to blobs recorded in its index.
hint: Use 'git am --show-current-patch' to see the failed patch
Applying: brcmfmac: Add WPA3 Personal with FT to supported cipher suites Using index info to reconstruct a base tree...
Patch failed at 0001 brcmfmac: Add WPA3 Personal with FT to supported cipher suites

Patch set to Changes Requested.

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches