From a71a8955f20e3c3ac13323072a70362f3c9d80fd Mon Sep 17 00:00:00 2001 From: Julius Schulz-Zander Date: Fri, 21 Oct 2016 11:47:15 +0200 Subject: ar71xx: add support for TP-Link WR802N v1 This patch adds support solely for version 1 of the TP-Link WR802N. It is based on Rick Pannen's patch posted on the OpenWrt devel list. Signed-off-by: Julius Schulz-Zander --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 3 +++ target/linux/ar71xx/base-files/etc/board.d/02_network | 1 + target/linux/ar71xx/base-files/etc/diag.sh | 1 + 3 files changed, 5 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc') 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 89d0b5892b..9734189fd5 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -516,6 +516,9 @@ archer-c7) ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy1tpt" ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy0tpt" ;; +tl-wr802n-v1) + ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:system" "phy0tpt" + ;; tl-wr941nd-v6) ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0" ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index eaf67180e8..35a7407ef7 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -106,6 +106,7 @@ ar71xx_setup_interfaces() tl-wa901nd-v3|\ tl-wa901nd-v4|\ tl-wr703n|\ + tl-wr802n-v1|\ tube2h|\ unifiac-lite|\ wndap360|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index e225ddbbb5..475cb80397 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -351,6 +351,7 @@ get_status_led() { tl-wr703n|\ tl-wr710n|\ tl-wr720n-v3|\ + tl-wr802n-v1|\ tl-wr810n|\ tl-wr941nd-v6) status_led="tp-link:blue:system" -- cgit v1.2.3