ar71xx: Add UBNT airGateway Pro support
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / diag.sh
index 561c5da585c459f225901fd8ebc5135ce2f063ad..cfba6b4ad0f43ecdd27b017bdcc39f66953c7fed 100644 (file)
@@ -41,6 +41,9 @@ get_status_led() {
        aw-nr580)
                status_led="aw-nr580:green:ready"
                ;;
+       bsb)
+               status_led="bsb:red:sys"
+               ;;
        bullet-m | rocket-m | rocket-m-xw | nano-m | nanostation-m | nanostation-m-xw | loco-m-xw)
                status_led="ubnt:green:link4"
                ;;
@@ -53,6 +56,9 @@ get_status_led() {
        cap4200ag)
                status_led="senao:green:pwr"
                ;;
+       cf-e316n-v2)
+               status_led="$(ar71xx_board_name):blue:wan"
+               ;;
        cpe510)
                status_led="tp-link:green:link4"
                ;;
@@ -144,6 +150,9 @@ get_status_led() {
        mr600v2)
                status_led="mr600:blue:power"
                ;;
+       mr1750)
+               status_led="mr1750:blue:power"
+               ;;
        mr900 | \
        mr900v2)
                status_led="mr900:blue:power"
@@ -253,6 +262,7 @@ get_status_led() {
        tl-wa901nd | \
        tl-wa901nd-v2 | \
        tl-wa901nd-v3 | \
+       tl-wdr3320-v2 | \
        tl-wdr3500 | \
        tl-wr1041n-v2 | \
        tl-wr1043nd | \
@@ -286,6 +296,9 @@ get_status_led() {
        tl-wr2543n)
                status_led="tp-link:green:wps"
                ;;
+       tl-wdr6500-v2)
+               status_led="tp-link:white:system"
+               ;;
        tube2h)
                status_led="alfa:green:signal4"
                ;;
@@ -298,7 +311,8 @@ get_status_led() {
        unifi-outdoor-plus)
                status_led="ubnt:white:front"
                ;;
-       airgateway)
+       airgateway | \
+       airgatewaypro)
                status_led="ubnt:white:status"
                ;;
        whr-g301n | \