AA: ar71xx: fix bad RX sensitivity on newer TL-WDR4300 boards
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 28 Jan 2014 17:20:08 +0000 (17:20 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 28 Jan 2014 17:20:08 +0000 (17:20 +0000)
commitcd567dd89a246d8027646ebed49a70e47a14dad6
treefa05452ee2d610b0747ad4ee0257e6ccd416abc0
parent68b2e8d619557aacb7584f53a1f38dba02ca985a
AA: ar71xx: fix bad RX sensitivity on newer TL-WDR4300 boards

Backport of r39392.

On recent TL-WDR4300 boards the external LNAs of the 2.4GHz
interface are connected to GPIO lines. Because these GPIO
lines are disabled by default, the RX sensitivity of the
device is quite bad.

Setup the GPIOs of the external LNAs to fix the issue.

[Backport note: the 'ath79_wmac_set_ext_lna_gpio' function
is not available in AA, use the 'gpio_request_one' instead.]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@39408 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c