/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9287_olc.c | 110 uint16_t idxL = 0, idxR = 0, numPiers; local 123 pCalChans, numPiers, &idxL, &idxR); 126 *pPwr = (int8_t) pRawDatasetOpLoop[idxL].pwrPdg[0][0]; 128 *pPwr = ((int8_t) pRawDatasetOpLoop[idxL].pwrPdg[0][0] +
|
H A D | ar9280_olc.c | 68 uint16_t idxL = 0, idxR = 0, numPiers; local 80 &idxL, &idxR); 82 pcdac = rawDatasetOpLoop[idxL].pcdac[0][0]; 83 *pwr = rawDatasetOpLoop[idxL].pwrPdg[0][0]; 86 *pwr = (rawDatasetOpLoop[idxL].pwrPdg[0][0] +
|
H A D | ar9285_reset.c | 649 uint16_t idxL, idxR, numPiers; /* Pier indexes */ local 681 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); 686 minPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][0]; 687 maxPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][4]; 689 pRawDataSet[idxL].pwrPdg[i], 690 pRawDataSet[idxL].vpdPdg[i], 695 pVpdL = pRawDataSet[idxL].vpdPdg[i]; 696 pPwrL = pRawDataSet[idxL].pwrPdg[i]; 717 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j]));
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5413.c | 343 uint32_t idxL, idxR; local 353 numIntercepts, &(idxL), &(idxR)); 356 if (idxL == (uint32_t)(numIntercepts - 1)) 357 idxL = numIntercepts - 2; /* extrapolate above */ 358 if (pwrList[idxL] == pwrList[idxR]) 359 kk = VpdList[idxL]; 362 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 363 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 364 (pwrList[idxR] - pwrList[idxL])); 408 uint32_t idxL, idx local [all...] |
H A D | ar2316.c | 306 uint32_t idxL, idxR; local 316 &(idxL), &(idxR)); 319 if (idxL == (uint32_t)(numIntercepts - 1)) 320 idxL = numIntercepts - 2; /* extrapolate above */ 321 if (pwrList[idxL] == pwrList[idxR]) 322 kk = VpdList[idxL]; 325 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 326 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 327 (pwrList[idxR] - pwrList[idxL])); 371 uint32_t idxL, idx local [all...] |
H A D | ar2317.c | 283 uint32_t idxL, idxR; local 293 &(idxL), &(idxR)); 296 if (idxL == (uint32_t)(numIntercepts - 1)) 297 idxL = numIntercepts - 2; /* extrapolate above */ 298 if (pwrList[idxL] == pwrList[idxR]) 299 kk = VpdList[idxL]; 302 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 303 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 304 (pwrList[idxR] - pwrList[idxL])); 349 uint32_t idxL, idx local [all...] |
H A D | ar2413.c | 300 uint32_t idxL, idxR; local 310 numIntercepts, &(idxL), &(idxR)); 313 if (idxL == (uint32_t)(numIntercepts - 1)) 314 idxL = numIntercepts - 2; /* extrapolate above */ 315 if (pwrList[idxL] == pwrList[idxR]) 316 kk = VpdList[idxL]; 319 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 320 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 321 (pwrList[idxR] - pwrList[idxL])); 365 uint32_t idxL, idx local [all...] |
H A D | ar2425.c | 302 uint32_t idxL, idxR; local 312 numIntercepts, &(idxL), &(idxR)); 315 if (idxL == (uint32_t)(numIntercepts - 1)) 316 idxL = numIntercepts - 2; /* extrapolate above */ 317 if (pwrList[idxL] == pwrList[idxR]) 318 kk = VpdList[idxL]; 321 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 322 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 323 (pwrList[idxR] - pwrList[idxL])); 364 uint32_t idxL, idx local [all...] |
H A D | ar5112.c | 612 uint16_t idxL = 0; local 623 idxL++; 627 pcdacs[idxL], pcdacs[idxR], power[idxL], power[idxR]);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ |
H A D | ah.c | 1423 uint16_t idxL, idxR; local 1428 &(idxL), &(idxR)); 1431 if (idxL == numIntercepts - 1) 1432 idxL = (uint16_t)(numIntercepts - 2); /* extrapolate above */ 1433 if (pPwrList[idxL] == pPwrList[idxR]) 1434 k = pVpdList[idxL]; 1436 k = (uint16_t)( ((currPwr - pPwrList[idxL]) * pVpdList[idxR] + (pPwrList[idxR] - currPwr) * pVpdList[idxL]) / 1437 (pPwrList[idxR] - pPwrList[idxL]) );
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_reset.c | 2433 uint16_t idxL, idxR, numPiers; /* Pier indexes */ local 2465 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); 2470 minPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][0]; 2471 maxPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][4]; 2472 ath_ee_FillVpdTable(minPwrT4[i], maxPwrT4[i], pRawDataSet[idxL].pwrPdg[i], 2473 pRawDataSet[idxL].vpdPdg[i], AR5416_PD_GAIN_ICEPTS, vpdTableI[i]); 2477 pVpdL = pRawDataSet[idxL].vpdPdg[i]; 2478 pPwrL = pRawDataSet[idxL].pwrPdg[i]; 2497 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j]));
|