ieee80211.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
14 #ifndef __IEEE80211
15 #define __IEEE80211
16 
17 /* 802.11n HT capability AMPDU settings (for ampdu_params_info) */
18 #define IEEE80211_HT_AMPDU_PARM_FACTOR 0x03
19 #define IEEE80211_HT_AMPDU_PARM_DENSITY 0x1C
20 
21 #define IEEE80211_HT_CAP_SUP_WIDTH_20_40 0x0002
22 #define IEEE80211_HT_CAP_SGI_40 0x0040
23 #define IEEE80211_HT_CAP_MAX_AMSDU 0x0800
24 
25 #define IEEE80211_HT_MCS_MASK_LEN 10
26 
38  __u16 rx_highest;
39  __u8 tx_params;
40  __u8 reserved[3];
41 } __attribute__ ((packed));
42 
43 
51  __u16 cap_info;
53 
54  /* 16 bytes MCS information */
56 
60 } __attribute__ ((packed));
61 
62 #endif /* __IEEE80211 */
__u8 ampdu_params_info
Definition: ieee80211.h:52
__u8 rx_mask[IEEE80211_HT_MCS_MASK_LEN]
Definition: ieee80211.h:37
__u8 reserved[3]
Definition: ieee80211.h:40
#define IEEE80211_HT_MCS_MASK_LEN
Definition: ieee80211.h:25
struct ieee80211_mcs_info __attribute__((packed))
__u8 antenna_selection_info
Definition: ieee80211.h:59
__u32 tx_BF_cap_info
Definition: ieee80211.h:58
__u16 extended_ht_cap_info
Definition: ieee80211.h:57
struct ieee80211_mcs_info mcs
Definition: ieee80211.h:216