ar71xx: ubnt-rocket-m-ti: fix RSSI LED definitions
authorLech Perczak <lech.perczak@gmail.com>
Sun, 17 Nov 2019 19:57:10 +0000 (20:57 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 21 Jan 2020 13:10:13 +0000 (14:10 +0100)
commit1b4b4e3faeac04125540cb0bd24543d94a383784
tree63b53b0d78f3314e308f49a330f914af3f2b2ce4
parentc1245ebc96c26f3281da9d01932d727dd48f0ad2
ar71xx: ubnt-rocket-m-ti: fix RSSI LED definitions

When mapping for RSSI LEDs was defined for interface wlan0 on
Ubiquiti Rocket M Titanium, it missed connection to actual interface.
Therefore create the mapping to interface, so RSSI LEDs work without
additional configuration, after starting rssileds service.

While at that, split RSSI into ~equal intervals for 6 LEDs,
and remove coefficients needed for PWM LEDs, as this board does not
support PWM LEDs.

Finally, for complete support, enable 'rssileds' package in per-device
rootfs, so the indicator works out of box.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
(cherry picked from commit 83708f233daceacebd1c49da44711cc87b49162a)
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/image/generic-ubnt.mk