[PATCH ath-next 0/3] wifi: wcn36xx: enable MFP (802.11w) support

From: Vladimir Bely

Date: Sat Nov 28 2026 - 18:32:10 EST


This series enables IEEE 802.11w Management Frame Protection (MFP) on
wcn36xx, allowing stations to connect to WPA3-SAE, OWE, and
WPA2-PSK-SHA256 (MFPR) networks.

Protected management frames (unicast CCMP and broadcast BIP) are
handled in software by mac80211 while data frames remain hardware-
offloaded on the WCNSS DPU, matching the approach used by ath9k,
ath5k, carl9170, and rtl8xxxu.

Patch 1 fixes wcn36xx_rx_skb() so RX_FLAG_DECRYPTED/IV_STRIPPED/
MMIC_STRIPPED are only set on hardware-decrypted data frames rather
than unconditionally on management and unencrypted EAPOL frames.

Patch 2 tracks vif_priv->rekey_data.valid properly across disconnect
and suspend/resume, and avoids enabling firmware WoWLAN GTK offload
when MFP is active (where IGTK is managed in software by mac80211).

Patch 3 advertises IEEE80211_HW_MFP_CAPABLE and the BIP cipher suites,
returns -EOPNOTSUPP cleanly for BIP keys, and sets
IEEE80211_KEY_FLAG_SW_MGMT_TX on CCMP keys.

Tested on Samsung Galaxy A3 (SM-A300F, MSM8916, WCN3620, firmware
CNSS-PR-2-0-1-c8-00048) with Open, OWE, WPA2-PSK-TKIP, WPA2-PSK-CCMP,
WPA2-PSK-SHA256+MFPR, WPA2/WPA3-Transition (both PSK and SAE), and
WPA3-SAE/SAE-EXT-KEY networks, including encrypted TX/RX Deauth,
encrypted AddBA Action frames, and broadcast BIP Deauth.

Vladimir Bely (3):
wifi: wcn36xx: set RX decryption flags only on encrypted data frames
wifi: wcn36xx: track WoWLAN GTK offload validity and skip with MFP
wifi: wcn36xx: enable MFP (802.11w) support

drivers/net/wireless/ath/wcn36xx/main.c | 49 ++++++++++++++++++++++---
drivers/net/wireless/ath/wcn36xx/txrx.c | 8 ++--
2 files changed, 49 insertions(+), 8 deletions(-)


base-commit: 18d0bedbb5f0538396cb7f763ed9cd1dd69c5b23
--
2.43.0