aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-11-11 08:04:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-11-11 08:04:47 +0000
commitd4cc7aac4b2113cc9a757cc1e9a5c6390005329e (patch)
tree40df385e9a54df069ea89cf2782de1e868624869 /target/linux
parent79163c8919d344bc1fa0f84c9883fd02148c4c1c (diff)
downloadupstream-d4cc7aac4b2113cc9a757cc1e9a5c6390005329e.tar.gz
upstream-d4cc7aac4b2113cc9a757cc1e9a5c6390005329e.tar.bz2
upstream-d4cc7aac4b2113cc9a757cc1e9a5c6390005329e.zip
ar71xx: add user space support for the TL-WA750RE/WA850RE Range extender
Patch to add user space support for the TL-WA750RE/WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38718
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds10
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network2
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh12
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
5 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index e304fac71b..b553205c03 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -126,6 +126,12 @@ get_status_led() {
tl-mr3020)
status_led="tp-link:green:wps"
;;
+ tl-wa750re)
+ status_led="tp-link:orange:re"
+ ;;
+ tl-wa850re)
+ status_led="tp-link:blue:re"
+ ;;
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 235a47578b..cde54f3909 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -177,6 +177,16 @@ tl-mr3420-v2)
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
;;
+tl-wa750re)
+ ucidef_set_led_netdev "lan" "LAN" "tp-link:orange:lan" "eth0"
+ ucidef_set_led_wlan "wlan" "WLAN" "tp-link:orange: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"
+ ;;
+
tl-wa901nd)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index bdf37ee2f7..0819cb2426 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -227,6 +227,8 @@ tl-mr13u |\
tl-mr3020 |\
tl-mr3040 |\
tl-mr3040-v2 |\
+tl-wa750re |\
+tl-wa850re |\
tl-wa901nd |\
tl-wa901nd-v2 |\
tl-wr703n |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index e1cedf6f06..cde8856284 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -103,6 +103,9 @@ tplink_board_detect() {
"074300"*)
model="TP-Link TL-WR743N/ND"
;;
+ "075000"*)
+ model="TP-Link TL-WA750RE"
+ ;;
"080100"*)
model="TP-Link TL-WA801N/ND"
;;
@@ -115,6 +118,9 @@ tplink_board_detect() {
"084200"*)
model="TP-Link TL-WR842N/ND"
;;
+ "085000"*)
+ model="TP-Link TL-WA850RE"
+ ;;
"090100"*)
model="TP-Link TL-WA901N/ND"
;;
@@ -444,9 +450,15 @@ ar71xx_board_detect() {
*"TL-MR3420 v2")
name="tl-mr3420-v2"
;;
+ *TL-WA750RE)
+ name="tl-wa750re"
+ ;;
*TL-WA7510N)
name="tl-wa7510n"
;;
+ *TL-WA850RE)
+ name="tl-wa850re"
+ ;;
*TL-WA901ND)
name="tl-wa901nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index ae04a8c319..266bf3fd5c 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -190,6 +190,8 @@ platform_check_image() {
tl-mr3420 | \
tl-mr3420-v2 | \
tl-wa7510n | \
+ tl-wa750re | \
+ tl-wa850re | \
tl-wa901nd | \
tl-wa901nd-v2 | \
tl-wdr3500 | \