summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-15 15:02:10 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-03-06 09:21:46 +0100
commit75b99bc300463e65f87c90425704c2688489f963 (patch)
treefb52d9ac2bb894d59dcf9544788edbd831044370 /include/linux
parent7f406cd16a0f0965c761ea02bc1f03154b06bbfb (diff)
downloadlinux-75b99bc300463e65f87c90425704c2688489f963.tar.gz
linux-75b99bc300463e65f87c90425704c2688489f963.tar.bz2
linux-75b99bc300463e65f87c90425704c2688489f963.zip
ieee80211: define HT operation CCFS2 field
The Channel Center Frequency Segment 2 field is used in 802.11-2016 for encoding the actual channel position of the 80+80/160 MHz channel, if the max NSS is restricted. This is used for backwards compatibility. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ieee80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index e167a262d3b0..22bf0676d928 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1411,6 +1411,8 @@ struct ieee80211_ht_operation {
#define IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED 3
#define IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT 0x0004
#define IEEE80211_HT_OP_MODE_NON_HT_STA_PRSNT 0x0010
+#define IEEE80211_HT_OP_MODE_CCFS2_SHIFT 5
+#define IEEE80211_HT_OP_MODE_CCFS2_MASK 0x1fe0
/* for stbc_param */
#define IEEE80211_HT_STBC_PARAM_DUAL_BEACON 0x0040