Add support for Wavlink WL-WN572HP3

Hello. I'm trying to do this https://github.com/tsipa/openwrt/commit/a1c60a90f6163b04ea07a40962730876d4b18df6.

It works just okay, but I want to contribute this effort back to community and trying to get LEDs working properly and i'm unable to figure out mapping. The AP has 6 LEDs. 2 hardwired with ethernet and 4 other seems like gpio. I found that low and med rssi is gpio 16 and 17 but cannot find rssi high and "status".

I know that physically they work fine - they flash when i reboot the AP.
Before bootloader i see:

gpio: pin 16 (gpio 16) value is 1
gpio: pin 17 (gpio 17) value is 1
gpio: pin 3 (gpio 3) value is 1
gpio: pin 17 (gpio 17) value is 0
gpio: pin 16 (gpio 16) value is 0
gpio: pin 3 (gpio 3) value is 0
gpio: pin 4 (gpio 4) value is 0

which gives me a hint that they supposed to be 3 and 4, but they not work with gpio 3 or 4 or weird combinations of (3 && 4) (3 || 17) etc.
Could you please help me figure out what am i missing?
Where to look for in in the original firmware - tried to binwalk over it but failed to figure this out.


For the context dmesg from original FW:

Manufacturer FW (not exactly the same that produced dmesg above):
http://files.wavlink.com/fw/OUTDOOR%20AP/WN572HG3-WAVLINK_WO_20200717.bin

1 Like

WN572HP3-WAVLINK-R2-WO-20210828-18a3c56
questa è l'ultima versione del firmware originale, potrebbe servirti.