mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vladimir Bely <vlwwwwww@gmail.com>
To: Loic Poulain <loic.poulain@oss.qualcomm.com>,
	Jeff Johnson <jjohnson@kernel.org>
Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org,
	linux-kernel@vger.kernel.org, Vladimir Bely <vlwwwwww@gmail.com>
Subject: [PATCH ath-next 0/3] wifi: wcn36xx: enable MFP (802.11w) support
Date: Sun, 29 Nov 2026 02:31:54 +0300	[thread overview]
Message-ID: <20261128233157.966718-1-vlwwwwww@gmail.com> (raw)

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


             reply	other threads:[~2026-11-28 23:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 23:31 Vladimir Bely [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128233157.966718-1-vlwwwwww@gmail.com \
    --to=vlwwwwww@gmail.com \
    --cc=jjohnson@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=wcn36xx@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®