summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/583-ath9k-fix-RF-channel-frequency-configuration-for-AR9.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-10 00:21:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-10 00:21:25 +0000
commitb01eb369ce4b236f214c74dc7a30f65474ddf8d3 (patch)
tree5b2c6f7f1a90ddd05e706bbe1dbce54223eea283 /package/mac80211/patches/583-ath9k-fix-RF-channel-frequency-configuration-for-AR9.patch
parent718ffca5834751d2a352dd7a1fc6b9c09b0aeef5 (diff)
mac80211: update to latest version, fix tx gain patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32655 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/583-ath9k-fix-RF-channel-frequency-configuration-for-AR9.patch')
-rw-r--r--package/mac80211/patches/583-ath9k-fix-RF-channel-frequency-configuration-for-AR9.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/package/mac80211/patches/583-ath9k-fix-RF-channel-frequency-configuration-for-AR9.patch b/package/mac80211/patches/583-ath9k-fix-RF-channel-frequency-configuration-for-AR9.patch
deleted file mode 100644
index b191bfd22..000000000
--- a/package/mac80211/patches/583-ath9k-fix-RF-channel-frequency-configuration-for-AR9.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 5e08c36e3ef57712fee83248d0db3d2837e13f5f Mon Sep 17 00:00:00 2001
-From: Gabor Juhos <juhosg@openwrt.org>
-Date: Mon, 2 Jul 2012 17:15:58 +0200
-Subject: [PATCH 14/20] ath9k: fix RF channel frequency configuration 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 | 5 +++--
- 1 files changed, 3 insertions(+), 2 deletions(-)
-
---- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
-+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
-@@ -99,7 +99,7 @@ static int ar9003_hw_set_channel(struct
- channelSel = (freq * 4) / 120;
- chan_frac = (((freq * 4) % 120) * 0x20000) / 120;
- channelSel = (channelSel << 17) | chan_frac;
-- } else if (AR_SREV_9340(ah)) {
-+ } else if (AR_SREV_9340(ah) || AR_SREV_9550(ah)) {
- if (ah->is_clk_25mhz) {
- u32 chan_frac;
-
-@@ -113,7 +113,8 @@ static int ar9003_hw_set_channel(struct
- /* Set to 2G mode */
- bMode = 1;
- } else {
-- if (AR_SREV_9340(ah) && ah->is_clk_25mhz) {
-+ if ((AR_SREV_9340(ah) || AR_SREV_9550(ah)) &&
-+ ah->is_clk_25mhz) {
- u32 chan_frac;
-
- channelSel = (freq * 2) / 75;