aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2012-12-18 02:55:33 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 07:01:15 -0500
commit0f6dfcee2e081f47a3e97cb8984fb4d62217e6f7 (patch)
tree495026a76ffe6db1fef1a7055bb94e04daf216ca /include
parenta357d7f9855e3002d6aaaea5c40dd1ac02b78de7 (diff)
wireless: more 'capability info' bits
define bits for 'capability info', as in recent spec edition IEEE802.11-2012 Also, add mask for 2-bit field 'bss type', as it is in 802.11ad Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index f0859cc73861..09879eb24380 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1311,16 +1311,21 @@ struct ieee80211_vht_operation {
1311#define WLAN_CAPABILITY_SPECTRUM_MGMT (1<<8) 1311#define WLAN_CAPABILITY_SPECTRUM_MGMT (1<<8)
1312#define WLAN_CAPABILITY_QOS (1<<9) 1312#define WLAN_CAPABILITY_QOS (1<<9)
1313#define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10) 1313#define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10)
1314#define WLAN_CAPABILITY_APSD (1<<11)
1315#define WLAN_CAPABILITY_RADIO_MEASURE (1<<12)
1314#define WLAN_CAPABILITY_DSSS_OFDM (1<<13) 1316#define WLAN_CAPABILITY_DSSS_OFDM (1<<13)
1317#define WLAN_CAPABILITY_DEL_BACK (1<<14)
1318#define WLAN_CAPABILITY_IMM_BACK (1<<15)
1315 1319
1316/* DMG (60gHz) 802.11ad */ 1320/* DMG (60gHz) 802.11ad */
1317/* type - bits 0..1 */ 1321/* type - bits 0..1 */
1322#define WLAN_CAPABILITY_DMG_TYPE_MASK (3<<0)
1318#define WLAN_CAPABILITY_DMG_TYPE_IBSS (1<<0) /* Tx by: STA */ 1323#define WLAN_CAPABILITY_DMG_TYPE_IBSS (1<<0) /* Tx by: STA */
1319#define WLAN_CAPABILITY_DMG_TYPE_PBSS (2<<0) /* Tx by: PCP */ 1324#define WLAN_CAPABILITY_DMG_TYPE_PBSS (2<<0) /* Tx by: PCP */
1320#define WLAN_CAPABILITY_DMG_TYPE_AP (3<<0) /* Tx by: AP */ 1325#define WLAN_CAPABILITY_DMG_TYPE_AP (3<<0) /* Tx by: AP */
1321 1326
1322#define WLAN_CAPABILITY_DMG_CBAP_ONLY (1<<2) 1327#define WLAN_CAPABILITY_DMG_CBAP_ONLY (1<<2)
1323#define WLAN_CAPABILITY_DMG_CBAP_SOURCE (1<<3) 1328#define WLAN_CAPABILITY_DMG_CBAP_SOURCE (1<<3)
1324#define WLAN_CAPABILITY_DMG_PRIVACY (1<<4) 1329#define WLAN_CAPABILITY_DMG_PRIVACY (1<<4)
1325#define WLAN_CAPABILITY_DMG_ECPAC (1<<5) 1330#define WLAN_CAPABILITY_DMG_ECPAC (1<<5)
1326 1331