aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-13 14:01:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-13 14:01:38 +0000
commit5fc4b7f5fd2ce2a5bc528a6857fbe9bc9fd7bf07 (patch)
tree873d17f1cd4234f64f5c85e66740e1ec0c39b604
parentca857b7a50506047aff1fef7b8ed3faa31f5075b (diff)
downloadupstream-5fc4b7f5fd2ce2a5bc528a6857fbe9bc9fd7bf07.tar.gz
upstream-5fc4b7f5fd2ce2a5bc528a6857fbe9bc9fd7bf07.tar.bz2
upstream-5fc4b7f5fd2ce2a5bc528a6857fbe9bc9fd7bf07.zip
ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33165
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index cdbb30185d..d94f024ffe 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -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"
;;