aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJulius Schulz-Zander <julius@inet.tu-berlin.de>2016-10-21 11:47:15 +0200
committerJohn Crispin <john@phrozen.org>2016-10-26 12:37:45 +0200
commita71a8955f20e3c3ac13323072a70362f3c9d80fd (patch)
tree4c2b7dc4a48bea3a2716c5ec4e2b5ed58e7eac4d /target/linux/ar71xx/base-files/etc
parentda1b33fc4dcab8453b70b4ee87e7b46a34c99acb (diff)
downloadupstream-a71a8955f20e3c3ac13323072a70362f3c9d80fd.tar.gz
upstream-a71a8955f20e3c3ac13323072a70362f3c9d80fd.tar.bz2
upstream-a71a8955f20e3c3ac13323072a70362f3c9d80fd.zip
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 <julius@inet.tu-berlin.de>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh1
3 files changed, 5 insertions, 0 deletions
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"