From 9c5af2489a272b98930847c2dcdec207187a5baa Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 6 Dec 2016 16:18:49 +0100 Subject: ar71xx: fix LEDs and sysupgrade support for TL-WA801ND v3 Signed-off-by: Matthias Schiffer --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 ++++ target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 3 files changed, 6 insertions(+) (limited to 'target/linux/ar71xx/base-files') diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 383695ca87..a93ea1d578 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -525,6 +525,10 @@ tl-wa750re) ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:orange:signal4" "wlan0" "60" "100" "-59" "13" ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:orange:signal5" "wlan0" "80" "100" "-79" "13" ;; +tl-wa801nd-v3) + ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth1" + ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" + ;; tl-wa850re) ucidef_set_led_netdev "lan" "LAN" "tp-link:blue:lan" "eth0" ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index b18a096b59..9b9aea8a77 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -348,6 +348,7 @@ get_status_led() { tl-wr1043nd-v2|\ tl-wr741nd|\ tl-wr741nd-v4|\ + tl-wa801nd-v3|\ tl-wr841n-v1|\ tl-wr841n-v7|\ tl-wr841n-v8|\ diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 887a0f0c1e..5f4375da6a 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -363,6 +363,7 @@ platform_check_image() { tl-wa750re|\ tl-wa7510n|\ tl-wa801nd-v2|\ + tl-wa801nd-v3|\ tl-wa830re-v2|\ tl-wa850re|\ tl-wa860re|\ -- cgit v1.2.3