ramips: add user-space support for Airlive AIR3GII
authorGabor Juhos <juhosg@openwrt.org>
Sat, 29 Dec 2012 17:50:32 +0000 (17:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 29 Dec 2012 17:50:32 +0000 (17:50 +0000)
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34923

target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
target/linux/ramips/base-files/etc/uci-defaults/leds
target/linux/ramips/base-files/etc/uci-defaults/network
target/linux/ramips/base-files/lib/ramips.sh
target/linux/ramips/base-files/lib/upgrade/platform.sh

index 5989f791da6baafccffe675e62a3a2d6e562aedc..1a04e5af657834cddc02a1f69098e4d8fb57c29d 100644 (file)
@@ -52,6 +52,7 @@ case "$FIRMWARE" in
                ;;
 
        3g-6200n | \
+       air3gii | \
        all0239-3g | \
        all0256n | \
        all5002 | \
index e444db7ceb5028c5ec31b5411ccdea07b3cb279e..a37901743dcbc3b4fc3f0bd5d58b5d8318d07f83 100755 (executable)
@@ -18,6 +18,10 @@ case $board in
                set_wifi_led "edimax:amber:wlan"
                set_usb_led "edimax:blue:3g"
                ;;
+       air3gii)
+               set_wifi_led "airlive:green:wlan"
+               set_usb_led "airlive:green:mobile"
+               ;;
        all0256n)
                ucidef_set_rssimon "wlan0" "40000" "1"
                ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
index dadb95bcb81de7dbd40a798c7c6fd32fcd55378e..5ab89e9d975c645174a1b58d3d40a62579f4ae88 100755 (executable)
@@ -140,6 +140,7 @@ ramips_setup_macs()
                lan_mac=$(ramips_get_mac_binary factory 40)
                ;;
        3g-6200n | \
+       air3gii | \
        argus-atp52b | \
        bc2 | \
        broadway | \
index 2d8a7e65d2065c3c12cfd301c258f172588808cc..42fcb646ce9b69ed9a908157f6b50519769aedab 100755 (executable)
@@ -53,6 +53,9 @@ ramips_board_name() {
        *"Edimax 3g-6200n")
                name="3g-6200n"
                ;;
+       *"AirLive Air3GII")
+               name="air3gii"
+               ;;
        *"Allnet ALL0239-3G")
                name="all0239-3g"
                ;;
index 2ec4749f9f9979bc416ed0789ddc6762f73c0a59..d1ccf7eac171a1fa838a77ed110a330723073046 100755 (executable)
@@ -15,6 +15,7 @@ platform_check_image() {
 
        case "$board" in
        3g-6200n | \
+       air3gii | \
        all0239-3g | \
        all0256n | \
        all5002 | \