summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/datarate.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/vt6655/datarate.c')
-rw-r--r--drivers/staging/vt6655/datarate.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/vt6655/datarate.c b/drivers/staging/vt6655/datarate.c
index 32e4d4a..e7b6bc7 100644
--- a/drivers/staging/vt6655/datarate.c
+++ b/drivers/staging/vt6655/datarate.c
@@ -45,12 +45,8 @@
/*--------------------- Static Definitions -------------------------*/
-
-
-
/*--------------------- Static Classes ----------------------------*/
-
extern unsigned short TxRate_iwconfig; //2008-5-8 <add> by chester
/*--------------------- Static Variables --------------------------*/
//static int msglevel =MSG_LEVEL_DEBUG;
@@ -68,8 +64,6 @@ void s_vResetCounter(
PKnownNodeDB psNodeDBTable
);
-
-
void
s_vResetCounter(
PKnownNodeDB psNodeDBTable
@@ -86,10 +80,8 @@ s_vResetCounter(
/*--------------------- Export Variables --------------------------*/
-
/*--------------------- Export Functions --------------------------*/
-
/*+
*
* Description:
@@ -121,8 +113,6 @@ DATARATEbyGetRateIdx(
return 0;
}
-
-
/*+
*
* Routine Description:
@@ -141,9 +131,6 @@ DATARATEbyGetRateIdx(
#define AUTORATE_TXCNT_THRESHOLD 20
#define AUTORATE_INC_THRESHOLD 30
-
-
-
/*+
*
* Description:
@@ -214,7 +201,6 @@ RATEvParseMaxRate(
unsigned short wOldBasicRate = pDevice->wBasicRate;
unsigned int uRateLen;
-
if (pItemRates == NULL)
return;
@@ -247,7 +233,6 @@ RATEvParseMaxRate(
}
if ((pItemExtRates != NULL) && (pItemExtRates->byElementID == WLAN_EID_EXTSUPP_RATES) &&
(pDevice->eCurrentPHYType != PHY_TYPE_11B)) {
-
unsigned int uExtRateLen = pItemExtRates->len;
if (uExtRateLen > WLAN_RATES_MAXLEN)
@@ -288,7 +273,6 @@ RATEvParseMaxRate(
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Exit ParseMaxRate\n");
}
-
/*+
*
* Routine Description:
@@ -343,7 +327,6 @@ RATEvTxRateFallBack(
psNodeDBTable->uTimeCount = 0;
}
-
for (ii = 0; ii < MAX_RATE; ii++) {
if (psNodeDBTable->wSuppRate & (0x0001<<ii)) {
if (bAutoRate[ii] == true) {
@@ -393,7 +376,6 @@ RATEvTxRateFallBack(
// DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Rate: %d, U:%d, D:%d\n", psNodeDBTable->wTxDataRate, wIdxUpRate, wIdxDownRate);
return;
-
}
/*+
@@ -434,4 +416,3 @@ RATEuSetIE(
}
return (unsigned char)uRateCnt;
}
-
OpenPOWER on IntegriCloud