aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-04-12 16:01:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-04-12 16:01:43 +0000
commit04eb23bc3c644130a866b65a73adcfffd49f071a (patch)
treebe7905b46760e63e088826bddce5c44a2c4e4f48 /target
parent0405c86ef9e896c949e4d2ec6db9790e3ef1c26e (diff)
downloadupstream-04eb23bc3c644130a866b65a73adcfffd49f071a.tar.gz
upstream-04eb23bc3c644130a866b65a73adcfffd49f071a.tar.bz2
upstream-04eb23bc3c644130a866b65a73adcfffd49f071a.zip
ar71xx: add rssileds for Ubiquiti XM boards
Adds support for the received signal strength indicator LEDs of the Bullet M, Nanostation M and Rocket M devices. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/5108/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40471 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index c4d3ef8808..29842d32e3 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -32,6 +32,15 @@ ap113)
ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
;;
+bullet-m | \
+nanostation-m | \
+rocket-m)
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100" "0" "13"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100" "-25" "13"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link3" "wlan0" "51" "100" "-50" "13"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
+ ;;
+
bxu2000n-2-a1)
ucidef_set_led_wlan "wlan" "WLAN" "bhu:green:wlan" "phy0tpt"
;;