rtl8188eu: Replace rtw_ieee80211_ht_cap with standard kernel version

As shown in the previous commits, keeping alignment beetween the private header
and the kernel version is a problem. Solve the issue by using the kernel
version.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-04-08 13:43:40 -05:00
parent 496a632c98
commit d76cbb313d
10 changed files with 29 additions and 49 deletions

View file

@ -232,7 +232,7 @@ struct ieee_param {
u16 capability;
int flags;
u8 tx_supp_rates[16];
struct rtw_ieee80211_ht_cap ht_cap;
struct ieee80211_ht_cap ht_cap;
} add_sta;
struct {
u8 reserved[2];/* for set max_num_sta */
@ -257,7 +257,7 @@ struct sta_data {
u32 sta_set;
u8 tx_supp_rates[16];
u32 tx_supp_rates_len;
struct rtw_ieee80211_ht_cap ht_cap;
struct ieee80211_ht_cap ht_cap;
u64 rx_pkts;
u64 rx_bytes;
u64 rx_drops;

View file

@ -42,7 +42,7 @@ struct ht_priv
/* u8 ADDBA_retry_count; */
u8 candidate_tid_bitmap;
struct rtw_ieee80211_ht_cap ht_cap;
struct ieee80211_ht_cap ht_cap;
};

View file

@ -606,27 +606,8 @@ struct rtw_ieee80211_bar {
#define IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL 0x0000
#define IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA 0x0004
/**
* struct rtw_ieee80211_ht_cap - HT capabilities
*
* This structure refers to "HT capabilities element" as
* described in 802.11n draft section 7.3.2.52
*/
struct rtw_ieee80211_ht_cap {
__le16 cap_info;
u8 ampdu_params_info;
union {
u8 supp_mcs_set[16];
struct ieee80211_mcs_info mcs;
};
__le16 extended_ht_cap_info;
__le32 tx_BF_cap_info;
u8 antenna_selection_info;
} __packed;
/**
* struct rtw_ieee80211_ht_cap - HT additional information
* struct ieee80211_ht_cap - HT additional information
*
* This structure refers to "HT information element" as
* described in 802.11n draft section 7.3.2.53