diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-25 17:19:34 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-27 14:16:19 -0400 |
commit | 3468968ef766d7bb4ab29c0ef7ebd169a4ac2e96 (patch) | |
tree | 025c8015b7fbea7b55484cefcbf307bc33368a17 /include/linux/ath9k_platform.h | |
parent | a59dadbeeaf7d33f2e92dbf5a290965d6df64162 (diff) | |
download | linux-3468968ef766d7bb4ab29c0ef7ebd169a4ac2e96.tar.gz linux-3468968ef766d7bb4ab29c0ef7ebd169a4ac2e96.tar.bz2 linux-3468968ef766d7bb4ab29c0ef7ebd169a4ac2e96.zip |
ath9k: allow disabling bands via platform data
Some devices have multiple bands enables in the EEPROM data, even though
they are only calibrated for one. Allow platform data to disable
unsupported bands.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ath9k_platform.h')
-rw-r--r-- | include/linux/ath9k_platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h index 43501657bce9..33eb274cd0e6 100644 --- a/include/linux/ath9k_platform.h +++ b/include/linux/ath9k_platform.h @@ -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); |