ar71xx: add support for TP-LINK Archer C7 v4
[openwrt/staging/nbd.git] / target / linux / ar71xx / base-files / etc / diag.sh
index ade726f726d04c1d3af0264fdab1bede6fef9bd8..f4ad435ea728e21ab32be74bbdaa11edd6bb81d0 100644 (file)
@@ -58,6 +58,7 @@ get_status_led() {
        archer-c58-v1|\
        archer-c59-v1|\
        archer-c60-v1|\
+       archer-c7-v4|\
        fritz300e|\
        gl-usb150|\
        mr12|\
@@ -459,6 +460,9 @@ get_status_led() {
        airgatewaypro)
                status_led="ubnt:white:status"
                ;;
+       wi2a-ac200i)
+               status_led="nokia:green:ctrl"
+               ;;
        whr-g301n|\
        whr-hp-g300n|\
        whr-hp-gn|\
@@ -529,6 +533,9 @@ set_state() {
                        local n=$(fw_printenv activeregion | cut -d = -f 2)
                        fw_setenv "image${n}trynum" 0
                        ;;
+               wi2a-ac200i)
+                       fw_setenv PKRstCnt 0
+                       ;;
                esac
                ;;
        esac