mirror of https://github.com/hak5/openwrt.git
ar71xx: Fix WD My Net N750 weak signal issue
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 <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4688/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39213lede-17.01
parent
8384c0dba0
commit
01727717f7
|
@ -179,10 +179,10 @@ static void __init mynet_n750_setup(void)
|
||||||
* board/ar7240/db12x/alpha_gpio.c
|
* board/ar7240/db12x/alpha_gpio.c
|
||||||
*/
|
*/
|
||||||
gpio_request_one(MYNET_N750_GPIO_EXTERNAL_LNA0,
|
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");
|
"External LNA0");
|
||||||
gpio_request_one(MYNET_N750_GPIO_EXTERNAL_LNA1,
|
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");
|
"External LNA1");
|
||||||
|
|
||||||
mynet_n750_get_mac("wlan24mac=", tmpmac);
|
mynet_n750_get_mac("wlan24mac=", tmpmac);
|
||||||
|
|
Loading…
Reference in New Issue