It would seem that I get a bit better signal results with the patch. The computer I used to test this is a Mac Mini that is stationary about 6 meter away from the N750 (There are few concrete walls in the way). For the patch I'm using the code that you submitted on r39213: err = gpio_request_one(gpio, GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, label); but on the file: /trunk/target/linux/ar71xx/patches-3.10/613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch
The GPIOs status for both firmwares is always High|Out so my guess is that the driver is setting this - similar to what is seen in the original firmware. Results for TRUNK: # cat /sys/kernel/debug/gpio GPIOs 0-22, ath79: gpio-11 (wd:blue:wireless ) out lo gpio-12 (wd:blue:internet ) out lo gpio-13 (wd:blue:wps ) out lo gpio-14 (wd:blue:power ) out hi gpio-15 (external LNA0 ) out hi gpio-17 (Reset button ) in hi gpio-18 (external LNA1 ) out hi gpio-19 (WPS button ) in hi # iw dev wlan0 station dump Station XX:XX:XX:XX:XX:61 (on wlan0) inactive time: 60 ms rx bytes: 990712 rx packets: 5310 tx bytes: 1877767 tx packets: 4214 tx retries: 1361 tx failed: 0 signal: -77 [-84, -79] dBm signal avg: -74 [-78, -77] dBm tx bitrate: 57.8 MBit/s MCS 5 short GI rx bitrate: 1.0 MBit/s authorized: yes authenticated: yes preamble: short WMM/WME: yes MFP: no TDLS peer: no ============================================================== Results for TRUNK + Patch: # cat /sys/kernel/debug/gpio GPIOs 0-22, ath79: gpio-11 (wd:blue:wireless ) out lo gpio-12 (wd:blue:internet ) out hi gpio-13 (wd:blue:wps ) out lo gpio-14 (wd:blue:power ) out hi gpio-15 (external LNA0 ) out hi gpio-17 (Reset button ) in hi gpio-18 (external LNA1 ) out hi gpio-19 (WPS button ) in hi # iw dev wlan0 station dump Station XX:XX:XX:XX:XX:61 (on wlan0) inactive time: 20 ms rx bytes: 623951 rx packets: 3515 tx bytes: 1005503 tx packets: 2255 tx retries: 774 tx failed: 0 signal: -72 [-74, -77] dBm signal avg: -73 [-75, -77] dBm tx bitrate: 52.0 MBit/s MCS 11 rx bitrate: 52.0 MBit/s MCS 11 authorized: yes authenticated: yes preamble: short WMM/WME: yes MFP: no TDLS peer: no
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel