summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-27 08:55:36 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-27 08:55:36 +0000
commite8fc46b7c59a7ce32dd923455527ef32a7591501 (patch)
tree753f9a21193b6becf71fe3713d1ec9eb089b868e /target/linux
parentc92998f9d9287559a3d94ff799fc9e39eb3fb290 (diff)
downloadmtk-20170518-e8fc46b7c59a7ce32dd923455527ef32a7591501.zip
mtk-20170518-e8fc46b7c59a7ce32dd923455527ef32a7591501.tar.gz
mtk-20170518-e8fc46b7c59a7ce32dd923455527ef32a7591501.tar.bz2
generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33954
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/files/include/linux/ath9k_platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/ath9k_platform.h b/target/linux/generic/files/include/linux/ath9k_platform.h
index 15b9137..53b25d2 100644
--- a/target/linux/generic/files/include/linux/ath9k_platform.h
+++ b/target/linux/generic/files/include/linux/ath9k_platform.h
@@ -31,6 +31,9 @@ struct ath9k_platform_data {
bool endian_check;
bool is_clk_25mhz;
+ bool disable_2ghz;
+ bool disable_5ghz;
+
int (*get_mac_revision)(void);
int (*external_reset)(void);