On 8/01/2014 2:44 PM, Weedy wrote: > > On 7 Jan 2014 21:30, "Steven Haigh" <net...@crc.id.au > <mailto:net...@crc.id.au>> wrote: >> >> On 8/01/2014 9:20 AM, Felix Kaechele wrote: >> > The LNAs need to be enabled by setting their respective GPIO to high > even >> > though the original firmware's setting sets them to low on > initialization. >> > >> > Obviously the LNAs are then later initialized by the driver on the OEM >> > firmware. Without this fix the device is mostly "deaf". >> > >> > Signed-off-by: Felix Kaechele <hef...@fedoraproject.org > <mailto:hef...@fedoraproject.org>> >> > --- >> > target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n750.c | 4 ++-- >> > 1 file changed, 2 insertions(+), 2 deletions(-) >> > >> > diff --git > a/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n750.c > b/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n750.c >> > index a44a7e0..737bec2 100644 >> > --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n750.c >> > +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n750.c >> > @@ -179,10 +179,10 @@ static void __init mynet_n750_setup(void) >> > * board/ar7240/db12x/alpha_gpio.c >> > */ >> > gpio_request_one(MYNET_N750_GPIO_EXTERNAL_LNA0, >> > - GPIOF_OUT_INIT_LOW | GPIOF_EXPORT_DIR_FIXED, >> > + GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, >> > "External LNA0"); >> > gpio_request_one(MYNET_N750_GPIO_EXTERNAL_LNA1, >> > - GPIOF_OUT_INIT_LOW | GPIOF_EXPORT_DIR_FIXED, >> > + GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, >> > "External LNA1"); >> > >> > mynet_n750_get_mac("wlan24mac=", tmpmac); >> > >> >> Out of interest, would this also apply to the N600? I have this device >> and I've always thought it was 'deaf' as well.... > > The patch is two lines. Try it and tell us.
Well, I actually noticed that in the n600 [PATCH 1/2] has this already - I've applied PATCH 1/2 and building now... Will advise. -- Steven Haigh Email: net...@crc.id.au Web: https://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel