ieee80211: define HT operation CCFS2 field
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Feb 2017 14:02:10 +0000 (15:02 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 5 Nov 2017 17:09:58 +0000 (18:09 +0100)
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h

index 87867d8ef7143773befffda24eb7f573ca2479da..7ec6129e749ac8750a41130dc74dbd0cae4e26e9 100644 (file)
@@ -1430,6 +1430,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