Searched refs:ldBm (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/vt6655/ |
D | iwctl.c | 77 long ldBm; in iwctl_get_wireless_stats() local 87 RFvRSSITodBm(pDevice, (unsigned char)(pDevice->uCurrRSSI), &ldBm); in iwctl_get_wireless_stats() 88 pDevice->wstats.qual.level = ldBm; in iwctl_get_wireless_stats() 207 long ldBm; in iwctl_giwscan() local 266 RFvRSSITodBm(pDevice, (unsigned char)(pBSS->uRSSI), &ldBm); in iwctl_giwscan() 267 iwe.u.qual.level = ldBm; in iwctl_giwscan() 270 if (-ldBm < 50) in iwctl_giwscan() 272 else if (-ldBm > 90) in iwctl_giwscan() 275 iwe.u.qual.qual = (40 - (-ldBm - 50)) * 100 / 40; in iwctl_giwscan() 1494 long ldBm; in iwctl_giwsens() local [all …]
|
D | bssdb.c | 548 long ldBm; in BSSbUpdateToBSSList() local 623 RFvRSSITodBm(pDevice, (unsigned char)(pRxPacket->uRSSI), &ldBm); in BSSbUpdateToBSSList() 627 pBSSList->ldBmAverage[pBSSList->byRSSIStatCnt] = ldBm; in BSSbUpdateToBSSList() 630 pBSSList->ldBmMAX = max(pBSSList->ldBmAverage[ii], ldBm); in BSSbUpdateToBSSList() 1466 long ldBm; in s_uCalculateLinkQual() local 1480 RFvRSSITodBm(pDevice, (unsigned char)(pDevice->uCurrRSSI), &ldBm); in s_uCalculateLinkQual() 1481 if (-ldBm < 50) in s_uCalculateLinkQual() 1483 else if (-ldBm > 90) in s_uCalculateLinkQual() 1486 RssiRatio = (40-(-ldBm-50))*4000/40; in s_uCalculateLinkQual()
|
D | dpc.c | 308 long ldBm = 0; in device_receive_frame() local 374 RFvRSSITodBm(pDevice, *pbyRSSI, &ldBm); in device_receive_frame() 377 if (ldBm > ldBmThreshold) in device_receive_frame() 618 RFvRSSITodBm(pDevice, *pbyRSSI, &ldBm); in device_receive_frame() 622 pMgmt->pCurrBSS->ldBmAverage[pMgmt->pCurrBSS->byRSSIStatCnt] = ldBm; in device_receive_frame() 625 pMgmt->pCurrBSS->ldBmMAX = max(pMgmt->pCurrBSS->ldBmAverage[ii], ldBm); in device_receive_frame()
|
D | ioctl.c | 69 long ldBm; in private_ioctl() local 320 RFvRSSITodBm(pDevice, (unsigned char)(pBSS->uRSSI), &ldBm); in private_ioctl() 321 pList->sBSSIDList[ii].uRSSI = (unsigned int)ldBm; in private_ioctl()
|
D | device_main.c | 2353 long ldBm; in device_intr() local 2355 RFvRSSITodBm(pDevice, (unsigned char) pDevice->uCurrRSSI, &ldBm); in device_intr() 2357 if (ldBm < pDevice->ldBmThreshold[ii]) { in device_intr() 2368 (int)ldBm, in device_intr() 2375 (int)ldBm, in device_intr()
|