ramips: Add support for Wavlink WL-WN575A3
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 01_leds
index 27e15ca..8d6bb45 100755 (executable)
@@ -312,6 +312,12 @@ whr-600d)
        ucidef_set_led_default "power" "power" "$board:green:power" "1"
        ucidef_set_led_default "router" "router" "$board:green:router" "1"
        ;;
+wl-wn575a3)
+       ucidef_set_rssimon "wlan1" "40000" "1"
+       ucidef_set_led_rssi "wifi-low" "wifi-low" "$board:green:wifi-low" "wlan1" "1" "49" "0" "1"
+       ucidef_set_led_rssi "wifi-med" "wifi-med" "$board:green:wifi-med" "wlan1" "50" "84" "0" "1"
+       ucidef_set_led_rssi "wifi-high" "wifi-high" "$board:green:wifi-high" "wlan1" "85" "100" "0" "1"
+       ;;
 wrh-300cr)
        set_wifi_led "$board:green:wlan"
        ucidef_set_led_netdev "lan" "lan" "$board:green:ethernet" "eth0"