diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-08 14:48:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-08 14:48:30 +0000 |
commit | 765f7a61ce736b7c2686a747dc4c513912b2d76c (patch) | |
tree | 662762976cb7c651bdc3afca86220040f98233e1 /target/linux | |
parent | 349320d64769be38c6075118cb264282ad30b47d (diff) | |
download | upstream-765f7a61ce736b7c2686a747dc4c513912b2d76c.tar.gz upstream-765f7a61ce736b7c2686a747dc4c513912b2d76c.tar.bz2 upstream-765f7a61ce736b7c2686a747dc4c513912b2d76c.zip |
ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g450h.c | 3 | ||||
-rw-r--r-- | target/linux/generic/files/include/linux/ath9k_platform.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g450h.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g450h.c index 03b63c9eec..a559d732d7 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g450h.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g450h.c @@ -13,6 +13,7 @@ #include <linux/gpio.h> #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> +#include <linux/ath9k_platform.h> #include <asm/mach-ath79/ath79.h> @@ -153,6 +154,8 @@ static void __init wzrhpg450h_init(void) ath79_register_usb(); ap91_pci_init(ee, NULL); + ap9x_pci_get_wmac_data(0)->tx_gain_buffalo = true; + ap9x_pci_get_wmac_data(1)->tx_gain_buffalo = true; ap9x_pci_setup_wmac_led_pin(0, 15); ap9x_pci_setup_wmac_leds(0, wzrhpg450h_wmac_leds_gpio, ARRAY_SIZE(wzrhpg450h_wmac_leds_gpio)); diff --git a/target/linux/generic/files/include/linux/ath9k_platform.h b/target/linux/generic/files/include/linux/ath9k_platform.h index a0b7531fdb..3498780e3c 100644 --- a/target/linux/generic/files/include/linux/ath9k_platform.h +++ b/target/linux/generic/files/include/linux/ath9k_platform.h @@ -33,6 +33,7 @@ struct ath9k_platform_data { bool endian_check; bool is_clk_25mhz; + bool tx_gain_buffalo; bool disable_2ghz; bool disable_5ghz; |