Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH ath-next 0/3] wifi: wcn36xx: enable MFP (802.11w) support
@ 2026-11-28 23:31 Vladimir Bely
  2026-11-28 23:31 ` [PATCH ath-next 1/3] wifi: wcn36xx: set RX decryption flags only on encrypted data frames Vladimir Bely
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vladimir Bely @ 2026-11-28 23:31 UTC (permalink / raw)
  To: Loic Poulain, Jeff Johnson
  Cc: wcn36xx, linux-wireless, linux-kernel, Vladimir Bely

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-28 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 23:31 [PATCH ath-next 0/3] wifi: wcn36xx: enable MFP (802.11w) support Vladimir Bely
2026-11-28 23:31 ` [PATCH ath-next 1/3] wifi: wcn36xx: set RX decryption flags only on encrypted data frames Vladimir Bely
2026-11-28 23:31 ` [PATCH ath-next 2/3] wifi: wcn36xx: track WoWLAN GTK offload validity and skip with MFP Vladimir Bely
2026-11-28 23:31 ` [PATCH ath-next 3/3] wifi: wcn36xx: enable MFP (802.11w) support Vladimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox