ar71xx: add rssileds for Ubiquiti XM boards
authorGabor Juhos <juhosg@openwrt.org>
Sat, 12 Apr 2014 16:01:43 +0000 (16:01 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 12 Apr 2014 16:01:43 +0000 (16:01 +0000)
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>
SVN-Revision: 40471

target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

index c4d3ef8808f6861e251f77bf935b3b6df5ce90dc..29842d32e3cdea85e22b9019ee6578b4d906967c 100755 (executable)
@@ -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"
        ;;