diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-11-11 08:04:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-11-11 08:04:47 +0000 |
commit | 5026c20927235331672bf55efdf73403be05dbc2 (patch) | |
tree | 351c67d52a5199d2235a5be1ee088120a1b1d600 /target/linux/ar71xx/base-files | |
parent | 1d90d21b2517f3360426586763e74ac3be504ff5 (diff) | |
download | upstream-5026c20927235331672bf55efdf73403be05dbc2.tar.gz upstream-5026c20927235331672bf55efdf73403be05dbc2.tar.bz2 upstream-5026c20927235331672bf55efdf73403be05dbc2.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38718 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
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 | \ |