diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-07-03 18:05:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-07-03 18:05:04 +0000 |
commit | 5ad36ca723d4cf7ddaf8a1b4eba0de43010d7ef0 (patch) | |
tree | 9f8827b4256d73c377714b32e495f436df40aedd /package/mac80211/patches/571-ath9k-define-MAC-version-for-AR9550.patch | |
parent | ff3161a6c4319fc1650879b3f7f653d907e336c4 (diff) | |
download | upstream-5ad36ca723d4cf7ddaf8a1b4eba0de43010d7ef0.tar.gz upstream-5ad36ca723d4cf7ddaf8a1b4eba0de43010d7ef0.tar.bz2 upstream-5ad36ca723d4cf7ddaf8a1b4eba0de43010d7ef0.zip |
mac80211: add support for AR9550
SVN-Revision: 32588
Diffstat (limited to 'package/mac80211/patches/571-ath9k-define-MAC-version-for-AR9550.patch')
-rw-r--r-- | package/mac80211/patches/571-ath9k-define-MAC-version-for-AR9550.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/mac80211/patches/571-ath9k-define-MAC-version-for-AR9550.patch b/package/mac80211/patches/571-ath9k-define-MAC-version-for-AR9550.patch new file mode 100644 index 0000000000..8e5a794734 --- /dev/null +++ b/package/mac80211/patches/571-ath9k-define-MAC-version-for-AR9550.patch @@ -0,0 +1,31 @@ +From b8122a3554e574b154cdf09ae843e6464d8ad1cc Mon Sep 17 00:00:00 2001 +From: Gabor Juhos <juhosg@openwrt.org> +Date: Mon, 2 Jul 2012 17:10:13 +0200 +Subject: [PATCH 02/20] ath9k: define 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/reg.h | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +--- a/drivers/net/wireless/ath/ath9k/reg.h ++++ b/drivers/net/wireless/ath/ath9k/reg.h +@@ -798,6 +798,7 @@ + #define AR_SREV_REVISION_9580_10 4 /* AR9580 1.0 */ + #define AR_SREV_VERSION_9462 0x280 + #define AR_SREV_REVISION_9462_20 2 ++#define AR_SREV_VERSION_9550 0x400 + + #define AR_SREV_5416(_ah) \ + (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \ +@@ -905,6 +906,9 @@ + (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9462) && \ + ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9462_20)) + ++#define AR_SREV_9550(_ah) \ ++ (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9550)) ++ + #define AR_SREV_9580(_ah) \ + (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9580) && \ + ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9580_10)) |