Skip the OFDM weak signal threshold detection programming for
AR9462/AR9565. This and some upcoming changes to the HAL for these chips should address some of the signal sensitivity reported by users. Tested: * AR9462 (WB222), STA mode Obtained from: Linux ath9k
This commit is contained in:
parent
e982e5c561
commit
091855cd9e
@ -484,6 +484,9 @@ ar9300_ani_control(struct ath_hal *ah, HAL_ANI_CMD cmd, int param)
|
|||||||
*/
|
*/
|
||||||
is_on = param ? 1 : 0;
|
is_on = param ? 1 : 0;
|
||||||
|
|
||||||
|
if (AR_SREV_JUPITER(ah) || AR_SREV_APHRODITE(ah))
|
||||||
|
goto skip_ws_det;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* make register setting for default (weak sig detect ON)
|
* make register setting for default (weak sig detect ON)
|
||||||
* come from INI file
|
* come from INI file
|
||||||
@ -528,6 +531,7 @@ ar9300_ani_control(struct ath_hal *ah, HAL_ANI_CMD cmd, int param)
|
|||||||
m1_thresh_ext);
|
m1_thresh_ext);
|
||||||
OS_REG_RMW_FIELD(ah, AR_PHY_SFCORR_EXT, AR_PHY_SFCORR_EXT_M2_THRESH,
|
OS_REG_RMW_FIELD(ah, AR_PHY_SFCORR_EXT, AR_PHY_SFCORR_EXT_M2_THRESH,
|
||||||
m2_thresh_ext);
|
m2_thresh_ext);
|
||||||
|
skip_ws_det:
|
||||||
if (is_on) {
|
if (is_on) {
|
||||||
OS_REG_SET_BIT(ah, AR_PHY_SFCORR_LOW,
|
OS_REG_SET_BIT(ah, AR_PHY_SFCORR_LOW,
|
||||||
AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW);
|
AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user