aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/572-ath9k-set-MAC-version-for-AR9550.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/572-ath9k-set-MAC-version-for-AR9550.patch')
-rw-r--r--package/mac80211/patches/572-ath9k-set-MAC-version-for-AR9550.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/mac80211/patches/572-ath9k-set-MAC-version-for-AR9550.patch b/package/mac80211/patches/572-ath9k-set-MAC-version-for-AR9550.patch
new file mode 100644
index 0000000000..866ff5fccd
--- /dev/null
+++ b/package/mac80211/patches/572-ath9k-set-MAC-version-for-AR9550.patch
@@ -0,0 +1,23 @@
+From 9bd8677ad5f1814e0f784f92d07ba8bd38c6bc13 Mon Sep 17 00:00:00 2001
+From: Gabor Juhos <juhosg@openwrt.org>
+Date: Mon, 2 Jul 2012 17:10:14 +0200
+Subject: [PATCH 03/20] ath9k: set MAC version for AR9550
+
+Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
+Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
+---
+ drivers/net/wireless/ath/ath9k/hw.c | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -343,6 +343,9 @@ static void ath9k_hw_read_revisions(stru
+ val = REG_READ(ah, AR_SREV);
+ ah->hw_version.macRev = MS(val, AR_SREV_REVISION2);
+ return;
++ case AR9300_DEVID_QCA955X:
++ ah->hw_version.macVersion = AR_SREV_VERSION_9550;
++ return;
+ }
+
+ val = REG_READ(ah, AR_SREV) & AR_SREV_ID;