aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/579-ath9k-read-spur-frequency-information-from-eeprom-fo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/579-ath9k-read-spur-frequency-information-from-eeprom-fo.patch')
-rw-r--r--package/mac80211/patches/579-ath9k-read-spur-frequency-information-from-eeprom-fo.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/mac80211/patches/579-ath9k-read-spur-frequency-information-from-eeprom-fo.patch b/package/mac80211/patches/579-ath9k-read-spur-frequency-information-from-eeprom-fo.patch
new file mode 100644
index 0000000000..fe2f8189d1
--- /dev/null
+++ b/package/mac80211/patches/579-ath9k-read-spur-frequency-information-from-eeprom-fo.patch
@@ -0,0 +1,33 @@
+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