Home
last modified time | relevance | path

Searched refs:MAX_RATE (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/vt6655/
Ddatarate.c54 const unsigned char acbyIERate[MAX_RATE] =
75 for (ii = 0; ii <= MAX_RATE; ii++) { in s_vResetCounter()
109 for (ii = 0; ii < MAX_RATE; ii++) { in DATARATEbyGetRateIdx()
158 for (ii = 0; ii < MAX_RATE; ii++) { in wGetRateIdx()
304 …bool bAutoRate[MAX_RATE] = {true, true, true, true, false, false, true, true, true, true, true,… in RATEvTxRateFallBack()
305 unsigned long dwThroughputTbl[MAX_RATE] = {10, 20, 55, 110, 60, 90, 120, 180, 240, 360, 480, 540}; in RATEvTxRateFallBack()
317 if (psNodeDBTable->uTxFail[MAX_RATE] > psNodeDBTable->uTxOk[MAX_RATE]) in RATEvTxRateFallBack()
318 dwTxDiff = psNodeDBTable->uTxFail[MAX_RATE] - psNodeDBTable->uTxOk[MAX_RATE]; in RATEvTxRateFallBack()
320 if ((psNodeDBTable->uTxOk[MAX_RATE] < AUTORATE_TXOK_CNT) && in RATEvTxRateFallBack()
330 for (ii = 0; ii < MAX_RATE; ii++) { in RATEvTxRateFallBack()
[all …]
Dbssdb.h66 #define MAX_RATE 12 macro
228 unsigned int uTxOk[MAX_RATE+1];
229 unsigned int uTxFail[MAX_RATE+1];
Dvntwifi.c499 pMgmt->sNodeDBTable[uNodeIndex].uTxOk[MAX_RATE]++; in VNTWIFIvUpdateNodeTxCounter()
504 pMgmt->sNodeDBTable[uNodeIndex].uTxRetry += pbyTxFailCount[MAX_RATE]; in VNTWIFIvUpdateNodeTxCounter()
505 for (ii = 0; ii < MAX_RATE; ii++) { in VNTWIFIvUpdateNodeTxCounter()
Dbaseband.c1709 const unsigned short awcFrameTime[MAX_RATE] =
2718 for (ii = 0; ii < MAX_RATE; ii++) { in BBvClearAntDivSQ3Value()
2741 if ((byRxRate >= MAX_RATE) || (pDevice->wAntDiversityMaxRate >= MAX_RATE)) { in BBvAntennaDiversity()
Dvntwifi.h52 #define MAX_RATE 12 macro
Ddpc.c66 const unsigned char acbyRxRate[MAX_RATE] =
222 for (byRateIdx = 0; byRateIdx < MAX_RATE; byRateIdx++) { in s_byGetRateIdx()
223 if (acbyRxRate[byRateIdx % MAX_RATE] == byRate) in s_byGetRateIdx()
387 dwDuration /= acbyRxRate[*pbyRxRate%MAX_RATE]; in device_receive_frame()
Dbssdb.c1339 pMgmt->sNodeDBTable[0].uTxOk[MAX_RATE]++; in BSSvUpdateNodeTxCounter()
1364 pMgmt->sNodeDBTable[0].uTxFail[MAX_RATE] += byTxRetry; in BSSvUpdateNodeTxCounter()
1403 pMgmt->sNodeDBTable[uNodeIndex].uTxOk[MAX_RATE]++; in BSSvUpdateNodeTxCounter()
1424 pMgmt->sNodeDBTable[uNodeIndex].uTxFail[MAX_RATE] += byTxRetry; in BSSvUpdateNodeTxCounter()
Drxtx.c82 const unsigned short wTimeStampOff[2][MAX_RATE] = {
713 …uf->wTimeStampOff_a = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]); in s_uFillDataHead()
714 …Off_b = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][pDevice->byTopCCKBasicRate%MAX_RATE]); in s_uFillDataHead()
739 …uf->wTimeStampOff_a = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]); in s_uFillDataHead()
740 …Off_b = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][pDevice->byTopCCKBasicRate%MAX_RATE]); in s_uFillDataHead()
761 …pBuf->wTimeStampOff = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]); in s_uFillDataHead()
777 …pBuf->wTimeStampOff = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]); in s_uFillDataHead()
792 …pBuf->wTimeStampOff = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]); in s_uFillDataHead()
2464 …Head->wTimeStampOff = cpu_to_le16(wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]); in csBeacon_xmit()
Ddevice.h697 unsigned long uNumSQ3[MAX_RATE];
Dcard.c92 const unsigned short cwRXBCNTSFOff[MAX_RATE] =
2005 wRxBcnTSFOffst = cwRXBCNTSFOff[byRxRate%MAX_RATE]; in CARDqGetTSFOffset()
/drivers/staging/vt6656/
Ddatarate.c48 const u8 acbyIERate[MAX_RATE] =
62 for (ii = 0; ii <= MAX_RATE; ii++) { in s_vResetCounter()
110 for (ii = 0; ii < MAX_RATE; ii ++) { in RATEwGetRateIdx()
253 int bAutoRate[MAX_RATE] = {true, true, true, true, false, false, true, in RATEvTxRateFallBack()
255 u32 dwThroughputTbl[MAX_RATE] = {10, 20, 55, 110, 60, 90, 120, 180, in RATEvTxRateFallBack()
266 if (psNodeDBTable->uTxFail[MAX_RATE] > psNodeDBTable->uTxOk[MAX_RATE]) in RATEvTxRateFallBack()
267 dwTxDiff = psNodeDBTable->uTxFail[MAX_RATE] - psNodeDBTable->uTxOk[MAX_RATE]; in RATEvTxRateFallBack()
269 if ((psNodeDBTable->uTxOk[MAX_RATE] < AUTORATE_TXOK_CNT) && in RATEvTxRateFallBack()
279 for (ii = 0; ii < MAX_RATE; ii++) { in RATEvTxRateFallBack()
313 if (psNodeDBTable->uTxOk[MAX_RATE]) { in RATEvTxRateFallBack()
[all …]
Dmib.h225 #define MAX_RATE 12 macro
328 u32 dwTxOk[MAX_RATE+1];
329 u32 dwTxFail[MAX_RATE+1];
Dbssdb.h206 unsigned int uTxOk[MAX_RATE+1];
207 unsigned int uTxFail[MAX_RATE+1];
Ddatarate.h55 #define MAX_RATE 12 macro
Ddevice.h533 unsigned long aulSQ3Val[MAX_RATE];
534 unsigned long aulPktNum[MAX_RATE];
562 u32 dwTPTable[MAX_RATE];
Ddpc.c62 const u8 acbyRxRate[MAX_RATE] =
189 for (byRateIdx = 0; byRateIdx <MAX_RATE ; byRateIdx++) { in s_byGetRateIdx()
190 if (acbyRxRate[byRateIdx%MAX_RATE] == byRate) in s_byGetRateIdx()
277 u8 abyVaildRate[MAX_RATE] in RXbBulkInProcessData()
320 for ( ii=RATE_1M;ii<MAX_RATE;ii++) { in RXbBulkInProcessData()
325 if ( ii==MAX_RATE ) { in RXbBulkInProcessData()
Dmib.c370 pStatistic->dwTxFail[MAX_RATE] += byRetyCnt; in STAvUpdateTDStatCounter()
392 pStatistic->dwTxOk[MAX_RATE]++; in STAvUpdateTDStatCounter()
Drxtx.c68 const u16 wTimeStampOff[2][MAX_RATE] = {
656 … pBuf->wTimeStampOff = wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]; in s_uFillDataHead()
680 … pBuf->wTimeStampOff_a = wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]; in s_uFillDataHead()
681 …f->wTimeStampOff_b = wTimeStampOff[pDevice->byPreambleType%2][pDevice->byTopCCKBasicRate%MAX_RATE]; in s_uFillDataHead()
702 … pBuf->wTimeStampOff_a = wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]; in s_uFillDataHead()
703 …f->wTimeStampOff_b = wTimeStampOff[pDevice->byPreambleType%2][pDevice->byTopCCKBasicRate%MAX_RATE]; in s_uFillDataHead()
724 … pBuf->wTimeStampOff = wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]; in s_uFillDataHead()
740 … pBuf->wTimeStampOff = wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]; in s_uFillDataHead()
757 … pBuf->wTimeStampOff = wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]; in s_uFillDataHead()
1990 … pTxDataHead->wTimeStampOff = wTimeStampOff[pDevice->byPreambleType%2][wCurrentRate%MAX_RATE]; in csBeacon_xmit()
[all …]
Dcard.c69 const u16 cwRXBCNTSFOff[MAX_RATE] =
647 wRxBcnTSFOffst = cwRXBCNTSFOff[byRxRate % MAX_RATE]; in CARDqGetTSFOffset()
Dbssdb.c1180 pMgmt->sNodeDBTable[0].uTxOk[MAX_RATE]++; in BSSvUpdateNodeTxCounter()
1201 pMgmt->sNodeDBTable[0].uTxFail[MAX_RATE]+=byTxRetry; in BSSvUpdateNodeTxCounter()
1238 pMgmt->sNodeDBTable[uNodeIndex].uTxOk[MAX_RATE]++; in BSSvUpdateNodeTxCounter()
1259 pMgmt->sNodeDBTable[uNodeIndex].uTxFail[MAX_RATE]+=byTxRetry; in BSSvUpdateNodeTxCounter()
Dbaseband.c637 const u16 awcFrameTime[MAX_RATE] =
1229 for ( ii=RATE_1M;ii<MAX_RATE;ii++) { in s_vClearSQ3Value()