mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Remove all trailing spaces from code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
8db176767f
commit
bb33327257
190 changed files with 53569 additions and 53764 deletions
|
@ -1,7 +1,7 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of version 2 of the GNU General Public License as
|
||||
* published by the Free Software Foundation.
|
||||
|
@ -75,7 +75,7 @@ struct stainfo_stats {
|
|||
u64 last_rx_probersp_uo_pkts;
|
||||
u64 last_rx_ctrl_pkts;
|
||||
u64 last_rx_data_pkts;
|
||||
|
||||
|
||||
u64 rx_bytes;
|
||||
u64 rx_drops;
|
||||
|
||||
|
@ -101,24 +101,24 @@ struct sta_info {
|
|||
//_list sleep_list;//sleep_q
|
||||
//_list wakeup_list;//wakeup_q
|
||||
struct adapter *padapter;
|
||||
|
||||
|
||||
struct sta_xmit_priv sta_xmitpriv;
|
||||
struct sta_recv_priv sta_recvpriv;
|
||||
|
||||
|
||||
_queue sleep_q;
|
||||
unsigned int sleepq_len;
|
||||
|
||||
|
||||
uint state;
|
||||
uint aid;
|
||||
uint mac_id;
|
||||
uint qos_option;
|
||||
u8 hwaddr[ETH_ALEN];
|
||||
|
||||
uint ieee8021x_blocked; //0: allowed, 1:blocked
|
||||
uint ieee8021x_blocked; //0: allowed, 1:blocked
|
||||
uint dot118021XPrivacy; //aes, tkip...
|
||||
union Keytype dot11tkiptxmickey;
|
||||
union Keytype dot11tkiprxmickey;
|
||||
union Keytype dot118021x_UncstKey;
|
||||
union Keytype dot118021x_UncstKey;
|
||||
union pn48 dot11txpn; // PN48 used for Unicast xmit.
|
||||
#ifdef CONFIG_IEEE80211W
|
||||
union pn48 dot11wtxpn; // PN48 used for Unicast mgmt xmit.
|
||||
|
@ -130,12 +130,12 @@ struct sta_info {
|
|||
u32 bssratelen;
|
||||
s32 rssi;
|
||||
s32 signal_quality;
|
||||
|
||||
|
||||
u8 cts2self;
|
||||
u8 rtsen;
|
||||
|
||||
u8 raid;
|
||||
u8 init_rate;
|
||||
u8 init_rate;
|
||||
u32 ra_mask;
|
||||
u8 wireless_mode; // NETWORK_TYPE
|
||||
struct stainfo_stats sta_stats;
|
||||
|
@ -165,49 +165,49 @@ struct sta_info {
|
|||
u8 alive_count;
|
||||
#endif //CONFIG_TDLS
|
||||
|
||||
//for A-MPDU TX, ADDBA timeout check
|
||||
//for A-MPDU TX, ADDBA timeout check
|
||||
_timer addba_retry_timer;
|
||||
|
||||
//for A-MPDU Rx reordering buffer control
|
||||
|
||||
//for A-MPDU Rx reordering buffer control
|
||||
struct recv_reorder_ctrl recvreorder_ctrl[16];
|
||||
|
||||
//for A-MPDU Tx
|
||||
//unsigned char ampdu_txen_bitmap;
|
||||
u16 BA_starting_seqctrl[16];
|
||||
|
||||
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
struct ht_priv htpriv;
|
||||
struct ht_priv htpriv;
|
||||
#endif
|
||||
|
||||
//Notes:
|
||||
|
||||
//Notes:
|
||||
//STA_Mode:
|
||||
//curr_network(mlme_priv/security_priv/qos/ht) + sta_info: (STA & AP) CAP/INFO
|
||||
//curr_network(mlme_priv/security_priv/qos/ht) + sta_info: (STA & AP) CAP/INFO
|
||||
//scan_q: AP CAP/INFO
|
||||
|
||||
//AP_Mode:
|
||||
//curr_network(mlme_priv/security_priv/qos/ht) : AP CAP/INFO
|
||||
//sta_info: (AP & STA) CAP/INFO
|
||||
|
||||
|
||||
#ifdef CONFIG_AP_MODE
|
||||
|
||||
_list asoc_list;
|
||||
_list auth_list;
|
||||
|
||||
|
||||
unsigned int expire_to;
|
||||
unsigned int auth_seq;
|
||||
unsigned int authalg;
|
||||
unsigned char chg_txt[128];
|
||||
|
||||
u16 capability;
|
||||
int flags;
|
||||
u16 capability;
|
||||
int flags;
|
||||
|
||||
int dot8021xalg;//0:disable, 1:psk, 2:802.1x
|
||||
int wpa_psk;//0:disable, bit(0): WPA, bit(1):WPA2
|
||||
int wpa_group_cipher;
|
||||
int wpa2_group_cipher;
|
||||
int wpa_pairwise_cipher;
|
||||
int wpa2_pairwise_cipher;
|
||||
int wpa2_pairwise_cipher;
|
||||
|
||||
u8 bpairwise_key_installed;
|
||||
|
||||
|
@ -233,7 +233,7 @@ struct sta_info {
|
|||
u8 uapsd_bk;//BIT(0): Delivery enabled, BIT(1): Trigger enabled
|
||||
u8 uapsd_be;
|
||||
u8 uapsd_vi;
|
||||
u8 uapsd_vo;
|
||||
u8 uapsd_vo;
|
||||
|
||||
u8 has_legacy_ac;
|
||||
unsigned int sleepq_ac_len;
|
||||
|
@ -252,16 +252,16 @@ struct sta_info {
|
|||
u8 num_of_secdev_type;
|
||||
u8 secdev_types_list[32];// 32/8 == 4;
|
||||
u16 dev_name_len;
|
||||
u8 dev_name[32];
|
||||
u8 dev_name[32];
|
||||
#endif //CONFIG_P2P
|
||||
|
||||
#ifdef CONFIG_TX_MCAST2UNI
|
||||
u8 under_exist_checking;
|
||||
#endif // CONFIG_TX_MCAST2UNI
|
||||
|
||||
|
||||
u8 keep_alive_trycnt;
|
||||
|
||||
#endif // CONFIG_AP_MODE
|
||||
#endif // CONFIG_AP_MODE
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
u8 *passoc_req;
|
||||
|
@ -282,25 +282,25 @@ struct sta_info {
|
|||
#endif
|
||||
//for DM
|
||||
RSSI_STA rssi_stat;
|
||||
|
||||
|
||||
//ODM_STA_INFO_T
|
||||
// ================ODM Relative Info=======================
|
||||
// Please be care, dont declare too much structure here. It will cost memory * STA support num.
|
||||
//
|
||||
//
|
||||
// 2011/10/20 MH Add for ODM STA info.
|
||||
// 2011/10/20 MH Add for ODM STA info.
|
||||
//
|
||||
// Driver Write
|
||||
u8 bValid; // record the sta status link or not?
|
||||
//u8 WirelessMode; //
|
||||
u8 IOTPeer; // Enum value. HT_IOT_PEER_E
|
||||
//u8 WirelessMode; //
|
||||
u8 IOTPeer; // Enum value. HT_IOT_PEER_E
|
||||
// ODM Write
|
||||
//1 PHY_STATUS_INFO
|
||||
u8 RSSI_Path[4]; //
|
||||
u8 RSSI_Path[4]; //
|
||||
u8 RSSI_Ave;
|
||||
u8 RXEVM[4];
|
||||
u8 RXSNR[4];
|
||||
|
||||
|
||||
u8 rssi_level; //for Refresh RA mask
|
||||
// ODM Write
|
||||
//1 TX_INFO (may changed by IC)
|
||||
|
@ -393,21 +393,21 @@ struct sta_info {
|
|||
, sta->sta_stats.rx_data_pkts -sta->sta_stats.last_rx_data_pkts
|
||||
|
||||
#define STA_PKTS_FMT "(m:%llu, c:%llu, d:%llu)"
|
||||
|
||||
|
||||
struct sta_priv {
|
||||
|
||||
|
||||
u8 *pallocated_stainfo_buf;
|
||||
u8 *pstainfo_buf;
|
||||
_queue free_sta_queue;
|
||||
|
||||
|
||||
_lock sta_hash_lock;
|
||||
_list sta_hash[NUM_STA];
|
||||
int asoc_sta_count;
|
||||
_queue sleep_q;
|
||||
_queue wakeup_q;
|
||||
|
||||
|
||||
struct adapter *padapter;
|
||||
|
||||
|
||||
|
||||
#ifdef CONFIG_AP_MODE
|
||||
_list asoc_list;
|
||||
|
@ -420,7 +420,7 @@ struct sta_priv {
|
|||
unsigned int auth_to; //sec, time to expire in authenticating.
|
||||
unsigned int assoc_to; //sec, time to expire before associating.
|
||||
unsigned int expire_to; //sec , time to expire after associated.
|
||||
|
||||
|
||||
/* pointers to STA info; based on allocated AID or NULL if AID free
|
||||
* AID is in the range 1-2007, so sta_aid[0] corresponders to AID 1
|
||||
* and so on
|
||||
|
@ -428,13 +428,13 @@ struct sta_priv {
|
|||
struct sta_info *sta_aid[NUM_STA];
|
||||
|
||||
u16 sta_dz_bitmap;//only support 15 stations, staion aid bitmap for sleeping sta.
|
||||
u16 tim_bitmap;//only support 15 stations, aid=0~15 mapping bit0~bit15
|
||||
u16 tim_bitmap;//only support 15 stations, aid=0~15 mapping bit0~bit15
|
||||
|
||||
u16 max_num_sta;
|
||||
|
||||
struct wlan_acl_pool acl_list;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ATMEL_RC_PATCH
|
||||
u8 atmel_rc_pattern [6];
|
||||
#endif
|
||||
|
@ -455,7 +455,7 @@ __inline static u32 wifi_mac_hash(u8 *mac)
|
|||
|
||||
x ^= x >> 8;
|
||||
x = x & (NUM_STA - 1);
|
||||
|
||||
|
||||
return x;
|
||||
}
|
||||
|
||||
|
@ -476,4 +476,3 @@ extern struct sta_info* rtw_get_bcmc_stainfo(struct adapter* padapter);
|
|||
extern u8 rtw_access_ctrl(struct adapter *padapter, u8 *mac_addr);
|
||||
|
||||
#endif //_STA_INFO_H_
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue