ramips: add RSSI leds for uci-defaults for ALL0256N
authorGabor Juhos <juhosg@openwrt.org>
Wed, 22 Aug 2012 09:46:30 +0000 (09:46 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 22 Aug 2012 09:46:30 +0000 (09:46 +0000)
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33220

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

index c09751daddd9337220c8b32da7394b7092d587aa..2fddc011ed1be90e38720d6de6c02801142790bd 100755 (executable)
@@ -19,6 +19,10 @@ case $board in
                set_usb_led "edimax:blue:3g"
                ;;
        all0256n)
+               ucidef_set_rssimon "wlan0" "40000" "1"
+               ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
+               ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5"
+               ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
                set_wifi_led "rt2800pci-phy0::radio"
                ;;
        bc2)