• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/vt6655/

Lines Matching defs: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, unsigned long dwIsr)
101 pStatistic->ISRStat.dwIsrUnknown++;
107 pStatistic->ISRStat.dwIsrTx0OK++; // TXDMA0 successful
110 pStatistic->ISRStat.dwIsrAC0TxOK++; // AC0DMA successful
113 pStatistic->ISRStat.dwIsrBeaconTxOK++; // BeaconTx successful
116 pStatistic->ISRStat.dwIsrRx0OK++; // Rx0 successful
119 pStatistic->ISRStat.dwIsrTBTTInt++; // TBTT successful
122 pStatistic->ISRStat.dwIsrSTIMERInt++;
125 pStatistic->ISRStat.dwIsrWatchDog++;
128 pStatistic->ISRStat.dwIsrUnrecoverableError++;
131 pStatistic->ISRStat.dwIsrSoftInterrupt++; // software interrupt
134 pStatistic->ISRStat.dwIsrMIBNearfull++;
137 pStatistic->ISRStat.dwIsrRxNoBuf++; // Rx No Buff
140 pStatistic->ISRStat.dwIsrRx1OK++; // Rx1 successful
143 // pStatistic->ISRStat.dwIsrATIMTxOK++; // ATIMTX successful
146 // pStatistic->ISRStat.dwIsrSYNCTxOK++; // SYNCTX successful
149 // pStatistic->ISRStat.dwIsrCFPEnd++;
152 // pStatistic->ISRStat.dwIsrATIMEnd++;
155 // pStatistic->ISRStat.dwIsrSYNCFlushOK++;
158 pStatistic->ISRStat.dwIsrSTIMER1Int++;
168 * pStatistic - Pointer to Statistic Counter Data Structure
179 void STAvUpdateRDStatCounter (PSStatCounter pStatistic,
187 pStatistic->dwRsrADDROk++;
189 pStatistic->dwRsrCRCOk++;
191 pStatistic->ullRsrOK++;
196 pStatistic->ullRxBroadcastFrames++;
197 pStatistic->ullRxBroadcastBytes += (unsigned long long) cbFrameLength;
200 pStatistic->ullRxMulticastFrames++;
201 pStatistic->ullRxMulticastBytes += (unsigned long long) cbFrameLength;
204 pStatistic->ullRxDirectedFrames++;
205 pStatistic->ullRxDirectedBytes += (unsigned long long) cbFrameLength;
211 pStatistic->CustomStat.ullRsr11M++;
213 pStatistic->CustomStat.ullRsr11MCRCOk++;
215 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"11M: ALL[%d], OK[%d]:[%02x]\n", (int)pStatistic->CustomStat.ullRsr11M, (int)pStatistic->CustomStat.ullRsr11MCRCOk, byRSR);
218 pStatistic->CustomStat.ullRsr5M++;
220 pStatistic->CustomStat.ullRsr5MCRCOk++;
222 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 5M: ALL[%d], OK[%d]:[%02x]\n", (int)pStatistic->CustomStat.ullRsr5M, (int)pStatistic->CustomStat.ullRsr5MCRCOk, byRSR);
225 pStatistic->CustomStat.ullRsr2M++;
227 pStatistic->CustomStat.ullRsr2MCRCOk++;
229 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 2M: ALL[%d], OK[%d]:[%02x]\n", (int)pStatistic->CustomStat.ullRsr2M, (int)pStatistic->CustomStat.ullRsr2MCRCOk, byRSR);
232 pStatistic->CustomStat.ullRsr1M++;
234 pStatistic->CustomStat.ullRsr1MCRCOk++;
236 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 1M: ALL[%d], OK[%d]:[%02x]\n", (int)pStatistic->CustomStat.ullRsr1M, (int)pStatistic->CustomStat.ullRsr1MCRCOk, byRSR);
239 pStatistic->CustomStat.ullRsr6M++;
241 pStatistic->CustomStat.ullRsr6MCRCOk++;
243 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 6M: ALL[%d], OK[%d]\n", (int)pStatistic->CustomStat.ullRsr6M, (int)pStatistic->CustomStat.ullRsr6MCRCOk);
246 pStatistic->CustomStat.ullRsr9M++;
248 pStatistic->CustomStat.ullRsr9MCRCOk++;
250 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 9M: ALL[%d], OK[%d]\n", (int)pStatistic->CustomStat.ullRsr9M, (int)pStatistic->CustomStat.ullRsr9MCRCOk);
253 pStatistic->CustomStat.ullRsr12M++;
255 pStatistic->CustomStat.ullRsr12MCRCOk++;
257 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"12M: ALL[%d], OK[%d]\n", (int)pStatistic->CustomStat.ullRsr12M, (int)pStatistic->CustomStat.ullRsr12MCRCOk);
260 pStatistic->CustomStat.ullRsr18M++;
262 pStatistic->CustomStat.ullRsr18MCRCOk++;
264 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"18M: ALL[%d], OK[%d]\n", (int)pStatistic->CustomStat.ullRsr18M, (int)pStatistic->CustomStat.ullRsr18MCRCOk);
267 pStatistic->CustomStat.ullRsr24M++;
269 pStatistic->CustomStat.ullRsr24MCRCOk++;
271 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"24M: ALL[%d], OK[%d]\n", (int)pStatistic->CustomStat.ullRsr24M, (int)pStatistic->CustomStat.ullRsr24MCRCOk);
274 pStatistic->CustomStat.ullRsr36M++;
276 pStatistic->CustomStat.ullRsr36MCRCOk++;
278 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"36M: ALL[%d], OK[%d]\n", (int)pStatistic->CustomStat.ullRsr36M, (int)pStatistic->CustomStat.ullRsr36MCRCOk);
281 pStatistic->CustomStat.ullRsr48M++;
283 pStatistic->CustomStat.ullRsr48MCRCOk++;
285 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"48M: ALL[%d], OK[%d]\n", (int)pStatistic->CustomStat.ullRsr48M, (int)pStatistic->CustomStat.ullRsr48MCRCOk);
288 pStatistic->CustomStat.ullRsr54M++;
290 pStatistic->CustomStat.ullRsr54MCRCOk++;
292 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"54M: ALL[%d], OK[%d]\n", (int)pStatistic->CustomStat.ullRsr54M, (int)pStatistic->CustomStat.ullRsr54MCRCOk);
295 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"Unknown: Total[%d], CRCOK[%d]\n", (int)pStatistic->dwRsrRxPacket+1, (int)pStatistic->dwRsrCRCOk);
299 pStatistic->dwRsrBSSIDOk++;
302 pStatistic->dwRsrBCNSSIDOk++;
304 pStatistic->dwRsrLENErr++;
306 pStatistic->dwRsrTYPErr++;
308 pStatistic->dwRsrErr++;
311 pStatistic->dwNewRsrDECRYPTOK++;
313 pStatistic->dwNewRsrCFP++;
315 pStatistic->dwNewRsrUTSF++;
317 pStatistic->dwNewRsrHITAID++;
319 pStatistic->dwNewRsrHITAID0++;
322 pStatistic->dwRsrRxPacket++;
323 pStatistic->dwRsrRxOctet += cbFrameLength;
327 pStatistic->dwRsrRxData++;
329 pStatistic->dwRsrRxManage++;
331 pStatistic->dwRsrRxControl++;
335 pStatistic->dwRsrBroadcast++;
337 pStatistic->dwRsrMulticast++;
339 pStatistic->dwRsrDirected++;
342 pStatistic->dwRsrRxFragment++;
345 pStatistic->dwRsrRunt++;
348 pStatistic->dwRsrRxFrmLen64++;
351 pStatistic->dwRsrRxFrmLen65_127++;
354 pStatistic->dwRsrRxFrmLen128_255++;
357 pStatistic->dwRsrRxFrmLen256_511++;
360 pStatistic->dwRsrRxFrmLen512_1023++;
363 pStatistic->dwRsrRxFrmLen1024_1518++;
365 pStatistic->dwRsrLong++;
377 * pStatistic - Pointer to Statistic Counter Data Structure
391 PSStatCounter pStatistic,
400 pStatistic,
409 pStatistic->dwCntRxFrmLength = cbFrameLength;
411 memcpy(pStatistic->abyCntRxPattern, (unsigned char *)pbyBuffer, 10);
420 * pStatistic - Pointer to Statistic Counter Data Structure
434 PSStatCounter pStatistic,
456 pStatistic->dwTsrTxPacket[uIdx]++;
457 pStatistic->dwTsrTxOctet[uIdx] += cbFrameLength;
460 pStatistic->dwTsrRetry[uIdx]++;
461 pStatistic->dwTsrTotalRetry[uIdx] += byTSR0_NCR;
464 pStatistic->dwTsrOnceRetry[uIdx]++;
466 pStatistic->dwTsrMoreThanOnceRetry[uIdx]++;
470 pStatistic->ullTsrOK[uIdx]++;
471 pStatistic->CustomStat.ullTsrAllOK =
472 (pStatistic->ullTsrOK[TYPE_AC0DMA] + pStatistic->ullTsrOK[TYPE_TXDMA0]);
475 pStatistic->ullTxBroadcastFrames[uIdx]++;
476 pStatistic->ullTxBroadcastBytes[uIdx] += (unsigned long long) cbFrameLength;
479 pStatistic->ullTxMulticastFrames[uIdx]++;
480 pStatistic->ullTxMulticastBytes[uIdx] += (unsigned long long) cbFrameLength;
483 pStatistic->ullTxDirectedFrames[uIdx]++;
484 pStatistic->ullTxDirectedBytes[uIdx] += (unsigned long long) cbFrameLength;
489 pStatistic->dwTsrErr[uIdx]++;
491 pStatistic->dwTsrRetryTimeout[uIdx]++;
493 pStatistic->dwTsrTransmitTimeout[uIdx]++;
495 pStatistic->dwTsrACKData[uIdx]++;
499 pStatistic->dwTsrBroadcast[uIdx]++;
501 pStatistic->dwTsrMulticast[uIdx]++;
503 pStatistic->dwTsrDirected[uIdx]++;
513 * pStatistic - Pointer to Statistic Counter Data Structure
524 PSStatCounter pStatistic,
534 pStatistic->dwCntTxBufLength = uPktLength;
536 memcpy(pStatistic->abyCntTxPattern, pbyBuffer, 16);
546 * pStatistic - Pointer to Statistic Counter Data Structure
557 PSStatCounter pStatistic,
562 p802_11Counter->MulticastTransmittedFrameCount = (unsigned long long) (pStatistic->dwTsrBroadcast[TYPE_AC0DMA] +
563 pStatistic->dwTsrBroadcast[TYPE_TXDMA0] +
564 pStatistic->dwTsrMulticast[TYPE_AC0DMA] +
565 pStatistic->dwTsrMulticast[TYPE_TXDMA0]);
566 p802_11Counter->FailedCount = (unsigned long long) (pStatistic->dwTsrErr[TYPE_AC0DMA] + pStatistic->dwTsrErr[TYPE_TXDMA0]);
567 p802_11Counter->RetryCount = (unsigned long long) (pStatistic->dwTsrRetry[TYPE_AC0DMA] + pStatistic->dwTsrRetry[TYPE_TXDMA0]);
568 p802_11Counter->MultipleRetryCount = (unsigned long long) (pStatistic->dwTsrMoreThanOnceRetry[TYPE_AC0DMA] +
569 pStatistic->dwTsrMoreThanOnceRetry[TYPE_TXDMA0]);
576 p802_11Counter->MulticastReceivedFrameCount = (unsigned long long) (pStatistic->dwRsrBroadcast +
577 pStatistic->dwRsrMulticast);