aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-13 10:03:41 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-13 10:03:41 +0000
commit7bdf5bf8b66d27c511c27ab42988819188d6adb8 (patch)
tree882251c2a4ff312dd7130f62f17019e5af4fa265 /target/linux/ar71xx/base-files
parent4cb2ca86abed9e265560f97b15b8b6f49db89a18 (diff)
downloadupstream-7bdf5bf8b66d27c511c27ab42988819188d6adb8.tar.gz
upstream-7bdf5bf8b66d27c511c27ab42988819188d6adb8.tar.bz2
upstream-7bdf5bf8b66d27c511c27ab42988819188d6adb8.zip
ar71xx: add support for TP-LINK TL-WA860RE v1
New router/repeater from TP-LINK - CPU: Atheros AR9341-DL3A (AP123) - Flash: 4MB - Ram: 32MB Similar to TL-WA850RE. Changes: rename file after r41596 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41598 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index d2e493798f..f6c113e86f 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -167,6 +167,9 @@ get_status_led() {
tl-wa850re)
status_led="tp-link:blue:re"
;;
+ tl-wa860re)
+ status_led="tp-link:green:power"
+ ;;
tl-mr3220 | \
tl-mr3220-v2 | \
tl-mr3420 | \
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index ebc89421d4..21f049f6f5 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -234,6 +234,11 @@ tl-wa850re)
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:blue:signal5" "wlan0" "80" "100" "-79" "13"
;;
+tl-wa860re)
+ ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
+ ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+ ;;
+
tl-wa901nd)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 88a1c86dc7..dd369624e1 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -145,6 +145,9 @@ tplink_board_detect() {
"085000"*)
model="TP-Link TL-WA850RE"
;;
+ "086000"*)
+ model="TP-Link TL-WA860RE"
+ ;;
"090100"*)
model="TP-Link TL-WA901N/ND"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 8f3b563482..f7c3b9a04e 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -240,6 +240,7 @@ platform_check_image() {
tl-wa7510n | \
tl-wa750re | \
tl-wa850re | \
+ tl-wa860re | \
tl-wa801nd-v2 | \
tl-wa901nd | \
tl-wa901nd-v2 | \