aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2018-09-05 19:40:06 +0200
committerJohn Crispin <john@phrozen.org>2018-09-10 09:58:31 +0200
commite440a9d73f89a627232d12e54b3a11420872cd55 (patch)
tree94f66eeb70cebd59046736366c8b28a15e4fda79 /target/linux
parent480bf28273926d7b30be21b7605dd4fefd07fc3a (diff)
downloadupstream-e440a9d73f89a627232d12e54b3a11420872cd55.tar.gz
upstream-e440a9d73f89a627232d12e54b3a11420872cd55.tar.bz2
upstream-e440a9d73f89a627232d12e54b3a11420872cd55.zip
ath79: ubnt-xm: create RSSI monitor on wlan0
When mapping for RSSI LEDs was defined for interface wlan0 on Ubiquiti XM family, the mapping for rssileds monitor was omitted by mistake. Therefore create the mapping, so RSSI LEDs work without additional configuration, after starting rssileds service. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index c6a2a6dcc1..7ec5300917 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -95,6 +95,7 @@ tplink,tl-wr841-v11)
ubnt,bullet-m|\
ubnt,nano-m|\
ubnt,rocket-m)
+ ucidef_set_rssimon "wlan0" "200000" "1"
ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100"
ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100"
ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link3" "wlan0" "51" "100"