rtl8188eu: Fix remainder of trivial typedef statements

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-26 20:15:31 -05:00
parent 2bd2f4b4c8
commit 35044413a3
5 changed files with 9 additions and 9 deletions

View file

@ -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)
{
u32 ielen, out_len;
HT_CAP_AMPDU_FACTOR max_rx_ampdu_factor;
enum ht_cap_ampdu_factor max_rx_ampdu_factor;
unsigned char *p;
struct rtw_ieee80211_ht_cap ht_capie;
unsigned char WMM_IE[] = {0x00, 0x50, 0xf2, 0x02, 0x00, 0x01, 0x00};

View file

@ -6778,7 +6778,7 @@ void issue_action_BA(struct adapter *padapter, unsigned char *raddr, unsigned ch
u16 BA_timeout_value;
__le16 le_tmp;
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 pkt_attrib *pattrib;
u8 *pframe;

View file

@ -230,11 +230,11 @@ enum _ADAPTER_TYPE {
MAX_ADAPTER,
};
typedef enum _DRIVER_STATE{
enum driver_state {
DRIVER_NORMAL = 0,
DRIVER_DISAPPEAR = 1,
DRIVER_REPLACE_DONGLE = 2,
}DRIVER_STATE;
};
struct adapter {
int DriverState;// for disable driver using module, use dongle to replace module.

View file

@ -47,13 +47,13 @@ struct wlan_acl_pool {
struct __queue acl_node_q;
};
typedef struct _RSSI_STA{
struct rssi_sta {
s32 UndecoratedSmoothedPWDB;
s32 UndecoratedSmoothedCCK;
s32 UndecoratedSmoothedOFDM;
u64 PacketMap;
u8 ValidBit;
}RSSI_STA, *PRSSI_STA;
};
struct stainfo_stats {
@ -217,7 +217,7 @@ struct sta_info {
#endif // CONFIG_AP_MODE
//for DM
RSSI_STA rssi_stat;
struct rssi_sta rssi_stat;
//
// ================ODM Relative Info=======================

View file

@ -735,12 +735,12 @@ struct ADDBA_request {
unsigned short BA_starting_seqctrl;
} __attribute__ ((packed));
typedef enum _HT_CAP_AMPDU_FACTOR {
enum ht_cap_ampdu_factor {
MAX_AMPDU_FACTOR_8K = 0,
MAX_AMPDU_FACTOR_16K = 1,
MAX_AMPDU_FACTOR_32K = 2,
MAX_AMPDU_FACTOR_64K = 3,
}HT_CAP_AMPDU_FACTOR;
};
/* 802.11n HT capabilities masks */
#define IEEE80211_HT_CAP_SUP_WIDTH 0x0002