X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Fetc%2Fboard.d%2F01_leds;h=f8c4b05b9a55e6ae194553dd683d28ba51e65310;hp=6d4bca8029ed91071b0df50a415baff9abc371ba;hb=e9a9b7d1ed76c88e097d5bc4dabf38735312558b;hpb=8ec1a66c34d85bdd13754e4171333a763aaf0a00 diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 6d4bca8029..f8c4b05b9a 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -56,6 +56,10 @@ asl26555-16M) ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0" set_wifi_led "asl26555:green:wlan" ;; +bdcom,wap2100-sk|\ +hiwifi,hc5861b) + set_wifi_led "$boardname:green:wlan2g" + ;; broadway) set_wifi_led "$boardname:red:wps_active" ;; @@ -110,6 +114,11 @@ dlink,dwr-116-a1|\ mzk-ex300np) set_wifi_led "$boardname:green:wifi" ;; +dlink,dwr-118-a1) + ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1f" + ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x20" + set_wifi_led "$boardname:green:wlan2g" "wlan1" + ;; dlink,dwr-118-a2) ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x0e" ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01" @@ -172,9 +181,6 @@ hg255d) set_wifi_led "$boardname:green:wlan" ucidef_set_led_netdev "internet" "internet" "$boardname:green:internet" "eth0.2" ;; -hiwifi,hc5861b) - set_wifi_led "$boardname:green:wlan2g" - ;; hpm) ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0" set_wifi_led "$boardname:green:wifi" @@ -235,6 +241,9 @@ mr200) ucidef_set_led_netdev "wan" "wan" "$boardname:white:wan" "usb0" set_wifi_led "$boardname:white:wlan" ;; +mtc,wr1201) + ucidef_set_led_switch "eth_link" "LAN link" "$boardname:green:eth_link" "switch0" "0x0f" + ;; mzk-ex750np) set_wifi_led "$boardname:red:wifi" ;; @@ -369,9 +378,13 @@ vocore-16M) w502u) set_wifi_led "rt2800pci-phy0::radio" ;; -wap2100-sk) - set_usb_led "$boardname:green:usb" - set_wifi_led "$boardname:green:wlan2g" +wavlink,wl-wn570ha1) + ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01" + ucidef_set_rssimon "wlan0" "200000" "1" + ucidef_set_led_rssi "wifi-low" "wifi-low" "$boardname:green:wifi-low" "wlan0" "1" "49" + ucidef_set_led_rssi "wifi-med" "wifi-med" "$boardname:green:wifi-med" "wlan0" "50" "84" + ucidef_set_led_rssi "wifi-high" "wifi-high" "$boardname:green:wifi-high" "wlan0" "85" "100" + set_wifi_led "$boardname:green:wifi" ;; we1026-5g-16m) ucidef_set_led_netdev "lan" "LAN" "we1026-5g:green:lan" "eth0"