aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-22 09:46:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-22 09:46:30 +0000
commit9bf14cd6d7d31f27de142ea54231c6a1a7be68dd (patch)
treed7d1b2f1c989b8ee888a6ba7d69a9b8c4ddc15f5 /target/linux
parent0f8b30ebfb40401df33a5e86c0b4c425bd89b4fe (diff)
downloadupstream-9bf14cd6d7d31f27de142ea54231c6a1a7be68dd.tar.gz
upstream-9bf14cd6d7d31f27de142ea54231c6a1a7be68dd.tar.bz2
upstream-9bf14cd6d7d31f27de142ea54231c6a1a7be68dd.zip
ramips: add RSSI leds for uci-defaults for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33220 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index c09751dadd..2fddc011ed 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -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)