mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
5ad36ca723
SVN-Revision: 32588
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From 987807e9e1a0ec0767635d0bd63003766fb527ad Mon Sep 17 00:00:00 2001
|
|
From: Gabor Juhos <juhosg@openwrt.org>
|
|
Date: Mon, 2 Jul 2012 17:16:06 +0200
|
|
Subject: [PATCH 10/20] 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>
|
|
---
|
|
drivers/net/wireless/ath/ath9k/ar9003_phy.c | 6 ++++--
|
|
1 files changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
|
|
@@ -180,7 +180,8 @@ static void ar9003_hw_spur_mitigate_mrc_
|
|
* 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)) {
|
|
spur_fbin_ptr = ar9003_get_spur_chan_ptr(ah,
|
|
IS_CHAN_2GHZ(chan));
|
|
if (spur_fbin_ptr[0] == 0) /* No spur */
|
|
@@ -207,7 +208,8 @@ static void ar9003_hw_spur_mitigate_mrc_
|
|
if (AR_SREV_9462(ah) && (i == 0 || i == 3))
|
|
continue;
|
|
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],
|
|
IS_CHAN_2GHZ(chan));
|
|
else
|