ath9k: read spur frequency information from eeprom for AR9550
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
8bc45c6bf2
commit
8528f12ed7
|
@ -180,7 +180,8 @@ static void ar9003_hw_spur_mitigate_mrc_cck(struct ath_hw *ah,
|
||||||
* is out-of-band and can be ignored.
|
* is out-of-band and can be ignored.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (AR_SREV_9485(ah) || AR_SREV_9340(ah) || AR_SREV_9330(ah)) {
|
if (AR_SREV_9485(ah) || AR_SREV_9340(ah) || AR_SREV_9330(ah) ||
|
||||||
|
AR_SREV_9550(ah)) {
|
||||||
if (spur_fbin_ptr[0] == 0) /* No spur */
|
if (spur_fbin_ptr[0] == 0) /* No spur */
|
||||||
return;
|
return;
|
||||||
max_spur_cnts = 5;
|
max_spur_cnts = 5;
|
||||||
|
@ -205,7 +206,8 @@ static void ar9003_hw_spur_mitigate_mrc_cck(struct ath_hw *ah,
|
||||||
if (AR_SREV_9462(ah) && (i == 0 || i == 3))
|
if (AR_SREV_9462(ah) && (i == 0 || i == 3))
|
||||||
continue;
|
continue;
|
||||||
negative = 0;
|
negative = 0;
|
||||||
if (AR_SREV_9485(ah) || AR_SREV_9340(ah) || AR_SREV_9330(ah))
|
if (AR_SREV_9485(ah) || AR_SREV_9340(ah) || AR_SREV_9330(ah) ||
|
||||||
|
AR_SREV_9550(ah))
|
||||||
cur_bb_spur = ath9k_hw_fbin2freq(spur_fbin_ptr[i],
|
cur_bb_spur = ath9k_hw_fbin2freq(spur_fbin_ptr[i],
|
||||||
IS_CHAN_2GHZ(chan));
|
IS_CHAN_2GHZ(chan));
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue