aboutsummaryrefslogtreecommitdiffstats
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
commitd77418d67e222d0cf4866f6e76e0d4b5dff6e651 (patch)
treeca2026fd99b878dc385c58c12baa732197b076c3
parent0517183b9cb942102f02f40e587162a5e92f1335 (diff)
downloadupstream-d77418d67e222d0cf4866f6e76e0d4b5dff6e651.tar.gz
upstream-d77418d67e222d0cf4866f6e76e0d4b5dff6e651.tar.bz2
upstream-d77418d67e222d0cf4866f6e76e0d4b5dff6e651.zip
ramips: add RSSI leds for uci-defaults for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33220
-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)