Home
last modified time | relevance | path

Searched refs:scStatistic (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/drivers/staging/vt6656/
Dint.c106 STAvUpdateTDStatCounter(&(pDevice->scStatistic), in INTnsProcessData()
111 &(pDevice->scStatistic), in INTnsProcessData()
117 STAvUpdateTDStatCounter(&(pDevice->scStatistic), in INTnsProcessData()
122 &(pDevice->scStatistic), in INTnsProcessData()
128 STAvUpdateTDStatCounter(&(pDevice->scStatistic), in INTnsProcessData()
133 &(pDevice->scStatistic), in INTnsProcessData()
139 STAvUpdateTDStatCounter(&(pDevice->scStatistic), in INTnsProcessData()
144 &(pDevice->scStatistic), in INTnsProcessData()
197 &pDevice->scStatistic, in INTnsProcessData()
202 STAvUpdateIsrStatCounter(&pDevice->scStatistic, in INTnsProcessData()
[all …]
Dbssdb.c1577 TxCnt = pDevice->scStatistic.TxNoRetryOkCount + in s_uCalculateLinkQual()
1578 pDevice->scStatistic.TxRetryOkCount + in s_uCalculateLinkQual()
1579 pDevice->scStatistic.TxFailCount; in s_uCalculateLinkQual()
1580 RxCnt = pDevice->scStatistic.RxFcsErrCnt + in s_uCalculateLinkQual()
1581 pDevice->scStatistic.RxOkCnt; in s_uCalculateLinkQual()
1582 TxOkRatio = (TxCnt < 6) ? 4000:((pDevice->scStatistic.TxNoRetryOkCount * 4000) / TxCnt); in s_uCalculateLinkQual()
1583 RxOkRatio = (RxCnt < 6) ? 2000:((pDevice->scStatistic.RxOkCnt * 2000) / RxCnt); in s_uCalculateLinkQual()
1588 pDevice->scStatistic.LinkQuality = 0; in s_uCalculateLinkQual()
1589 pDevice->scStatistic.SignalStren = 0; in s_uCalculateLinkQual()
1603 pDevice->scStatistic.SignalStren = RssiRatio/40; in s_uCalculateLinkQual()
[all …]
Dusbpipe.c452 STAvUpdateUSBCounter(&pDevice->scStatistic.USB_InterruptStat, ntStatus); in s_nsInterruptUsbIoCompleteRead()
571 pDevice->scStatistic.RxFcsErrCnt ++; in s_nsBulkInUsbIoCompleteRead()
585 pDevice->scStatistic.RxOkCnt ++; in s_nsBulkInUsbIoCompleteRead()
589 STAvUpdateUSBCounter(&pDevice->scStatistic.USB_BulkInStat, status); in s_nsBulkInUsbIoCompleteRead()
736 STAvUpdateUSBCounter(&pDevice->scStatistic.USB_BulkOutStat, status); in s_nsBulkOutIoCompleteWrite()
Diwctl.c85 if(pDevice->scStatistic.LinkQuality > 100) in iwctl_get_wireless_stats()
86 pDevice->scStatistic.LinkQuality = 100; in iwctl_get_wireless_stats()
87 pDevice->wstats.qual.qual =(BYTE) pDevice->scStatistic.LinkQuality; in iwctl_get_wireless_stats()
96 pDevice->wstats.discard.retries = pDevice->scStatistic.dwTsrErr; in iwctl_get_wireless_stats()
Ddevice.h535 SStatCounter scStatistic; member
Dioctl.c378 if (copy_to_user(pReq->data, &(pDevice->scStatistic), sizeof(SStatCounter))) { in private_ioctl()
Ddpc.c432 STAvUpdateRDStatCounter(&pDevice->scStatistic, in RXbBulkInProcessData()
Drxtx.c301 PSStatCounter pStatistic=&(pDevice->scStatistic); in s_vSaveTxPktInfo()
/linux-2.6.39/drivers/staging/vt6655/
Dbssdb.c1681 TxCnt = pDevice->scStatistic.TxNoRetryOkCount + in s_uCalculateLinkQual()
1682 pDevice->scStatistic.TxRetryOkCount + in s_uCalculateLinkQual()
1683 pDevice->scStatistic.TxFailCount; in s_uCalculateLinkQual()
1684 RxCnt = pDevice->scStatistic.RxFcsErrCnt + in s_uCalculateLinkQual()
1685 pDevice->scStatistic.RxOkCnt; in s_uCalculateLinkQual()
1686 TxOkRatio = (TxCnt < 6) ? 4000:((pDevice->scStatistic.TxNoRetryOkCount * 4000) / TxCnt); in s_uCalculateLinkQual()
1687 RxOkRatio = (RxCnt < 6) ? 2000:((pDevice->scStatistic.RxOkCnt * 2000) / RxCnt); in s_uCalculateLinkQual()
1692 pDevice->scStatistic.LinkQuality = 0; in s_uCalculateLinkQual()
1693 pDevice->scStatistic.SignalStren = 0; in s_uCalculateLinkQual()
1707 pDevice->scStatistic.SignalStren = RssiRatio/40; in s_uCalculateLinkQual()
[all …]
Diwctl.c90 pDevice->scStatistic.LinkQuality = 100; in iwctl_get_wireless_stats()
92 pDevice->scStatistic.LinkQuality = pDevice->byCurrSQ*100/120; in iwctl_get_wireless_stats()
96 pDevice->scStatistic.LinkQuality = 100; in iwctl_get_wireless_stats()
98 pDevice->scStatistic.LinkQuality = 0; in iwctl_get_wireless_stats()
100 pDevice->scStatistic.LinkQuality = (96-pDevice->byCurrSQ)*100/76; in iwctl_get_wireless_stats()
103 pDevice->scStatistic.LinkQuality = 0; in iwctl_get_wireless_stats()
105 if(pDevice->scStatistic.LinkQuality > 100) in iwctl_get_wireless_stats()
106 pDevice->scStatistic.LinkQuality = 100; in iwctl_get_wireless_stats()
107 pDevice->wstats.qual.qual =(unsigned char) pDevice->scStatistic.LinkQuality; in iwctl_get_wireless_stats()
119 pDevice->wstats.discard.retries = (unsigned long)pDevice->scStatistic.dwTsrErr; in iwctl_get_wireless_stats()
Ddevice.h490 SStatCounter scStatistic; member
Dioctl.c383 if (copy_to_user(pReq->data, &(pDevice->scStatistic), sizeof(SStatCounter))) { in private_ioctl()
Ddevice_main.c1702 STAvUpdateTDStatCounter(&pDevice->scStatistic, in device_tx_srv()
2728 STAvUpdate802_11Counter(&pDevice->s802_11Counter, &pDevice->scStatistic , dwMIBCounter); in device_intr()
2731 STAvUpdateIsrStatCounter(&pDevice->scStatistic, pDevice->dwIsr); in device_intr()
Ddpc.c405 STAvUpdateRDStatCounter(&pDevice->scStatistic, in device_receive_frame()