ath9k: configure xpa bias level for AR9330
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Родитель
5b5c033b59
Коммит
dc9aa5fc28
|
@ -3444,7 +3444,7 @@ static void ar9003_hw_xpa_bias_level_apply(struct ath_hw *ah, bool is2ghz)
|
||||||
{
|
{
|
||||||
int bias = ar9003_hw_xpa_bias_level_get(ah, is2ghz);
|
int bias = ar9003_hw_xpa_bias_level_get(ah, is2ghz);
|
||||||
|
|
||||||
if (AR_SREV_9485(ah) || AR_SREV_9340(ah))
|
if (AR_SREV_9485(ah) || AR_SREV_9330(ah) || AR_SREV_9340(ah))
|
||||||
REG_RMW_FIELD(ah, AR_CH0_TOP2, AR_CH0_TOP2_XPABIASLVL, bias);
|
REG_RMW_FIELD(ah, AR_CH0_TOP2, AR_CH0_TOP2_XPABIASLVL, bias);
|
||||||
else {
|
else {
|
||||||
REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias);
|
REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче