|
@@ -4056,7 +4056,7 @@ static u8 ar9003_hw_eeprom_get_tgt_pwr(struct ath_hw *ah,
|
|
|
* targetpower piers stored on eeprom
|
|
|
*/
|
|
|
for (i = 0; i < numPiers; i++) {
|
|
|
- freqArray[i] = FBIN2FREQ(pFreqBin[i], is2GHz);
|
|
|
+ freqArray[i] = ath9k_hw_fbin2freq(pFreqBin[i], is2GHz);
|
|
|
targetPowerArray[i] = pEepromTargetPwr[i].tPow2x[rateIndex];
|
|
|
}
|
|
|
|
|
@@ -4092,7 +4092,7 @@ static u8 ar9003_hw_eeprom_get_ht20_tgt_pwr(struct ath_hw *ah,
|
|
|
* from targetpower piers stored on eeprom
|
|
|
*/
|
|
|
for (i = 0; i < numPiers; i++) {
|
|
|
- freqArray[i] = FBIN2FREQ(pFreqBin[i], is2GHz);
|
|
|
+ freqArray[i] = ath9k_hw_fbin2freq(pFreqBin[i], is2GHz);
|
|
|
targetPowerArray[i] = pEepromTargetPwr[i].tPow2x[rateIndex];
|
|
|
}
|
|
|
|
|
@@ -4128,7 +4128,7 @@ static u8 ar9003_hw_eeprom_get_ht40_tgt_pwr(struct ath_hw *ah,
|
|
|
* targetpower piers stored on eeprom
|
|
|
*/
|
|
|
for (i = 0; i < numPiers; i++) {
|
|
|
- freqArray[i] = FBIN2FREQ(pFreqBin[i], is2GHz);
|
|
|
+ freqArray[i] = ath9k_hw_fbin2freq(pFreqBin[i], is2GHz);
|
|
|
targetPowerArray[i] = pEepromTargetPwr[i].tPow2x[rateIndex];
|
|
|
}
|
|
|
|
|
@@ -4153,7 +4153,7 @@ static u8 ar9003_hw_eeprom_get_cck_tgt_pwr(struct ath_hw *ah,
|
|
|
* targetpower piers stored on eeprom
|
|
|
*/
|
|
|
for (i = 0; i < numPiers; i++) {
|
|
|
- freqArray[i] = FBIN2FREQ(pFreqBin[i], 1);
|
|
|
+ freqArray[i] = ath9k_hw_fbin2freq(pFreqBin[i], 1);
|
|
|
targetPowerArray[i] = pEepromTargetPwr[i].tPow2x[rateIndex];
|
|
|
}
|
|
|
|
|
@@ -4450,7 +4450,7 @@ static int ar9003_hw_cal_pier_get(struct ath_hw *ah,
|
|
|
is2GHz = 1;
|
|
|
}
|
|
|
|
|
|
- *pfrequency = FBIN2FREQ(*pCalPier, is2GHz);
|
|
|
+ *pfrequency = ath9k_hw_fbin2freq(*pCalPier, is2GHz);
|
|
|
*pcorrection = pCalPierStruct->refPower;
|
|
|
*ptemperature = pCalPierStruct->tempMeas;
|
|
|
*pvoltage = pCalPierStruct->voltMeas;
|