• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/vt6656/

Lines Matching refs:pStatistic

66  *      pStatistic  - Pointer to Statistic Counter Data Structure
73 void STAvClearAllCounter (PSStatCounter pStatistic)
76 memset(pStatistic, 0, sizeof(SStatCounter));
85 * pStatistic - Pointer to Statistic Counter Data Structure
93 void STAvUpdateIsrStatCounter (PSStatCounter pStatistic, BYTE byIsr0, BYTE byIsr1)
100 pStatistic->ISRStat.dwIsrUnknown++;
106 pStatistic->ISRStat.dwIsrTx0OK++; // TXDMA0 successful
109 pStatistic->ISRStat.dwIsrBeaconTxOK++; // BeaconTx successful
112 pStatistic->ISRStat.dwIsrRx0OK++; // Rx0 successful
115 pStatistic->ISRStat.dwIsrTBTTInt++; // TBTT successful
118 pStatistic->ISRStat.dwIsrSTIMERInt++;
121 pStatistic->ISRStat.dwIsrWatchDog++;
125 pStatistic->ISRStat.dwIsrUnrecoverableError++;
128 pStatistic->ISRStat.dwIsrSoftInterrupt++; // software interrupt
131 pStatistic->ISRStat.dwIsrMIBNearfull++;
134 pStatistic->ISRStat.dwIsrRxNoBuf++; // Rx No Buff
144 * pStatistic - Pointer to Statistic Counter Data Structure
155 void STAvUpdateRDStatCounter(PSStatCounter pStatistic,
164 pStatistic->dwRsrADDROk++;
166 pStatistic->dwRsrCRCOk++;
167 pStatistic->ullRsrOK++;
172 pStatistic->ullRxBroadcastFrames++;
173 pStatistic->ullRxBroadcastBytes +=
177 pStatistic->ullRxMulticastFrames++;
178 pStatistic->ullRxMulticastBytes +=
182 pStatistic->ullRxDirectedFrames++;
183 pStatistic->ullRxDirectedBytes +=
190 pStatistic->CustomStat.ullRsr11M++;
192 pStatistic->CustomStat.ullRsr11MCRCOk++;
195 (signed int) pStatistic->CustomStat.ullRsr11M,
196 (signed int) pStatistic->CustomStat.ullRsr11MCRCOk, byRSR);
199 pStatistic->CustomStat.ullRsr5M++;
201 pStatistic->CustomStat.ullRsr5MCRCOk++;
204 (signed int) pStatistic->CustomStat.ullRsr5M,
205 (signed int) pStatistic->CustomStat.ullRsr5MCRCOk, byRSR);
208 pStatistic->CustomStat.ullRsr2M++;
210 pStatistic->CustomStat.ullRsr2MCRCOk++;
213 (signed int) pStatistic->CustomStat.ullRsr2M,
214 (signed int) pStatistic->CustomStat.ullRsr2MCRCOk, byRSR);
217 pStatistic->CustomStat.ullRsr1M++;
219 pStatistic->CustomStat.ullRsr1MCRCOk++;
222 (signed int) pStatistic->CustomStat.ullRsr1M,
223 (signed int) pStatistic->CustomStat.ullRsr1MCRCOk, byRSR);
226 pStatistic->CustomStat.ullRsr6M++;
228 pStatistic->CustomStat.ullRsr6MCRCOk++;
231 (signed int) pStatistic->CustomStat.ullRsr6M,
232 (signed int) pStatistic->CustomStat.ullRsr6MCRCOk);
235 pStatistic->CustomStat.ullRsr9M++;
237 pStatistic->CustomStat.ullRsr9MCRCOk++;
240 (signed int) pStatistic->CustomStat.ullRsr9M,
241 (signed int) pStatistic->CustomStat.ullRsr9MCRCOk);
244 pStatistic->CustomStat.ullRsr12M++;
246 pStatistic->CustomStat.ullRsr12MCRCOk++;
249 (signed int) pStatistic->CustomStat.ullRsr12M,
250 (signed int) pStatistic->CustomStat.ullRsr12MCRCOk);
253 pStatistic->CustomStat.ullRsr18M++;
255 pStatistic->CustomStat.ullRsr18MCRCOk++;
258 (signed int) pStatistic->CustomStat.ullRsr18M,
259 (signed int) pStatistic->CustomStat.ullRsr18MCRCOk);
262 pStatistic->CustomStat.ullRsr24M++;
264 pStatistic->CustomStat.ullRsr24MCRCOk++;
267 (signed int) pStatistic->CustomStat.ullRsr24M,
268 (signed int) pStatistic->CustomStat.ullRsr24MCRCOk);
271 pStatistic->CustomStat.ullRsr36M++;
273 pStatistic->CustomStat.ullRsr36MCRCOk++;
276 (signed int) pStatistic->CustomStat.ullRsr36M,
277 (signed int) pStatistic->CustomStat.ullRsr36MCRCOk);
280 pStatistic->CustomStat.ullRsr48M++;
282 pStatistic->CustomStat.ullRsr48MCRCOk++;
285 (signed int) pStatistic->CustomStat.ullRsr48M,
286 (signed int) pStatistic->CustomStat.ullRsr48MCRCOk);
289 pStatistic->CustomStat.ullRsr54M++;
291 pStatistic->CustomStat.ullRsr54MCRCOk++;
294 (signed int) pStatistic->CustomStat.ullRsr54M,
295 (signed int) pStatistic->CustomStat.ullRsr54MCRCOk);
300 (signed int) pStatistic->dwRsrRxPacket+1,
301 (signed int)pStatistic->dwRsrCRCOk);
305 pStatistic->dwRsrBSSIDOk++;
308 pStatistic->dwRsrBCNSSIDOk++;
310 pStatistic->dwRsrLENErr++;
312 pStatistic->dwRsrTYPErr++;
314 pStatistic->dwRsrErr++;
317 pStatistic->dwNewRsrDECRYPTOK++;
319 pStatistic->dwNewRsrCFP++;
321 pStatistic->dwNewRsrUTSF++;
323 pStatistic->dwNewRsrHITAID++;
325 pStatistic->dwNewRsrHITAID0++;
328 pStatistic->dwRsrRxPacket++;
329 pStatistic->dwRsrRxOctet += cbFrameLength;
333 pStatistic->dwRsrRxData++;
335 pStatistic->dwRsrRxManage++;
337 pStatistic->dwRsrRxControl++;
341 pStatistic->dwRsrBroadcast++;
343 pStatistic->dwRsrMulticast++;
345 pStatistic->dwRsrDirected++;
348 pStatistic->dwRsrRxFragment++;
351 pStatistic->dwRsrRunt++;
353 pStatistic->dwRsrRxFrmLen64++;
356 pStatistic->dwRsrRxFrmLen65_127++;
359 pStatistic->dwRsrRxFrmLen128_255++;
362 pStatistic->dwRsrRxFrmLen256_511++;
365 pStatistic->dwRsrRxFrmLen512_1023++;
368 pStatistic->dwRsrRxFrmLen1024_1518++;
370 pStatistic->dwRsrLong++;
379 * pStatistic - Pointer to Statistic Counter Data Structure
393 PSStatCounter pStatistic,
403 pStatistic,
413 pStatistic->dwCntRxFrmLength = cbFrameLength;
415 memcpy(pStatistic->abyCntRxPattern, (PBYTE)pbyBuffer, 10);
424 * pStatistic - Pointer to Statistic Counter Data Structure
438 PSStatCounter pStatistic,
446 pStatistic->dwTsrTxPacket++;
450 pStatistic->dwTsrRetry++;
451 pStatistic->dwTsrTotalRetry += byRetyCnt;
452 pStatistic->dwTxFail[byRate]+= byRetyCnt;
453 pStatistic->dwTxFail[MAX_RATE] += byRetyCnt;
456 pStatistic->dwTsrOnceRetry++;
458 pStatistic->dwTsrMoreThanOnceRetry++;
461 pStatistic->dwTxRetryCount[byRetyCnt-1]++;
467 pStatistic->TxNoRetryOkCount ++;
469 pStatistic->TxRetryOkCount ++;
471 pStatistic->ullTsrOK++;
472 pStatistic->CustomStat.ullTsrAllOK++;
474 pStatistic->dwTxOk[byRate]++;
475 pStatistic->dwTxOk[MAX_RATE]++;
477 if ( pStatistic->abyTxPktInfo[byPktNum].byBroadMultiUni == TX_PKT_BROAD ) {
478 pStatistic->ullTxBroadcastFrames++;
479 pStatistic->ullTxBroadcastBytes += pStatistic->abyTxPktInfo[byPktNum].wLength;
480 } else if ( pStatistic->abyTxPktInfo[byPktNum].byBroadMultiUni == TX_PKT_MULTI ) {
481 pStatistic->ullTxMulticastFrames++;
482 pStatistic->ullTxMulticastBytes += pStatistic->abyTxPktInfo[byPktNum].wLength;
483 } else if ( pStatistic->abyTxPktInfo[byPktNum].byBroadMultiUni == TX_PKT_UNI ) {
484 pStatistic->ullTxDirectedFrames++;
485 pStatistic->ullTxDirectedBytes += pStatistic->abyTxPktInfo[byPktNum].wLength;
490 pStatistic->TxFailCount ++;
492 pStatistic->dwTsrErr++;
494 pStatistic->dwTsrRetryTimeout++;
496 pStatistic->dwTsrTransmitTimeout++;
499 if ( pStatistic->abyTxPktInfo[byPktNum].byBroadMultiUni == TX_PKT_BROAD ) {
500 pStatistic->dwTsrBroadcast++;
501 } else if ( pStatistic->abyTxPktInfo[byPktNum].byBroadMultiUni == TX_PKT_MULTI ) {
502 pStatistic->dwTsrMulticast++;
503 } else if ( pStatistic->abyTxPktInfo[byPktNum].byBroadMultiUni == TX_PKT_UNI ) {
504 pStatistic->dwTsrDirected++;
516 * pStatistic - Pointer to Statistic Counter Data Structure
527 PSStatCounter pStatistic,
536 (unsigned long long) (pStatistic->dwTsrBroadcast +
537 pStatistic->dwTsrMulticast);
538 p802_11Counter->FailedCount = (unsigned long long) (pStatistic->dwTsrErr);
539 p802_11Counter->RetryCount = (unsigned long long) (pStatistic->dwTsrRetry);
541 (unsigned long long) (pStatistic->dwTsrMoreThanOnceRetry);
549 (unsigned long long) (pStatistic->dwRsrBroadcast +
550 pStatistic->dwRsrMulticast);