From 08ec8f0d80ba9971f90f1a8aa29b711a95a25a35 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 3 Jul 2012 18:05:04 +0000 Subject: mac80211: add support for AR9550 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32588 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...spur-frequency-information-from-eeprom-fo.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/mac80211/patches/579-ath9k-read-spur-frequency-information-from-eeprom-fo.patch (limited to 'package/mac80211/patches/579-ath9k-read-spur-frequency-information-from-eeprom-fo.patch') 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 000000000..fe2f8189d --- /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 +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 +Acked-by: Luis R. Rodriguez +--- + 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 -- cgit v1.2.3