ramips: add Airlink101 AR725W userland support
authorJohn Crispin <john@openwrt.org>
Tue, 22 Apr 2014 08:08:35 +0000 (08:08 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 22 Apr 2014 08:08:35 +0000 (08:08 +0000)
Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40550

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

index 4168d0a2bd8032eb90186dcb29df86b47a803a37..122587232fb16a94ee65ca5a8a60a04d6b1f841a 100755 (executable)
@@ -12,6 +12,9 @@ get_status_led() {
        3g300m | w150m)
                status_led="tenda:blue:ap"
                ;;
+       ar725w)
+               status_led="ar725w:green:power"
+               ;;
        argus-atp52b)
                status_led="argus-atp52b:green:run"
                ;;
index 567835e6b1e00962a8c10d4fd06f1edca211979b..17d8c9771972c2c96ad27d5311b1f3c288d36eab 100755 (executable)
@@ -35,6 +35,9 @@ case $board in
                ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
                set_wifi_led "rt2800pci-phy0::radio"
                ;;
+       ar725w)
+               set_wifi_led "rt2800soc-phy0::radio"
+               ;;
        asl26555)
                ucidef_set_led_default "power" "POWER" "asl26555:green:power" "1"
                ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0"
index 1cbf7bf0224dd193b633e9edde7e5e04aa165d8c..b66d176ec0f3c0b1d3c4ff57f5bce93db1275796 100755 (executable)
@@ -116,6 +116,7 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "2" "0 5t"
                ;;
 
+       ar725w | \
        rt-n15 | \
        wl-351)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
index a3a26cb23ec3020925805af052a72e1178e794ae..913e65cb9015fd7d3dbe7798d17ea54133362598 100755 (executable)
@@ -22,6 +22,9 @@ ramips_board_detect() {
        *"Edimax 3g-6200nl")
                name="3g-6200nl"
                ;;
+       *"Airlink101 AR725W")
+               name="ar725w"
+               ;;
        *"AirLive Air3GII")
                name="air3gii"
                ;;
index 8ff6063f197851be6c533c2f86baad965f6cb79c..616516bf5fb04cde1d77b54567ec6aa506b04b6d 100755 (executable)
@@ -23,6 +23,7 @@ platform_check_image() {
        all0256n | \
        all5002 | \
        all5003 | \
+       ar725w | \
        asl26555 | \
        awm002-evb | \
        bc2 | \