AA: ar71xx: fix bad RX sensitivity on newer TL-WDR4300 boards
authorGabor Juhos <juhosg@openwrt.org>
Tue, 28 Jan 2014 17:20:08 +0000 (17:20 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 28 Jan 2014 17:20:08 +0000 (17:20 +0000)
commit86396b8450fa75a921b8b9bb0424c18ccd1ec64e
treefa05452ee2d610b0747ad4ee0257e6ccd416abc0
parentcdc5c0d18808531828fac8fba6a7fca8f0aedf1b
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>
SVN-Revision: 39408
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c