summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-25 19:19:34 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-10-27 21:16:19 +0300
commit3468968ef766d7bb4ab29c0ef7ebd169a4ac2e96 (patch)
tree025c8015b7fbea7b55484cefcbf307bc33368a17 /include
parenta59dadbeeaf7d33f2e92dbf5a290965d6df64162 (diff)
downloadlinux-3468968ef766d7bb4ab29c0ef7ebd169a4ac2e96.tar.xz
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')
-rw-r--r--include/linux/ath9k_platform.h2
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);