summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-09-30 12:02:56 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-10-05 15:18:04 +0200
commit743c052c1979560d3ddca312ef084715120e17c8 (patch)
treeabb52aa68fd8589f4712dc696e6d9dea909d0e69 /include/uapi/linux
parent6832075ed4efdab62f9c7f4889496151624387ec (diff)
downloadlinux-next-743c052c1979560d3ddca312ef084715120e17c8.tar.gz
linux-next-743c052c1979560d3ddca312ef084715120e17c8.zip
wifi: cfg80211: add protected TWT assoc flag
Protected TWT support is indicated in RSNX, but RSNX may be used from security profile now, and not be present in the association response frame, so the logic in mac80211 to determine it doesn't/won't really work. Add a flag for wpa_supplicant to indicate if protected TWT is supported in the association, it can easily check this based on the RSNX data that was used. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20260930120021.1eb6760356f2.Ie4962eaca97be29c7f08043d615534c7aeb3f370@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nl80211.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 75d4c5d6a7a3..7dae0860a1b8 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -3228,6 +3228,9 @@ enum nl80211_commands {
* @NL80211_ATTR_CIP_CAPABILITIES: The Control Integrity Protocol for the
* station.
*
+ * @NL80211_ATTR_ASSOC_PROTECTED_TWT: Enable protected TWT for the association,
+ * requires protected TWT support (flag attribute)
+ *
* @NUM_NL80211_ATTR: total number of nl80211_attrs available
* @NL80211_ATTR_MAX: highest attribute number currently defined
* @__NL80211_ATTR_AFTER_LAST: internal use
@@ -3833,6 +3836,8 @@ enum nl80211_attrs {
NL80211_ATTR_ASSOC_CIP,
NL80211_ATTR_CIP_CAPABILITIES,
+ NL80211_ATTR_ASSOC_PROTECTED_TWT,
+
/* add attributes here, update the policy in nl80211.c */
__NL80211_ATTR_AFTER_LAST,