| /dflybsd-src/sys/dev/netif/ath/ath_hal/ar5212/ |
| H A D | ar2425.c | 303 uint32_t idxL, idxR; in ar2425FillVpdTable() local 313 numIntercepts, &(idxL), &(idxR)); in ar2425FillVpdTable() 316 if (idxL == (uint32_t)(numIntercepts - 1)) in ar2425FillVpdTable() 317 idxL = numIntercepts - 2; /* extrapolate above */ in ar2425FillVpdTable() 318 if (pwrList[idxL] == pwrList[idxR]) in ar2425FillVpdTable() 319 kk = VpdList[idxL]; in ar2425FillVpdTable() 322 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2425FillVpdTable() 323 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2425FillVpdTable() 324 (pwrList[idxR] - pwrList[idxL])); in ar2425FillVpdTable() 365 uint32_t idxL, idxR; in ar2425getGainBoundariesAndPdadcsForPowers() local [all …]
|
| H A D | ar2317.c | 281 uint32_t idxL, idxR; in ar2317FillVpdTable() local 291 &(idxL), &(idxR)); in ar2317FillVpdTable() 294 if (idxL == (uint32_t)(numIntercepts - 1)) in ar2317FillVpdTable() 295 idxL = numIntercepts - 2; /* extrapolate above */ in ar2317FillVpdTable() 296 if (pwrList[idxL] == pwrList[idxR]) in ar2317FillVpdTable() 297 kk = VpdList[idxL]; in ar2317FillVpdTable() 300 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2317FillVpdTable() 301 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2317FillVpdTable() 302 (pwrList[idxR] - pwrList[idxL])); in ar2317FillVpdTable() 347 uint32_t idxL, idxR; in ar2317getGainBoundariesAndPdadcsForPowers() local [all …]
|
| H A D | ar2413.c | 301 uint32_t idxL, idxR; in ar2413FillVpdTable() local 311 numIntercepts, &(idxL), &(idxR)); in ar2413FillVpdTable() 314 if (idxL == (uint32_t)(numIntercepts - 1)) in ar2413FillVpdTable() 315 idxL = numIntercepts - 2; /* extrapolate above */ in ar2413FillVpdTable() 316 if (pwrList[idxL] == pwrList[idxR]) in ar2413FillVpdTable() 317 kk = VpdList[idxL]; in ar2413FillVpdTable() 320 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2413FillVpdTable() 321 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2413FillVpdTable() 322 (pwrList[idxR] - pwrList[idxL])); in ar2413FillVpdTable() 366 uint32_t idxL, idxR; in ar2413getGainBoundariesAndPdadcsForPowers() local [all …]
|
| H A D | ar2316.c | 304 uint32_t idxL, idxR; in ar2316FillVpdTable() local 314 &(idxL), &(idxR)); in ar2316FillVpdTable() 317 if (idxL == (uint32_t)(numIntercepts - 1)) in ar2316FillVpdTable() 318 idxL = numIntercepts - 2; /* extrapolate above */ in ar2316FillVpdTable() 319 if (pwrList[idxL] == pwrList[idxR]) in ar2316FillVpdTable() 320 kk = VpdList[idxL]; in ar2316FillVpdTable() 323 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2316FillVpdTable() 324 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2316FillVpdTable() 325 (pwrList[idxR] - pwrList[idxL])); in ar2316FillVpdTable() 369 uint32_t idxL, idxR; in ar2316getGainBoundariesAndPdadcsForPowers() local [all …]
|
| H A D | ar5413.c | 345 uint32_t idxL, idxR; in ar5413FillVpdTable() local 355 numIntercepts, &(idxL), &(idxR)); in ar5413FillVpdTable() 358 if (idxL == (uint32_t)(numIntercepts - 1)) in ar5413FillVpdTable() 359 idxL = numIntercepts - 2; /* extrapolate above */ in ar5413FillVpdTable() 360 if (pwrList[idxL] == pwrList[idxR]) in ar5413FillVpdTable() 361 kk = VpdList[idxL]; in ar5413FillVpdTable() 364 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar5413FillVpdTable() 365 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar5413FillVpdTable() 366 (pwrList[idxR] - pwrList[idxL])); in ar5413FillVpdTable() 410 uint32_t idxL, idxR; in ar5413getGainBoundariesAndPdadcsForPowers() local [all …]
|
| H A D | ar5112.c | 610 uint16_t idxL = 0; in getFullPwrTable() local 621 idxL++; in getFullPwrTable() 625 pcdacs[idxL], pcdacs[idxR], power[idxL], power[idxR]); in getFullPwrTable()
|
| /dflybsd-src/sys/dev/netif/ath/ath_hal/ar9002/ |
| H A D | ar9287_olc.c | 108 uint16_t idxL = 0, idxR = 0, numPiers; in ar9287olcGetTxGainIndex() local 121 pCalChans, numPiers, &idxL, &idxR); in ar9287olcGetTxGainIndex() 124 *pPwr = (int8_t) pRawDatasetOpLoop[idxL].pwrPdg[0][0]; in ar9287olcGetTxGainIndex() 126 *pPwr = ((int8_t) pRawDatasetOpLoop[idxL].pwrPdg[0][0] + in ar9287olcGetTxGainIndex()
|
| H A D | ar9280_olc.c | 66 uint16_t idxL = 0, idxR = 0, numPiers; in ar9280olcGetTxGainIndex() local 78 &idxL, &idxR); in ar9280olcGetTxGainIndex() 80 pcdac = rawDatasetOpLoop[idxL].pcdac[0][0]; in ar9280olcGetTxGainIndex() 81 *pwr = rawDatasetOpLoop[idxL].pwrPdg[0][0]; in ar9280olcGetTxGainIndex() 84 *pwr = (rawDatasetOpLoop[idxL].pwrPdg[0][0] + in ar9280olcGetTxGainIndex()
|
| H A D | ar9285_reset.c | 647 uint16_t idxL, idxR, numPiers; /* Pier indexes */ in ar9285GetGainBoundariesAndPdadcs() local 679 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); in ar9285GetGainBoundariesAndPdadcs() 684 minPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][0]; in ar9285GetGainBoundariesAndPdadcs() 685 maxPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][4]; in ar9285GetGainBoundariesAndPdadcs() 687 pRawDataSet[idxL].pwrPdg[i], in ar9285GetGainBoundariesAndPdadcs() 688 pRawDataSet[idxL].vpdPdg[i], in ar9285GetGainBoundariesAndPdadcs() 693 pVpdL = pRawDataSet[idxL].vpdPdg[i]; in ar9285GetGainBoundariesAndPdadcs() 694 pPwrL = pRawDataSet[idxL].pwrPdg[i]; in ar9285GetGainBoundariesAndPdadcs() 715 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j])); in ar9285GetGainBoundariesAndPdadcs()
|
| /dflybsd-src/sys/dev/netif/ath/ath_hal/ |
| H A D | ah.c | 1319 uint16_t idxL, idxR; in ath_ee_FillVpdTable() local 1324 &(idxL), &(idxR)); in ath_ee_FillVpdTable() 1327 if (idxL == numIntercepts - 1) in ath_ee_FillVpdTable() 1328 idxL = (uint16_t)(numIntercepts - 2); /* extrapolate above */ in ath_ee_FillVpdTable() 1329 if (pPwrList[idxL] == pPwrList[idxR]) in ath_ee_FillVpdTable() 1330 k = pVpdList[idxL]; in ath_ee_FillVpdTable() 1332 …k = (uint16_t)( ((currPwr - pPwrList[idxL]) * pVpdList[idxR] + (pPwrList[idxR] - currPwr) * pVpdLi… in ath_ee_FillVpdTable() 1333 (pPwrList[idxR] - pPwrList[idxL]) ); in ath_ee_FillVpdTable()
|
| /dflybsd-src/sys/dev/netif/ath/ath_hal/ar5416/ |
| H A D | ar5416_reset.c | 2424 uint16_t idxL, idxR, numPiers; /* Pier indexes */ in ar5416GetGainBoundariesAndPdadcs() local 2458 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); in ar5416GetGainBoundariesAndPdadcs() 2463 minPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][0]; in ar5416GetGainBoundariesAndPdadcs() 2464 maxPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][4]; in ar5416GetGainBoundariesAndPdadcs() 2465 ath_ee_FillVpdTable(minPwrT4[i], maxPwrT4[i], pRawDataSet[idxL].pwrPdg[i], in ar5416GetGainBoundariesAndPdadcs() 2466 pRawDataSet[idxL].vpdPdg[i], AR5416_PD_GAIN_ICEPTS, vpdTableI[i]); in ar5416GetGainBoundariesAndPdadcs() 2470 pVpdL = pRawDataSet[idxL].vpdPdg[i]; in ar5416GetGainBoundariesAndPdadcs() 2471 pPwrL = pRawDataSet[idxL].pwrPdg[i]; in ar5416GetGainBoundariesAndPdadcs() 2490 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j])); in ar5416GetGainBoundariesAndPdadcs()
|