aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/bssdb.h
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-05-17 20:34:01 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-18 17:51:08 -0400
commitcc856e61ee4ffb150ff352e3d6940978a2f819e8 (patch)
treefc196d675186aeaf221758a37c03ef5e305649fc /drivers/staging/vt6656/bssdb.h
parent213d2e9322ed509c2f80b07d7feb4427ebcd7b0b (diff)
Staging: vt6656: removed custom UCHAR/USHORT/UINT/ULONG/ULONGLONG typedefs
Cleared all checkpatch warnings but 'do not add new typedefs' ones. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/bssdb.h')
-rw-r--r--drivers/staging/vt6656/bssdb.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/drivers/staging/vt6656/bssdb.h b/drivers/staging/vt6656/bssdb.h
index 0158b0bdf1a..9686d8600d6 100644
--- a/drivers/staging/vt6656/bssdb.h
+++ b/drivers/staging/vt6656/bssdb.h
@@ -97,10 +97,10 @@ typedef struct tagKnownBSS {
97 // BSS info 97 // BSS info
98 BOOL bActive; 98 BOOL bActive;
99 BYTE abyBSSID[WLAN_BSSID_LEN]; 99 BYTE abyBSSID[WLAN_BSSID_LEN];
100 UINT uChannel; 100 unsigned int uChannel;
101 BYTE abySuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN + 1]; 101 BYTE abySuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN + 1];
102 BYTE abyExtSuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN + 1]; 102 BYTE abyExtSuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN + 1];
103 UINT uRSSI; 103 unsigned int uRSSI;
104 BYTE bySQ; 104 BYTE bySQ;
105 WORD wBeaconInterval; 105 WORD wBeaconInterval;
106 WORD wCapInfo; 106 WORD wCapInfo;
@@ -141,9 +141,9 @@ typedef struct tagKnownBSS {
141 WORD wRSNLen; 141 WORD wRSNLen;
142 142
143 // Clear count 143 // Clear count
144 UINT uClearCount; 144 unsigned int uClearCount;
145// BYTE abyIEs[WLAN_BEACON_FR_MAXLEN]; 145// BYTE abyIEs[WLAN_BEACON_FR_MAXLEN];
146 UINT uIELength; 146 unsigned int uIELength;
147 QWORD qwBSSTimestamp; 147 QWORD qwBSSTimestamp;
148 QWORD qwLocalTSF; // local TSF timer 148 QWORD qwLocalTSF; // local TSF timer
149 149
@@ -178,7 +178,7 @@ typedef struct tagKnownNodeDB {
178 BOOL bShortPreamble; 178 BOOL bShortPreamble;
179 BOOL bERPExist; 179 BOOL bERPExist;
180 BOOL bShortSlotTime; 180 BOOL bShortSlotTime;
181 UINT uInActiveCount; 181 unsigned int uInActiveCount;
182 WORD wMaxBasicRate; //Get from byTopOFDMBasicRate or byTopCCKBasicRate which depends on packetTyp. 182 WORD wMaxBasicRate; //Get from byTopOFDMBasicRate or byTopCCKBasicRate which depends on packetTyp.
183 WORD wMaxSuppRate; //Records the highest supported rate getting from SuppRates IE and ExtSuppRates IE in Beacon. 183 WORD wMaxSuppRate; //Records the highest supported rate getting from SuppRates IE and ExtSuppRates IE in Beacon.
184 WORD wSuppRate; 184 WORD wSuppRate;
@@ -194,35 +194,35 @@ typedef struct tagKnownNodeDB {
194 BOOL bPSEnable; 194 BOOL bPSEnable;
195 BOOL bRxPSPoll; 195 BOOL bRxPSPoll;
196 BYTE byAuthSequence; 196 BYTE byAuthSequence;
197 ULONG ulLastRxJiffer; 197 unsigned long ulLastRxJiffer;
198 BYTE bySuppRate; 198 BYTE bySuppRate;
199 DWORD dwFlags; 199 DWORD dwFlags;
200 WORD wEnQueueCnt; 200 WORD wEnQueueCnt;
201 201
202 BOOL bOnFly; 202 BOOL bOnFly;
203 ULONGLONG KeyRSC; 203 unsigned long long KeyRSC;
204 BYTE byKeyIndex; 204 BYTE byKeyIndex;
205 DWORD dwKeyIndex; 205 DWORD dwKeyIndex;
206 BYTE byCipherSuite; 206 BYTE byCipherSuite;
207 DWORD dwTSC47_16; 207 DWORD dwTSC47_16;
208 WORD wTSC15_0; 208 WORD wTSC15_0;
209 UINT uWepKeyLength; 209 unsigned int uWepKeyLength;
210 BYTE abyWepKey[WLAN_WEPMAX_KEYLEN]; 210 BYTE abyWepKey[WLAN_WEPMAX_KEYLEN];
211 // 211 //
212 // Auto rate fallback vars 212 // Auto rate fallback vars
213 BOOL bIsInFallback; 213 BOOL bIsInFallback;
214 UINT uAverageRSSI; 214 unsigned int uAverageRSSI;
215 UINT uRateRecoveryTimeout; 215 unsigned int uRateRecoveryTimeout;
216 UINT uRatePollTimeout; 216 unsigned int uRatePollTimeout;
217 UINT uTxFailures; 217 unsigned int uTxFailures;
218 UINT uTxAttempts; 218 unsigned int uTxAttempts;
219 219
220 UINT uTxRetry; 220 unsigned int uTxRetry;
221 UINT uFailureRatio; 221 unsigned int uFailureRatio;
222 UINT uRetryRatio; 222 unsigned int uRetryRatio;
223 UINT uTxOk[MAX_RATE+1]; 223 unsigned int uTxOk[MAX_RATE+1];
224 UINT uTxFail[MAX_RATE+1]; 224 unsigned int uTxFail[MAX_RATE+1];
225 UINT uTimeCount; 225 unsigned int uTimeCount;
226 226
227} KnownNodeDB, *PKnownNodeDB; 227} KnownNodeDB, *PKnownNodeDB;
228 228
@@ -253,7 +253,7 @@ BOOL BSSbInsertToBSSList(void *hDeviceContext,
253 PWLAN_IE_RSN_EXT pRSNWPA, 253 PWLAN_IE_RSN_EXT pRSNWPA,
254 PWLAN_IE_COUNTRY pIE_Country, 254 PWLAN_IE_COUNTRY pIE_Country,
255 PWLAN_IE_QUIET pIE_Quiet, 255 PWLAN_IE_QUIET pIE_Quiet,
256 UINT uIELength, 256 unsigned int uIELength,
257 PBYTE pbyIEs, 257 PBYTE pbyIEs,
258 void *pRxPacketContext); 258 void *pRxPacketContext);
259 259
@@ -272,7 +272,7 @@ BOOL BSSbUpdateToBSSList(void *hDeviceContext,
272 PWLAN_IE_COUNTRY pIE_Country, 272 PWLAN_IE_COUNTRY pIE_Country,
273 PWLAN_IE_QUIET pIE_Quiet, 273 PWLAN_IE_QUIET pIE_Quiet,
274 PKnownBSS pBSSList, 274 PKnownBSS pBSSList,
275 UINT uIELength, 275 unsigned int uIELength,
276 PBYTE pbyIEs, 276 PBYTE pbyIEs,
277 void *pRxPacketContext); 277 void *pRxPacketContext);
278 278
@@ -295,12 +295,12 @@ void BSSvUpdateNodeTxCounter(void *hDeviceContext,
295 BYTE byPktNO); 295 BYTE byPktNO);
296 296
297void BSSvRemoveOneNode(void *hDeviceContext, 297void BSSvRemoveOneNode(void *hDeviceContext,
298 UINT uNodeIndex); 298 unsigned int uNodeIndex);
299 299
300void BSSvAddMulticastNode(void *hDeviceContext); 300void BSSvAddMulticastNode(void *hDeviceContext);
301 301
302void BSSvClearNodeDBTable(void *hDeviceContext, 302void BSSvClearNodeDBTable(void *hDeviceContext,
303 UINT uStartIndex); 303 unsigned int uStartIndex);
304 304
305void BSSvClearAnyBSSJoinRecord(void *hDeviceContext); 305void BSSvClearAnyBSSJoinRecord(void *hDeviceContext);
306 306