aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-28 12:24:37 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-28 12:24:37 +0000
commitccd0ed7930b06438066572d775e603d540405e25 (patch)
treeb99648abef6f8f207ac50ac90f8532d00e95fa7c /target/linux
parent6fdf70526c7bc95fc10aed8b59393d16e96139a1 (diff)
downloadupstream-ccd0ed7930b06438066572d775e603d540405e25.tar.gz
upstream-ccd0ed7930b06438066572d775e603d540405e25.tar.bz2
upstream-ccd0ed7930b06438066572d775e603d540405e25.zip
AA: generic: allow to disable [25]GHz support in ath9k via platform data
Backport of r33954. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33975 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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);