mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Remove trailing white space from all source files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
77e736c66a
commit
f5f3863bc5
205 changed files with 55371 additions and 55581 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.
|
||||
|
@ -31,7 +31,7 @@
|
|||
#define NDIS_802_11_LENGTH_RATES_EX 16
|
||||
|
||||
typedef unsigned char NDIS_802_11_MAC_ADDRESS[6];
|
||||
typedef long NDIS_802_11_RSSI; // in dBm
|
||||
typedef long NDIS_802_11_RSSI; // in dBm
|
||||
typedef unsigned char NDIS_802_11_RATES[NDIS_802_11_LENGTH_RATES]; // Set of 8 data rates
|
||||
typedef unsigned char NDIS_802_11_RATES_EX[NDIS_802_11_LENGTH_RATES_EX]; // Set of 16 data rates
|
||||
|
||||
|
@ -62,11 +62,11 @@ typedef struct _NDIS_802_11_CONFIGURATION_FH
|
|||
ULONG HopSet; // to one if non-802.11
|
||||
ULONG DwellTime; // units are Kusec
|
||||
} NDIS_802_11_CONFIGURATION_FH, *PNDIS_802_11_CONFIGURATION_FH;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
FW will only save the channel number in DSConfig.
|
||||
ODI Handler will convert the channel number to freq. number.
|
||||
ODI Handler will convert the channel number to freq. number.
|
||||
*/
|
||||
typedef struct _NDIS_802_11_CONFIGURATION
|
||||
{
|
||||
|
@ -199,7 +199,7 @@ typedef enum _NDIS_802_11_RELOAD_DEFAULTS
|
|||
typedef struct _NDIS_802_11_KEY
|
||||
{
|
||||
ULONG Length; // Length of this structure
|
||||
ULONG KeyIndex;
|
||||
ULONG KeyIndex;
|
||||
ULONG KeyLength; // length of key in bytes
|
||||
NDIS_802_11_MAC_ADDRESS BSSID;
|
||||
NDIS_802_11_KEY_RSC KeyRSC;
|
||||
|
@ -209,8 +209,8 @@ typedef struct _NDIS_802_11_KEY
|
|||
typedef struct _NDIS_802_11_REMOVE_KEY
|
||||
{
|
||||
ULONG Length; // Length of this structure
|
||||
ULONG KeyIndex;
|
||||
NDIS_802_11_MAC_ADDRESS BSSID;
|
||||
ULONG KeyIndex;
|
||||
NDIS_802_11_MAC_ADDRESS BSSID;
|
||||
} NDIS_802_11_REMOVE_KEY, *PNDIS_802_11_REMOVE_KEY;
|
||||
|
||||
typedef struct _NDIS_802_11_WEP
|
||||
|
@ -232,7 +232,7 @@ typedef enum _NDIS_802_11_STATUS_TYPE
|
|||
{
|
||||
Ndis802_11StatusType_Authentication,
|
||||
Ndis802_11StatusType_MediaStreamMode,
|
||||
Ndis802_11StatusType_PMKID_CandidateList,
|
||||
Ndis802_11StatusType_PMKID_CandidateList,
|
||||
Ndis802_11StatusTypeMax // not a real type, defined as an upper bound
|
||||
} NDIS_802_11_STATUS_TYPE, *PNDIS_802_11_STATUS_TYPE;
|
||||
|
||||
|
@ -256,7 +256,7 @@ typedef struct _NDIS_802_11_AUTHENTICATION_EVENT
|
|||
NDIS_802_11_STATUS_INDICATION Status;
|
||||
NDIS_802_11_AUTHENTICATION_REQUEST Request[1];
|
||||
} NDIS_802_11_AUTHENTICATION_EVENT, *PNDIS_802_11_AUTHENTICATION_EVENT;
|
||||
|
||||
|
||||
typedef struct _NDIS_802_11_TEST
|
||||
{
|
||||
ULONG Length;
|
||||
|
@ -278,7 +278,7 @@ typedef struct _NDIS_802_11_TEST
|
|||
#define NDIS_802_11_LENGTH_RATES_EX 16
|
||||
|
||||
typedef unsigned char NDIS_802_11_MAC_ADDRESS[6];
|
||||
typedef long NDIS_802_11_RSSI; // in dBm
|
||||
typedef long NDIS_802_11_RSSI; // in dBm
|
||||
typedef unsigned char NDIS_802_11_RATES[NDIS_802_11_LENGTH_RATES]; // Set of 8 data rates
|
||||
typedef unsigned char NDIS_802_11_RATES_EX[NDIS_802_11_LENGTH_RATES_EX]; // Set of 16 data rates
|
||||
|
||||
|
@ -309,11 +309,11 @@ typedef struct _NDIS_802_11_CONFIGURATION_FH
|
|||
ULONG HopSet; // to one if non-802.11
|
||||
ULONG DwellTime; // units are Kusec
|
||||
} NDIS_802_11_CONFIGURATION_FH, *PNDIS_802_11_CONFIGURATION_FH;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
FW will only save the channel number in DSConfig.
|
||||
ODI Handler will convert the channel number to freq. number.
|
||||
ODI Handler will convert the channel number to freq. number.
|
||||
*/
|
||||
typedef struct _NDIS_802_11_CONFIGURATION
|
||||
{
|
||||
|
@ -445,7 +445,7 @@ typedef enum _NDIS_802_11_RELOAD_DEFAULTS
|
|||
typedef struct _NDIS_802_11_KEY
|
||||
{
|
||||
ULONG Length; // Length of this structure
|
||||
ULONG KeyIndex;
|
||||
ULONG KeyIndex;
|
||||
ULONG KeyLength; // length of key in bytes
|
||||
NDIS_802_11_MAC_ADDRESS BSSID;
|
||||
NDIS_802_11_KEY_RSC KeyRSC;
|
||||
|
@ -455,8 +455,8 @@ typedef struct _NDIS_802_11_KEY
|
|||
typedef struct _NDIS_802_11_REMOVE_KEY
|
||||
{
|
||||
ULONG Length; // Length of this structure
|
||||
ULONG KeyIndex;
|
||||
NDIS_802_11_MAC_ADDRESS BSSID;
|
||||
ULONG KeyIndex;
|
||||
NDIS_802_11_MAC_ADDRESS BSSID;
|
||||
} NDIS_802_11_REMOVE_KEY, *PNDIS_802_11_REMOVE_KEY;
|
||||
|
||||
typedef struct _NDIS_802_11_WEP
|
||||
|
@ -478,7 +478,7 @@ typedef enum _NDIS_802_11_STATUS_TYPE
|
|||
{
|
||||
Ndis802_11StatusType_Authentication,
|
||||
Ndis802_11StatusType_MediaStreamMode,
|
||||
Ndis802_11StatusType_PMKID_CandidateList,
|
||||
Ndis802_11StatusType_PMKID_CandidateList,
|
||||
Ndis802_11StatusTypeMax // not a real type, defined as an upper bound
|
||||
} NDIS_802_11_STATUS_TYPE, *PNDIS_802_11_STATUS_TYPE;
|
||||
|
||||
|
@ -502,7 +502,7 @@ typedef struct _NDIS_802_11_AUTHENTICATION_EVENT
|
|||
NDIS_802_11_STATUS_INDICATION Status;
|
||||
NDIS_802_11_AUTHENTICATION_REQUEST Request[1];
|
||||
} NDIS_802_11_AUTHENTICATION_EVENT, *PNDIS_802_11_AUTHENTICATION_EVENT;
|
||||
|
||||
|
||||
typedef struct _NDIS_802_11_TEST
|
||||
{
|
||||
ULONG Length;
|
||||
|
@ -523,22 +523,22 @@ typedef struct _NDIS_802_11_TEST
|
|||
typedef struct _WLAN_PHY_INFO
|
||||
{
|
||||
u8 SignalStrength;//(in percentage)
|
||||
u8 SignalQuality;//(in percentage)
|
||||
u8 Optimum_antenna; //for Antenna diversity
|
||||
u8 Reserved_0;
|
||||
u8 SignalQuality;//(in percentage)
|
||||
u8 Optimum_antenna; //for Antenna diversity
|
||||
u8 Reserved_0;
|
||||
}WLAN_PHY_INFO,*PWLAN_PHY_INFO;
|
||||
|
||||
typedef struct _WLAN_BCN_INFO
|
||||
{
|
||||
/* these infor get from rtw_get_encrypt_info when
|
||||
* * translate scan to UI */
|
||||
* * translate scan to UI */
|
||||
u8 encryp_protocol;//ENCRYP_PROTOCOL_E: OPEN/WEP/WPA/WPA2/WAPI
|
||||
int group_cipher; //WPA/WPA2 group cipher
|
||||
int pairwise_cipher;////WPA/WPA2/WEP pairwise cipher
|
||||
int is_8021x;
|
||||
|
||||
/* bwmode 20/40 and ch_offset UP/LOW */
|
||||
unsigned short ht_cap_info;
|
||||
unsigned short ht_cap_info;
|
||||
unsigned char ht_info_infos_0;
|
||||
}WLAN_BCN_INFO,*PWLAN_BCN_INFO;
|
||||
|
||||
|
@ -564,7 +564,7 @@ typedef struct _WLAN_BSSID_EX
|
|||
WLAN_PHY_INFO PhyInfo;
|
||||
ULONG IELength;
|
||||
UCHAR IEs[MAX_IE_SZ]; //(timestamp, beacon interval, and capability information)
|
||||
}
|
||||
}
|
||||
#ifndef PLATFORM_WINDOWS
|
||||
__attribute__((packed))
|
||||
#endif
|
||||
|
@ -579,7 +579,7 @@ __inline static uint get_WLAN_BSSID_EX_sz(WLAN_BSSID_EX *bss)
|
|||
}
|
||||
|
||||
struct wlan_network {
|
||||
_list list;
|
||||
_list list;
|
||||
int network_type; //refer to ieee80211.h for WIRELESS_11A/B/G
|
||||
int fixed; // set to fixed when not to be removed as site-surveying
|
||||
unsigned long last_scanned; //timestamp for the network
|
||||
|
@ -587,7 +587,7 @@ struct wlan_network {
|
|||
int join_res;
|
||||
WLAN_BSSID_EX network; //must be the last item
|
||||
WLAN_BCN_INFO BcnInfo;
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
unsigned char iebuf[MAX_IE_SZ];
|
||||
#endif
|
||||
|
||||
|
@ -595,16 +595,16 @@ struct wlan_network {
|
|||
|
||||
enum VRTL_CARRIER_SENSE
|
||||
{
|
||||
DISABLE_VCS,
|
||||
ENABLE_VCS,
|
||||
DISABLE_VCS,
|
||||
ENABLE_VCS,
|
||||
AUTO_VCS
|
||||
};
|
||||
|
||||
enum VCS_TYPE
|
||||
{
|
||||
NONE_VCS,
|
||||
NONE_VCS,
|
||||
RTS_CTS,
|
||||
CTS_TO_SELF
|
||||
CTS_TO_SELF
|
||||
};
|
||||
|
||||
|
||||
|
@ -631,7 +631,7 @@ enum UAPSD_MAX_SP
|
|||
#define NUM_PMKID_CACHE NUM_PRE_AUTH_KEY
|
||||
|
||||
/*
|
||||
* WPA2
|
||||
* WPA2
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_OS_CE
|
||||
|
@ -652,20 +652,19 @@ typedef struct _NDIS_802_11_AUTHENTICATION_ENCRYPTION
|
|||
{
|
||||
NDIS_802_11_AUTHENTICATION_MODE AuthModeSupported;
|
||||
NDIS_802_11_ENCRYPTION_STATUS EncryptStatusSupported;
|
||||
|
||||
|
||||
} NDIS_802_11_AUTHENTICATION_ENCRYPTION, *PNDIS_802_11_AUTHENTICATION_ENCRYPTION;
|
||||
|
||||
typedef struct _NDIS_802_11_CAPABILITY
|
||||
typedef struct _NDIS_802_11_CAPABILITY
|
||||
{
|
||||
ULONG Length;
|
||||
ULONG Version;
|
||||
ULONG NoOfPMKIDs;
|
||||
ULONG NoOfAuthEncryptPairsSupported;
|
||||
NDIS_802_11_AUTHENTICATION_ENCRYPTION AuthenticationEncryptionSupported[1];
|
||||
|
||||
|
||||
} NDIS_802_11_CAPABILITY, *PNDIS_802_11_CAPABILITY;
|
||||
#endif
|
||||
|
||||
|
||||
#endif //#ifndef WLAN_BSSDEF_H_
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue