ramips: add support for D-Link DAP-1325-A1
[openwrt/openwrt.git] / target / linux / ramips / mt76x8 / base-files / etc / board.d / 01_leds
index e2fb44c81e0a4ba9676e7b0ebf2cd0d0fccf21e0..98a693c2e93ed8654de002d1f4277034920098cf 100644 (file)
@@ -24,6 +24,13 @@ cudy,wr1000)
        ucidef_set_led_switch "lan1" "lan1" "blue:lan1" "switch0" "0x08"
        ucidef_set_led_switch "lan2" "lan2" "blue:lan2" "switch0" "0x04"
        ;;
+dlink,dap-1325-a1)
+       ucidef_set_rssimon "wlan0" "200000" "1"
+       ucidef_set_led_rssi "wifi-verylow" "wifi-verylow" "red:wifi-verylow" "wlan0" "1" "24"
+       ucidef_set_led_rssi "wifi-low" "wifi-low" "green:wifi-low" "wlan0" "25" "100"
+       ucidef_set_led_rssi "wifi-med" "wifi-med" "green:wifi-mid" "wlan0" "50" "100"
+       ucidef_set_led_rssi "wifi-high" "wifi-high" "green:wifi-high" "wlan0" "75" "100"
+       ;;
 elecom,wrc-1167fs)
        ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x8"
        ucidef_set_led_switch "internet" "internet" "green:internet" "switch0" "0x10"