ar71xx: add user-space support for Netgear WNDAP360
authorGabor Juhos <juhosg@openwrt.org>
Wed, 8 May 2013 17:03:42 +0000 (17:03 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 8 May 2013 17:03:42 +0000 (17:03 +0000)
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36579

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 708e2c5554df76e34ba4a7227fa4215a218f6528..ed269b275a8afb14833ae8d13376d0f7e1cff599 100755 (executable)
@@ -159,6 +159,9 @@ get_status_led() {
        wzr-hp-g300nh2)
                status_led="buffalo:red:diag"
                ;;
+       wndap360)
+               status_led="wndap360:green:power"
+               ;;
        wndr3700)
                status_led="wndr3700:green:power"
                ;;
index afeae421038ee989aca5fce8025610ac482c5465..6e3e37092abc6954206f6631431d45b257b8d48e 100755 (executable)
@@ -200,6 +200,10 @@ wrt160nl)
        ucidef_set_led_wlan "wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt"
        ;;
 
+wndap360)
+        ucidef_set_led_power "power" "POWER GREEN" "wndap360:green:power" "1"
+        ;;
+
 wndr3700)
        ucidef_set_led_default "wan" "WAN LED (green)" "wndr3700:green:wan" "0"
        ucidef_set_led_usbdev "usb" "USB" "wndr3700:green:usb" "1-1"
index ca58a39ca7287649cac5984c299b94d0c178f703..a9a3ff2e9b1734eed9420aec6ee19d6efd9e5c90 100755 (executable)
@@ -200,6 +200,7 @@ tl-mr3040 |\
 tl-wa901nd |\
 tl-wa901nd-v2 |\
 tl-wr703n |\
+wndap360 |\
 wp543)
        ucidef_set_interface_lan "eth0"
        ;;
index b7056f2cea8cf0704853e5983cc939456907f6b3..900c9ad1c622f184cdaa194d33ec20d2d54bc667 100755 (executable)
@@ -453,6 +453,9 @@ ar71xx_board_detect() {
        *WPE72)
                name="wpe72"
                ;;
+       *WNDAP360)
+               name="wndap360"
+               ;;
        *"WNDR3700/WNDR3800/WNDRMAC")
                wndr3700_board_detect "$machine"
                ;;
index 85e9d6128b89081a52de97a4296119e2cbb88aaf..817123b6d730d54e85cf242cf33162a76bb999df 100755 (executable)
@@ -122,6 +122,7 @@ platform_check_image() {
        nanostation-m | \
        rocket-m | \
        rw2458n | \
+       wndap360 | \
        wzr-hp-g300nh2 | \
        wzr-hp-g300nh | \
        wzr-hp-g450h | \