ar71xx: add user space support for the TL-WA750RE/WA850RE Range extender
authorGabor Juhos <juhosg@openwrt.org>
Mon, 11 Nov 2013 08:04:47 +0000 (08:04 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 11 Nov 2013 08:04:47 +0000 (08:04 +0000)
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

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index e304fac71bf44f548ea53f45ee7b1c3c06c110eb..b553205c0363a80e5eef6f78de3b5a5f3e5ec6ca 100755 (executable)
@@ -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 | \
index 235a47578b5c02c1a28f2f80d3fe2859d314a2b7..cde54f39092d9a5107f7dec406a7bf0d8a21c305 100755 (executable)
@@ -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"
        ;;
index bdf37ee2f7e7c7a823b58afe71967a39edc4128f..0819cb2426cdc2ca429db9d7419669e733b2d19a 100755 (executable)
@@ -227,6 +227,8 @@ tl-mr13u |\
 tl-mr3020 |\
 tl-mr3040 |\
 tl-mr3040-v2 |\
+tl-wa750re |\
+tl-wa850re |\
 tl-wa901nd |\
 tl-wa901nd-v2 |\
 tl-wr703n |\
index e1cedf6f06a5cba220fb844c001fd1c6017f2fbb..cde8856284940a4344f9a71ca0e09e1ddf278b44 100755 (executable)
@@ -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"
                ;;
index ae04a8c3197ecedcc4edd53f43914173c2ba2bc6..266bf3fd5c4bc679e7f88b75318249817bc06af1 100755 (executable)
@@ -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 | \