Home
last modified time | relevance | path

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

/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_reset.c2420 int16_t ratesIndex[N(ahp->ah_ratesArray)]; in ar5212CorrectGainDelta() local
2430 OS_MEMCPY(ratesIndex, ahp->ah_ratesArray, sizeof(ratesIndex)); in ar5212CorrectGainDelta()
2435 ratesIndex[ii] -= gainDeltaAdjust; in ar5212CorrectGainDelta()
2442 if (ratesIndex[ii] < 0) in ar5212CorrectGainDelta()
2443 ratesIndex[ii] = 0; in ar5212CorrectGainDelta()
2448 if (ratesIndex[ii] == ahp->ah_ratesArray[jj]) { in ar5212CorrectGainDelta()
2450 ratesIndex[ii]++; in ar5212CorrectGainDelta()
2456 ratesIndex[ii]++; in ar5212CorrectGainDelta()
2458 ratesIndex[ii]--; in ar5212CorrectGainDelta()
2465 if (ratesIndex[ii] >= PWR_TABLE_SIZE) in ar5212CorrectGainDelta()
[all …]