summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVamsi Krishna <vamsin@codeaurora.org>2021-03-02 20:20:36 +0530
committerJohannes Berg <johannes.berg@intel.com>2021-04-08 13:07:02 +0200
commitd84d13d6f6e03a7aaac9e7d064a11cf6f5087da6 (patch)
tree71b73f1d60c3dc1842ab68b08f1ca7585a6b92e7
parent6f779a66dc84450ceb4825024d3e337f42e633de (diff)
downloadlinux-stable-d84d13d6f6e03a7aaac9e7d064a11cf6f5087da6.tar.gz
linux-stable-d84d13d6f6e03a7aaac9e7d064a11cf6f5087da6.tar.bz2
linux-stable-d84d13d6f6e03a7aaac9e7d064a11cf6f5087da6.zip
nl80211: Add interface to indicate TDLS peer's HE capability
Enhance enum nl80211_tdls_peer_capability to configure TDLS peer's support for HE mode. Userspace decodes the TDLS setup response frame and confugures the HE mode support to driver if the peer has advertized HE mode support in TDLS setup response frame. The driver uses this information to decide whether to include HE operation IE in TDLS setup confirmation frame. Signed-off-by: Vamsi Krishna <vamsin@codeaurora.org> Link: https://lore.kernel.org/r/1614696636-30144-1-git-send-email-vamsin@codeaurora.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--include/uapi/linux/nl80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 5e30c7f6c484..18dfe744bcb5 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -6298,11 +6298,13 @@ struct nl80211_vendor_cmd_info {
* @NL80211_TDLS_PEER_HT: TDLS peer is HT capable.
* @NL80211_TDLS_PEER_VHT: TDLS peer is VHT capable.
* @NL80211_TDLS_PEER_WMM: TDLS peer is WMM capable.
+ * @NL80211_TDLS_PEER_HE: TDLS peer is HE capable.
*/
enum nl80211_tdls_peer_capability {
NL80211_TDLS_PEER_HT = 1<<0,
NL80211_TDLS_PEER_VHT = 1<<1,
NL80211_TDLS_PEER_WMM = 1<<2,
+ NL80211_TDLS_PEER_HE = 1<<3,
};
/**