diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-08 14:48:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-08 14:48:30 +0000 |
commit | 765f7a61ce736b7c2686a747dc4c513912b2d76c (patch) | |
tree | 662762976cb7c651bdc3afca86220040f98233e1 /package/kernel/mac80211/patches/543-ath9k-allow-to-disable-bands-via-platform-data.patch | |
parent | 349320d64769be38c6075118cb264282ad30b47d (diff) | |
download | master-187ad058-765f7a61ce736b7c2686a747dc4c513912b2d76c.tar.gz master-187ad058-765f7a61ce736b7c2686a747dc4c513912b2d76c.tar.bz2 master-187ad058-765f7a61ce736b7c2686a747dc4c513912b2d76c.zip |
ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/543-ath9k-allow-to-disable-bands-via-platform-data.patch')
-rw-r--r-- | package/kernel/mac80211/patches/543-ath9k-allow-to-disable-bands-via-platform-data.patch | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/package/kernel/mac80211/patches/543-ath9k-allow-to-disable-bands-via-platform-data.patch b/package/kernel/mac80211/patches/543-ath9k-allow-to-disable-bands-via-platform-data.patch index 7eebe07cf4..f33ff927c4 100644 --- a/package/kernel/mac80211/patches/543-ath9k-allow-to-disable-bands-via-platform-data.patch +++ b/package/kernel/mac80211/patches/543-ath9k-allow-to-disable-bands-via-platform-data.patch @@ -1,15 +1,14 @@ --- a/include/linux/ath9k_platform.h +++ b/include/linux/ath9k_platform.h -@@ -33,6 +33,9 @@ struct ath9k_platform_data { - +@@ -34,6 +34,8 @@ struct ath9k_platform_data { bool endian_check; bool is_clk_25mhz; + bool tx_gain_buffalo; + bool disable_2ghz; + bool disable_5ghz; -+ + int (*get_mac_revision)(void); int (*external_reset)(void); - --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -2458,17 +2458,25 @@ int ath9k_hw_fill_cap_info(struct ath_hw @@ -48,7 +47,7 @@ AR_SREV_9285(ah) || --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h -@@ -936,6 +936,8 @@ struct ath_hw { +@@ -938,6 +938,8 @@ struct ath_hw { bool is_clk_25mhz; int (*get_mac_revision)(void); int (*external_reset)(void); @@ -59,7 +58,7 @@ }; --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -700,6 +700,8 @@ static int ath9k_init_softc(u16 devid, s +@@ -721,6 +721,8 @@ static int ath9k_init_softc(u16 devid, s ah->is_clk_25mhz = pdata->is_clk_25mhz; ah->get_mac_revision = pdata->get_mac_revision; ah->external_reset = pdata->external_reset; |