Searched refs:ah_ratesArray (Results 1 – 8 of 8) sorted by relevance
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9287_reset.c | 349 OS_MEMZERO(AH5416(ah)->ah_ratesArray, in ar9287SetTransmitPower() 350 sizeof(AH5416(ah)->ah_ratesArray)); in ar9287SetTransmitPower() 365 &AH5416(ah)->ah_ratesArray[0], in ar9287SetTransmitPower() 378 maxPower = AH_MAX(AH5416(ah)->ah_ratesArray[rate6mb], in ar9287SetTransmitPower() 379 AH5416(ah)->ah_ratesArray[rateHt20_0]); in ar9287SetTransmitPower() 381 AH5416(ah)->ah_ratesArray[rate1l]); in ar9287SetTransmitPower() 385 AH5416(ah)->ah_ratesArray[rateHt40_0]); in ar9287SetTransmitPower() 396 for (i = 0; i < N(AH5416(ah)->ah_ratesArray); i++) { in ar9287SetTransmitPower() 397 AH5416(ah)->ah_ratesArray[i] = in ar9287SetTransmitPower() 399 AH5416(ah)->ah_ratesArray[i]); in ar9287SetTransmitPower() [all …]
|
H A D | ar9285_reset.c | 96 OS_MEMZERO(AH5416(ah)->ah_ratesArray, sizeof(AH5416(ah)->ah_ratesArray)); in ar9285SetTransmitPower() 110 &AH5416(ah)->ah_ratesArray[0],cfgCtl, in ar9285SetTransmitPower() 124 maxPower = AH_MAX(AH5416(ah)->ah_ratesArray[rate6mb], in ar9285SetTransmitPower() 125 AH5416(ah)->ah_ratesArray[rateHt20_0]); in ar9285SetTransmitPower() 126 maxPower = AH_MAX(maxPower, AH5416(ah)->ah_ratesArray[rate1l]); in ar9285SetTransmitPower() 129 maxPower = AH_MAX(maxPower, AH5416(ah)->ah_ratesArray[rateHt40_0]); in ar9285SetTransmitPower() 140 for (i = 0; i < N(AH5416(ah)->ah_ratesArray); i++) { in ar9285SetTransmitPower() 141 AH5416(ah)->ah_ratesArray[i] = (int16_t)(txPowerIndexOffset + AH5416(ah)->ah_ratesArray[i]); in ar9285SetTransmitPower() 143 AH5416(ah)->ah_ratesArray[i] -= AR5416_PWR_TABLE_OFFSET_DB * 2; in ar9285SetTransmitPower() 144 if (AH5416(ah)->ah_ratesArray[i] > AR5416_MAX_RATE_POWER) in ar9285SetTransmitPower() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_xmit.c | 168 return (AH5416(ah)->ah_ratesArray[rate1l]); in ar5416RateToRateTable() 170 return (AH5416(ah)->ah_ratesArray[rate2l]); in ar5416RateToRateTable() 172 return (AH5416(ah)->ah_ratesArray[rate2s]); in ar5416RateToRateTable() 174 return (AH5416(ah)->ah_ratesArray[rate5_5l]); in ar5416RateToRateTable() 176 return (AH5416(ah)->ah_ratesArray[rate5_5s]); in ar5416RateToRateTable() 178 return (AH5416(ah)->ah_ratesArray[rate11l]); in ar5416RateToRateTable() 180 return (AH5416(ah)->ah_ratesArray[rate11s]); in ar5416RateToRateTable() 186 return (AH5416(ah)->ah_ratesArray[rate6mb]); in ar5416RateToRateTable() 188 return (AH5416(ah)->ah_ratesArray[rate9mb]); in ar5416RateToRateTable() 190 return (AH5416(ah)->ah_ratesArray[rate12mb]); in ar5416RateToRateTable() [all …]
|
H A D | ar5416_reset.c | 1083 OS_MEMZERO(AH5416(ah)->ah_ratesArray, sizeof(AH5416(ah)->ah_ratesArray)); in ar5416SetTransmitPower() 1097 &AH5416(ah)->ah_ratesArray[0], in ar5416SetTransmitPower() 1112 maxPower = AH_MAX(AH5416(ah)->ah_ratesArray[rate6mb], in ar5416SetTransmitPower() 1113 AH5416(ah)->ah_ratesArray[rateHt20_0]); in ar5416SetTransmitPower() 1116 maxPower = AH_MAX(maxPower, AH5416(ah)->ah_ratesArray[rate1l]); in ar5416SetTransmitPower() 1120 maxPower = AH_MAX(maxPower, AH5416(ah)->ah_ratesArray[rateHt40_0]); in ar5416SetTransmitPower() 1131 for (i = 0; i < N(AH5416(ah)->ah_ratesArray); i++) { in ar5416SetTransmitPower() 1132 AH5416(ah)->ah_ratesArray[i] = in ar5416SetTransmitPower() 1133 (int16_t)(txPowerIndexOffset + AH5416(ah)->ah_ratesArray[i]); in ar5416SetTransmitPower() 1134 if (AH5416(ah)->ah_ratesArray[i] > AR5416_MAX_RATE_POWER) in ar5416SetTransmitPower() [all …]
|
H A D | ar5416.h | 134 int16_t ah_ratesArray[Ar5416RateSize]; member
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_reset.c | 2020 OS_MEMZERO(ahp->ah_ratesArray, sizeof(ahp->ah_ratesArray)); in ar5212SetTransmitPower() 2045 ahp->ah_ratesArray[15] += 4; in ar5212SetTransmitPower() 2050 for (i = 0; i < N(ahp->ah_ratesArray); i++) { in ar5212SetTransmitPower() 2051 ahp->ah_ratesArray[i] += ahp->ah_txPowerIndexOffset; in ar5212SetTransmitPower() 2052 if (ahp->ah_ratesArray[i] > 63) in ar5212SetTransmitPower() 2053 ahp->ah_ratesArray[i] = 63; in ar5212SetTransmitPower() 2088 POW_OFDM(ahp->ah_ratesArray[3], 24) in ar5212SetTransmitPower() 2089 | POW_OFDM(ahp->ah_ratesArray[2], 16) in ar5212SetTransmitPower() 2090 | POW_OFDM(ahp->ah_ratesArray[1], 8) in ar5212SetTransmitPower() 2091 | POW_OFDM(ahp->ah_ratesArray[0], 0) in ar5212SetTransmitPower() [all …]
|
H A D | ar5212_misc.c | 1078 *result = &ahp->ah_ratesArray[0]; in ar5212GetDiagState() 1079 *resultsize = sizeof(ahp->ah_ratesArray); in ar5212GetDiagState()
|
H A D | ar5212.h | 334 uint16_t ah_ratesArray[37]; member
|