ar71xx: add user space support for the TL-WA801ND v2
authorGabor Juhos <juhosg@openwrt.org>
Sun, 15 Dec 2013 20:39:11 +0000 (20:39 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 15 Dec 2013 20:39:11 +0000 (20:39 +0000)
Patch to add the user space support for the TL-WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4501/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39064

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 216100b5ebe6314998681057c143bd65e975f573..d5d675509ac11a1b5c2c4012610cd42184860f0a 100755 (executable)
@@ -136,6 +136,7 @@ get_status_led() {
        tl-mr3220-v2 | \
        tl-mr3420 | \
        tl-mr3420-v2 | \
+       tl-wa801nd-v2 | \
        tl-wa901nd | \
        tl-wa901nd-v2 | \
        tl-wdr3500 | \
index 5a96f33ece25cab4726205b8b0041bce14811741..c8e8336f07bc7eaed5b3b8f3844aeead54bbc3a7 100755 (executable)
@@ -260,6 +260,11 @@ tl-wr842n-v2)
        ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
        ;;
 
+tl-wa801nd-v2)
+       ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
+       ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+       ;;
+
 tl-wr941nd | \
 tl-wr1041n-v2)
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
index 5ef4938da7f8b04e81de1a791d4d62c4d54d8b4d..129459183540ada5905a2fd28ab7134263449078 100755 (executable)
@@ -235,6 +235,7 @@ tl-mr3040 |\
 tl-mr3040-v2 |\
 tl-wa750re |\
 tl-wa850re |\
+tl-wa801nd-v2 |\
 tl-wa901nd |\
 tl-wa901nd-v2 |\
 tl-wr703n |\
index 0b18d0ce108018ead51db8b93890ab900a53b966..d89f097a083d9b3b70970b760ffbde0e95754be3 100755 (executable)
@@ -471,6 +471,9 @@ ar71xx_board_detect() {
        *TL-WA850RE)
                name="tl-wa850re"
                ;;
+       *"TL-WA801ND v2")
+               name="tl-wa801nd-v2"
+               ;;
        *TL-WA901ND)
                name="tl-wa901nd"
                ;;
index b5a7da7d6ad2dc0ede6ac352bdf26a10580e2782..4aeb88f023c6931804c88ff31cba27df9482850c 100755 (executable)
@@ -214,6 +214,7 @@ platform_check_image() {
        tl-wa7510n | \
        tl-wa750re | \
        tl-wa850re | \
+       tl-wa801nd-v2 | \
        tl-wa901nd | \
        tl-wa901nd-v2 | \
        tl-wdr3500 | \