diff options
Diffstat (limited to 'netspeed/src/ieee80211.h')
-rw-r--r-- | netspeed/src/ieee80211.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/netspeed/src/ieee80211.h b/netspeed/src/ieee80211.h index 87456084..ccfeb9ed 100644 --- a/netspeed/src/ieee80211.h +++ b/netspeed/src/ieee80211.h @@ -21,13 +21,12 @@ * @tx_params: TX parameters */ struct ieee80211_mcs_info { - __u8 rx_mask[IEEE80211_HT_MCS_MASK_LEN]; - __u16 rx_highest; - __u8 tx_params; - __u8 reserved[3]; + __u8 rx_mask[IEEE80211_HT_MCS_MASK_LEN]; + __u16 rx_highest; + __u8 tx_params; + __u8 reserved[3]; } __attribute__ ((packed)); - /** * struct ieee80211_ht_cap - HT capabilities * @@ -35,27 +34,27 @@ struct ieee80211_mcs_info { * described in 802.11n D5.0 7.3.2.57 */ struct ieee80211_ht_cap { - __u16 cap_info; - __u8 ampdu_params_info; + __u16 cap_info; + __u8 ampdu_params_info; - /* 16 bytes MCS information */ - struct ieee80211_mcs_info mcs; + /* 16 bytes MCS information */ + struct ieee80211_mcs_info mcs; - __u16 extended_ht_cap_info; - __u32 tx_BF_cap_info; - __u8 antenna_selection_info; + __u16 extended_ht_cap_info; + __u32 tx_BF_cap_info; + __u8 antenna_selection_info; } __attribute__ ((packed)); struct ieee80211_vht_mcs_info { - __u16 rx_vht_mcs; - __u16 rx_highest; - __u16 tx_vht_mcs; - __u16 tx_highest; + __u16 rx_vht_mcs; + __u16 rx_highest; + __u16 tx_vht_mcs; + __u16 tx_highest; } __attribute__ ((packed)); struct ieee80211_vht_cap { - __u32 cap_info; - struct ieee80211_vht_mcs_info mcs; + __u32 cap_info; + struct ieee80211_vht_mcs_info mcs; } __attribute__ ((packed)); #endif /* __IEEE80211 */ |