diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-10 15:46:15 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-10 15:46:15 +0000 |
commit | dfd718d13d5351916325ff7464af88e617804cd4 (patch) | |
tree | 52b00e15e7911ad17b78bc4c7bfb7a869cdb034f /package/mac80211/patches/555-ath9k-allow-to-disable-bands-via-platform-data.patch | |
parent | 0739a2bb9cda89eb9c17088a3f1c7e9edf5b69c2 (diff) | |
download | mtk-20170518-dfd718d13d5351916325ff7464af88e617804cd4.zip mtk-20170518-dfd718d13d5351916325ff7464af88e617804cd4.tar.gz mtk-20170518-dfd718d13d5351916325ff7464af88e617804cd4.tar.bz2 |
mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34606
Diffstat (limited to 'package/mac80211/patches/555-ath9k-allow-to-disable-bands-via-platform-data.patch')
-rw-r--r-- | package/mac80211/patches/555-ath9k-allow-to-disable-bands-via-platform-data.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/mac80211/patches/555-ath9k-allow-to-disable-bands-via-platform-data.patch b/package/mac80211/patches/555-ath9k-allow-to-disable-bands-via-platform-data.patch index 9d0d28e..37a09b2 100644 --- a/package/mac80211/patches/555-ath9k-allow-to-disable-bands-via-platform-data.patch +++ b/package/mac80211/patches/555-ath9k-allow-to-disable-bands-via-platform-data.patch @@ -1,6 +1,6 @@ --- a/include/linux/ath9k_platform.h +++ b/include/linux/ath9k_platform.h -@@ -31,6 +31,9 @@ struct ath9k_platform_data { +@@ -33,6 +33,9 @@ struct ath9k_platform_data { bool endian_check; bool is_clk_25mhz; @@ -48,18 +48,18 @@ AR_SREV_9285(ah) || --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h -@@ -929,6 +929,8 @@ struct ath_hw { +@@ -930,6 +930,8 @@ struct ath_hw { bool is_clk_25mhz; int (*get_mac_revision)(void); int (*external_reset)(void); + bool disable_2ghz; + bool disable_5ghz; - }; - struct ath_bus_ops { + const struct firmware *eeprom_blob; + }; --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -541,6 +541,8 @@ static int ath9k_init_softc(u16 devid, s +@@ -591,6 +591,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; |