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:09:30 +0000 (14:09 +0100)
commit83708f233daceacebd1c49da44711cc87b49162a
treecf30ef6e48ec7d8f8b13d1eafd7aef19a2b04d6c
parent97a03a4760d8fcb86533d709939b2cc231c9e789
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>
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/image/generic-ubnt.mk