From: Gabor Juhos Date: Mon, 11 Nov 2013 08:04:47 +0000 (+0000) Subject: ar71xx: add user space support for the TL-WA750RE/WA850RE Range extender X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0bd384dfc4a202dd4f57a2d6c63fc446486c3452;p=openwrt%2Fsvn-archive%2Farchive.git 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 Signed-off-by: Gabor Juhos SVN-Revision: 38718 --- 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 | \