aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-28 12:24:37 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-28 12:24:37 +0000
commit4fb0be29bf29a02bfa53bdae78ecff84d7bed92e (patch)
treeb99648abef6f8f207ac50ac90f8532d00e95fa7c /target/linux/generic/files
parent45ee8d395cc4d19a372497a09c3adac1b4bdd116 (diff)
downloadopenwrt-4fb0be29bf29a02bfa53bdae78ecff84d7bed92e.tar.gz
openwrt-4fb0be29bf29a02bfa53bdae78ecff84d7bed92e.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/generic/files')
-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 15b913730..53b25d229 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);