summaryrefslogtreecommitdiffstats
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-07 22:40:44 +0200
committerJohannes Berg <johannes.berg@intel.com>2017-02-08 10:06:24 +0100
commit66cd794e3c30b8af3b6befe42a378557efb3114a (patch)
tree634b463fb269ac3142f2e297350c685e03a20163 /include/linux/ieee80211.h
parenta4956dca0764569640374ae1afb8be54a23201b8 (diff)
downloadop-kernel-dev-66cd794e3c30b8af3b6befe42a378557efb3114a.zip
op-kernel-dev-66cd794e3c30b8af3b6befe42a378557efb3114a.tar.gz
nl80211: add HT/VHT capabilities to AP parameters
For the benefit of drivers that rebuild IEs in firmware, parse the IEs for HT/VHT capabilities and the respective membership selector in the (extended) supported rates. This avoids duplicating the same code into all drivers that need this information. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 02768de..0dd9498 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1043,8 +1043,9 @@ struct ieee80211_mgmt {
} u;
} __packed __aligned(2);
-/* Supported Rates value encodings in 802.11n-2009 7.3.2.2 */
+/* Supported rates membership selectors */
#define BSS_MEMBERSHIP_SELECTOR_HT_PHY 127
+#define BSS_MEMBERSHIP_SELECTOR_VHT_PHY 126
/* mgmt header + 1 byte category code */
#define IEEE80211_MIN_ACTION_SIZE offsetof(struct ieee80211_mgmt, u.action.u)
OpenPOWER on IntegriCloud