4 /* 802.11n HT capability AMPDU settings (for ampdu_params_info) */
5 #define IEEE80211_HT_AMPDU_PARM_FACTOR 0x03
6 #define IEEE80211_HT_AMPDU_PARM_DENSITY 0x1C
8 #define IEEE80211_HT_CAP_SUP_WIDTH_20_40 0x0002
9 #define IEEE80211_HT_CAP_SGI_40 0x0040
10 #define IEEE80211_HT_CAP_MAX_AMSDU 0x0800
12 #define IEEE80211_HT_MCS_MASK_LEN 10
15 * struct ieee80211_mcs_info - MCS information
17 * @rx_highest: highest supported RX rate. If set represents
18 * the highest supported RX data rate in units of 1 Mbps.
19 * If this field is 0 this value should not be used to
20 * consider the highest RX data rate supported.
21 * @tx_params: TX parameters
23 struct ieee80211_mcs_info
{
24 __u8 rx_mask
[IEEE80211_HT_MCS_MASK_LEN
];
28 } __attribute__ ((packed
));
32 * struct ieee80211_ht_cap - HT capabilities
34 * This structure is the "HT capabilities element" as
35 * described in 802.11n D5.0 7.3.2.57
37 struct ieee80211_ht_cap
{
39 __u8 ampdu_params_info
;
41 /* 16 bytes MCS information */
42 struct ieee80211_mcs_info mcs
;
44 __u16 extended_ht_cap_info
;
46 __u8 antenna_selection_info
;
47 } __attribute__ ((packed
));
49 struct ieee80211_vht_mcs_info
{
54 } __attribute__ ((packed
));
56 struct ieee80211_vht_cap
{
58 struct ieee80211_vht_mcs_info mcs
;
59 } __attribute__ ((packed
));
61 #endif /* __IEEE80211 */