aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include
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
commitcdeefe000e5b15811ccf4669dfa9b3b6f0effcad (patch)
treeb531231161955523cab6fdb8fc64d77bb9fdf56c /target/linux/generic/files/include
parentd88a6ff008b623f4effdeb068e93f2edb88bf9b2 (diff)
downloadupstream-cdeefe000e5b15811ccf4669dfa9b3b6f0effcad.tar.gz
upstream-cdeefe000e5b15811ccf4669dfa9b3b6f0effcad.tar.bz2
upstream-cdeefe000e5b15811ccf4669dfa9b3b6f0effcad.zip
generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33954 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/include')
-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 15b913730f..53b25d2296 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);