ar71xx: uci-defaults/leds for ALL0258N
authorGabor Juhos <juhosg@openwrt.org>
Mon, 13 Aug 2012 14:01:38 +0000 (14:01 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 13 Aug 2012 14:01:38 +0000 (14:01 +0000)
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33165

target/linux/ar71xx/base-files/etc/uci-defaults/leds

index cdbb301..d94f024 100755 (executable)
@@ -14,6 +14,13 @@ alfa-nx)
        ucidef_set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"
        ;;
 
+all0258n)
+       ucidef_set_rssimon "wlan0" "40000" "1"
+       ucidef_set_led_rssi "rssilow" "RSSILOW" "all0258n:red:rssilow" "wlan0" "1" "40" "0" "6"
+       ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0258n:yellow:rssimedium" "wlan0" "30" "80" "-29" "5"
+       ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0258n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
+       ;;
+
 ap113)
        ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
        ;;