ath9k_hw: set the PHY mode for half/quarter channels on AR9003
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
e115b7ec33
commit
08685ce30f
@ -723,6 +723,10 @@ static void ar9003_hw_set_rfmode(struct ath_hw *ah,
|
||||
|
||||
if (IS_CHAN_A_FAST_CLOCK(ah, chan))
|
||||
rfMode |= (AR_PHY_MODE_DYNAMIC | AR_PHY_MODE_DYN_CCK_DISABLE);
|
||||
if (IS_CHAN_QUARTER_RATE(chan))
|
||||
rfMode |= AR_PHY_MODE_QUARTER;
|
||||
if (IS_CHAN_HALF_RATE(chan))
|
||||
rfMode |= AR_PHY_MODE_HALF;
|
||||
|
||||
REG_WRITE(ah, AR_PHY_MODE, rfMode);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user