mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 12:33:40 +00:00
rtl8188eu: Fix remainder of trivial typedef statements
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2bd2f4b4c8
commit
35044413a3
5 changed files with 9 additions and 9 deletions
|
@ -2625,7 +2625,7 @@ void rtw_joinbss_reset(struct adapter *padapter)
|
||||||
unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, uint *pout_len)
|
unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, uint *pout_len)
|
||||||
{
|
{
|
||||||
u32 ielen, out_len;
|
u32 ielen, out_len;
|
||||||
HT_CAP_AMPDU_FACTOR max_rx_ampdu_factor;
|
enum ht_cap_ampdu_factor max_rx_ampdu_factor;
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
struct rtw_ieee80211_ht_cap ht_capie;
|
struct rtw_ieee80211_ht_cap ht_capie;
|
||||||
unsigned char WMM_IE[] = {0x00, 0x50, 0xf2, 0x02, 0x00, 0x01, 0x00};
|
unsigned char WMM_IE[] = {0x00, 0x50, 0xf2, 0x02, 0x00, 0x01, 0x00};
|
||||||
|
|
|
@ -6778,7 +6778,7 @@ void issue_action_BA(struct adapter *padapter, unsigned char *raddr, unsigned ch
|
||||||
u16 BA_timeout_value;
|
u16 BA_timeout_value;
|
||||||
__le16 le_tmp;
|
__le16 le_tmp;
|
||||||
u16 BA_starting_seqctrl;
|
u16 BA_starting_seqctrl;
|
||||||
HT_CAP_AMPDU_FACTOR max_rx_ampdu_factor;
|
enum ht_cap_ampdu_factor max_rx_ampdu_factor;
|
||||||
struct xmit_frame *pmgntframe;
|
struct xmit_frame *pmgntframe;
|
||||||
struct pkt_attrib *pattrib;
|
struct pkt_attrib *pattrib;
|
||||||
u8 *pframe;
|
u8 *pframe;
|
||||||
|
|
|
@ -230,11 +230,11 @@ enum _ADAPTER_TYPE {
|
||||||
MAX_ADAPTER,
|
MAX_ADAPTER,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum _DRIVER_STATE{
|
enum driver_state {
|
||||||
DRIVER_NORMAL = 0,
|
DRIVER_NORMAL = 0,
|
||||||
DRIVER_DISAPPEAR = 1,
|
DRIVER_DISAPPEAR = 1,
|
||||||
DRIVER_REPLACE_DONGLE = 2,
|
DRIVER_REPLACE_DONGLE = 2,
|
||||||
}DRIVER_STATE;
|
};
|
||||||
|
|
||||||
struct adapter {
|
struct adapter {
|
||||||
int DriverState;// for disable driver using module, use dongle to replace module.
|
int DriverState;// for disable driver using module, use dongle to replace module.
|
||||||
|
|
|
@ -47,13 +47,13 @@ struct wlan_acl_pool {
|
||||||
struct __queue acl_node_q;
|
struct __queue acl_node_q;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _RSSI_STA{
|
struct rssi_sta {
|
||||||
s32 UndecoratedSmoothedPWDB;
|
s32 UndecoratedSmoothedPWDB;
|
||||||
s32 UndecoratedSmoothedCCK;
|
s32 UndecoratedSmoothedCCK;
|
||||||
s32 UndecoratedSmoothedOFDM;
|
s32 UndecoratedSmoothedOFDM;
|
||||||
u64 PacketMap;
|
u64 PacketMap;
|
||||||
u8 ValidBit;
|
u8 ValidBit;
|
||||||
}RSSI_STA, *PRSSI_STA;
|
};
|
||||||
|
|
||||||
struct stainfo_stats {
|
struct stainfo_stats {
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ struct sta_info {
|
||||||
#endif // CONFIG_AP_MODE
|
#endif // CONFIG_AP_MODE
|
||||||
|
|
||||||
//for DM
|
//for DM
|
||||||
RSSI_STA rssi_stat;
|
struct rssi_sta rssi_stat;
|
||||||
|
|
||||||
//
|
//
|
||||||
// ================ODM Relative Info=======================
|
// ================ODM Relative Info=======================
|
||||||
|
|
|
@ -735,12 +735,12 @@ struct ADDBA_request {
|
||||||
unsigned short BA_starting_seqctrl;
|
unsigned short BA_starting_seqctrl;
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
typedef enum _HT_CAP_AMPDU_FACTOR {
|
enum ht_cap_ampdu_factor {
|
||||||
MAX_AMPDU_FACTOR_8K = 0,
|
MAX_AMPDU_FACTOR_8K = 0,
|
||||||
MAX_AMPDU_FACTOR_16K = 1,
|
MAX_AMPDU_FACTOR_16K = 1,
|
||||||
MAX_AMPDU_FACTOR_32K = 2,
|
MAX_AMPDU_FACTOR_32K = 2,
|
||||||
MAX_AMPDU_FACTOR_64K = 3,
|
MAX_AMPDU_FACTOR_64K = 3,
|
||||||
}HT_CAP_AMPDU_FACTOR;
|
};
|
||||||
|
|
||||||
/* 802.11n HT capabilities masks */
|
/* 802.11n HT capabilities masks */
|
||||||
#define IEEE80211_HT_CAP_SUP_WIDTH 0x0002
|
#define IEEE80211_HT_CAP_SUP_WIDTH 0x0002
|
||||||
|
|
Loading…
Reference in a new issue