mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 19:36:44 +07:00
ath9k: Configure AR_PHY_SWITCH_COM with apropriate antenna control
This fixes the poor wireless connection which happens even if we are very well in the range. Signed-off-by: Don.breslin@atheros.com Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
ced0957442
commit
4d3601b234
@ -1244,7 +1244,7 @@ bool ath9k_hw_eeprom_set_board_values(struct ath_hal *ah,
|
||||
|
||||
txRxAttenLocal = IS_CHAN_2GHZ(chan) ? 23 : 44;
|
||||
|
||||
ath9k_hw_get_eeprom_antenna_cfg(ah, chan, 1, &ant_config);
|
||||
ath9k_hw_get_eeprom_antenna_cfg(ah, chan, 0, &ant_config);
|
||||
REG_WRITE(ah, AR_PHY_SWITCH_COM, ant_config);
|
||||
|
||||
for (i = 0; i < AR5416_MAX_CHAINS; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user