]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: cfg80211: add feature flag for (re)association frame encryption
authorAiny Kumari <ainy.kumari@oss.qualcomm.com>
Wed, 14 Jan 2026 11:18:53 +0000 (16:48 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jan 2026 13:34:15 +0000 (14:34 +0100)
Introduce an extended feature flag that allows drivers to signal
support for encryption of (Re)Association Request and Response frames
in both non-AP STA and AP mode, as specified in specification
"IEEE P802.11bi/D3.0, 12.16.6".

Signed-off-by: Ainy Kumari <ainy.kumari@oss.qualcomm.com>
Signed-off-by: Kavita Kavita <kavita.kavita@oss.qualcomm.com>
Link: https://patch.msgid.link/20260114111900.2196941-3-kavita.kavita@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h

index 351d4d176f87d6b176ee8ad9a49c60038580ba48..60573334e086954457b02adf79fe1b745680e9bd 100644 (file)
@@ -6754,6 +6754,11 @@ enum nl80211_feature_flags {
  *     Key Exchange (EPPKE) with user space SME (NL80211_CMD_AUTHENTICATE)
  *     in non-AP STA mode.
  *
+ * @NL80211_EXT_FEATURE_ASSOC_FRAME_ENCRYPTION: This specifies that the
+ *     driver supports encryption of (Re)Association Request and Response
+ *     frames in both non‑AP STA and AP mode as specified in
+ *     "IEEE P802.11bi/D3.0, 12.16.6".
+ *
  * @NUM_NL80211_EXT_FEATURES: number of extended features.
  * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
  */
@@ -6831,6 +6836,7 @@ enum nl80211_ext_feature_index {
        NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT,
        NL80211_EXT_FEATURE_BEACON_RATE_EHT,
        NL80211_EXT_FEATURE_EPPKE,
+       NL80211_EXT_FEATURE_ASSOC_FRAME_ENCRYPTION,
 
        /* add new features before the definition below */
        NUM_NL80211_EXT_FEATURES,