ath79: ubnt-xm: create RSSI monitor on wlan0
authorLech Perczak <lech.perczak@gmail.com>
Wed, 5 Sep 2018 17:40:06 +0000 (19:40 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 10 Sep 2018 07:58:31 +0000 (09:58 +0200)
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>
target/linux/ath79/base-files/etc/board.d/01_leds

index c6a2a6dcc1e77668798c8b2b3f787ea097a39edd..7ec5300917426e9169ec3953c42f6c9b6be45f2f 100755 (executable)
@@ -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"