summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:53 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:53 +0000
commit02cb5f9dcd75370d6796a5c828782fc2858db0ae (patch)
tree4c2895fa6b4d113802f613e489c19e4ea20b5d5c
parentb0da5b73b808d911442e75cecebb6543b4537a2f (diff)
downloadmtk-20170518-02cb5f9dcd75370d6796a5c828782fc2858db0ae.zip
mtk-20170518-02cb5f9dcd75370d6796a5c828782fc2858db0ae.tar.gz
mtk-20170518-02cb5f9dcd75370d6796a5c828782fc2858db0ae.tar.bz2
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
SVN-Revision: 33308
-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 0082ffe..5e2e9ac 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -21,6 +21,13 @@ all0258n)
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0258n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
;;
+all0315n)
+ ucidef_set_rssimon "wlan0" "40000" "1"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "all0315n:red:rssilow" "wlan0" "1" "40" "0" "6"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0315n:yellow:rssimedium" "wlan0" "30" "80" "-29" "5"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0315n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
+ ;;
+
ap113)
ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
;;