ath9k: Configure Power control register appropriately for h/w with 4k eeprom
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
5fe73197d3
commit
f40154e7f7
@@ -752,8 +752,7 @@ static bool ath9k_hw_set_4k_power_cal_table(struct ath_hw *ah,
|
|||||||
xpdGainValues[0]);
|
xpdGainValues[0]);
|
||||||
REG_RMW_FIELD(ah, AR_PHY_TPCRG1, AR_PHY_TPCRG1_PD_GAIN_2,
|
REG_RMW_FIELD(ah, AR_PHY_TPCRG1, AR_PHY_TPCRG1_PD_GAIN_2,
|
||||||
xpdGainValues[1]);
|
xpdGainValues[1]);
|
||||||
REG_RMW_FIELD(ah, AR_PHY_TPCRG1, AR_PHY_TPCRG1_PD_GAIN_3,
|
REG_RMW_FIELD(ah, AR_PHY_TPCRG1, AR_PHY_TPCRG1_PD_GAIN_3, 0);
|
||||||
xpdGainValues[2]);
|
|
||||||
|
|
||||||
for (i = 0; i < AR5416_MAX_CHAINS; i++) {
|
for (i = 0; i < AR5416_MAX_CHAINS; i++) {
|
||||||
if (AR_SREV_5416_V20_OR_LATER(ah) &&
|
if (AR_SREV_5416_V20_OR_LATER(ah) &&
|
||||||
|
Reference in New Issue
Block a user