linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nl80211: Indicate SA Query procedures offload for AP SME device
@ 2021-10-14 11:18 Veerendranath Jakkam
  2021-10-21 15:32 ` Johannes Berg
  2021-11-26  7:25 ` [PATCH 1/2] nl80211: Add support to set AP settings flags with single attribute Veerendranath Jakkam
  0 siblings, 2 replies; 9+ messages in thread
From: Veerendranath Jakkam @ 2021-10-14 11:18 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless

Add AP SME device feature flag to advertise that the SA Query procedures
are handled in driver.

If this flag is advertised SA Query request or response frames from peers
are not reported to userspace. Thus userspace components shall skip SA
Query specific validations.

Ex: When AP started with Operating Channel Validation(OCV) support and
channel switch occurs, hostapd starts SA Query timer for OCV enabled
STAs. Hostapd sends deauth to the STAs which didn't send SA Query
request before timeout, Hostapd can skip such validations when this flag
advertised.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
---
 include/uapi/linux/nl80211.h | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index eda608b..99746aa 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -5735,13 +5735,17 @@ enum nl80211_tdls_operation {
 	NL80211_TDLS_DISABLE_LINK,
 };
 
-/*
+/**
  * enum nl80211_ap_sme_features - device-integrated AP features
- * Reserved for future use, no bits are defined in
- * NL80211_ATTR_DEVICE_AP_SME yet.
+ * @NL80211_DEVICE_AP_SME_SA_QUERY_OFFLOAD: Driver handles SA Query procedures.
+ *	If this flag is advertised by the driver, SA Query request/response
+ *	frames are handled within the driver and won't be reported to userspace.
+ *	Userspace shall skip SA Query specific validations if the driver is
+ *	advertizing this capability.
+ */
 enum nl80211_ap_sme_features {
+	NL80211_DEVICE_AP_SME_SA_QUERY_OFFLOAD		= 1 << 0,
 };
- */
 
 /**
  * enum nl80211_feature_flags - device/driver features
-- 
2.7.4


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

end of thread, other threads:[~2021-11-26  7:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14 11:18 [PATCH] nl80211: Indicate SA Query procedures offload for AP SME device Veerendranath Jakkam
2021-10-21 15:32 ` Johannes Berg
2021-10-22 13:26   ` vjakkam
2021-10-22 13:29     ` Johannes Berg
2021-10-25  8:27       ` vjakkam
2021-10-25  8:28         ` Johannes Berg
2021-11-22  6:11           ` vjakkam
2021-11-26  7:25 ` [PATCH 1/2] nl80211: Add support to set AP settings flags with single attribute Veerendranath Jakkam
2021-11-26  7:25   ` [PATCH 2/2] nl80211: Add support to offload SA Query procedures for AP SME device Veerendranath Jakkam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).