set_wifi_led "$board:green:wlan"
set_usb_led "$board:green:mobile"
;;
-all0256n)
+all0256n-4M|\
+all0256n-8M)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$board:green:rssilow" "wlan0" "1" "40" "0" "6"
- ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$board:green:rssimed" "wlan0" "30" "80" "-29" "5"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$board:green:rssihigh" "wlan0" "70" "100" "-69" "8"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
set_wifi_led "rt2800pci-phy0::radio"
;;
ar670w|\
awapn2403)
set_wifi_led "rt2800soc-phy0::radio"
;;
-asl26555)
- ucidef_set_led_default "power" "POWER" "$board:green:power" "1"
- ucidef_set_led_netdev "eth" "ETH" "$board:green:eth" "eth0"
- set_wifi_led "$board:green:wlan"
- set_usb_led "$board:green:3g"
+asl26555-8M|\
+asl26555-16M)
+ ucidef_set_led_default "power" "POWER" "asl26555:green:power" "1"
+ ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0"
+ set_wifi_led "asl26555:green:wlan"
+ set_usb_led "asl26555:green:3g"
;;
bc2)
set_usb_led "$board:blue:usb"
sl-r7205|\
v11st-fe|\
w306r-v20|\
-wt1520)
+wt1520-4M|\
+wt1520-8M)
set_wifi_led "rt2800pci-phy0::radio"
;;
dir-615-d|\
ucidef_set_led_netdev "Network" "Network" "$board:blue:status" "eth0"
ucidef_set_led_default "status" "STATUS" "$board:yellow:status" "0"
;;
-px-4885)
- set_wifi_led "$board:orange:wifi"
- set_usb_led "$board:blue:storage"
+px-4885-4M|\
+px-4885-8M)
+ set_wifi_led "px-4885:orange:wifi"
+ set_usb_led "px-4885:blue:storage"
;;
r6220)
ucidef_set_led_netdev "wan" "wan" "$board:green:wan" eth0.2
set_wifi_led "$board:orange:wifi"
set_usb_led "$board:green:usb"
;;
-vocore)
- ucidef_set_led_netdev "eth" "ETH" "$board:orange:eth" "eth0"
- set_wifi_led "$board:green:status"
+vocore-8M|\
+vocore-16M)
+ ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0"
+ set_wifi_led "vocore:green:status"
;;
vocore2)
set_wifi_led "$board:fuchsia:status"
wndr3700v5)
ucidef_set_led_default "power" "POWER" "$board:green:power" "0"
;;
-wt3020)
- ucidef_set_led_default "power" "power" "$board:blue:power" "0"
+wt3020-4M|\
+wt3020-8M)
+ ucidef_set_led_default "power" "power" "wt3020:blue:power" "0"
;;
y1)
set_usb_led "$board:blue:usb"
3g150b|\
3g300m|\
a5-v11|\
- all0256n|\
+ all0256n-4M|\
+ all0256n-8M|\
all5002|\
all5003|\
broadway|\
mt7628|\
mzk-750dhp|\
mzk-w300nh2|\
- nixcore|\
+ nixcore-x1-8M|\
+ nixcore-x1-16M|\
oy-0001|\
pbr-m1|\
psg1208|\
witi|\
wl-wn575a3|\
wndr3700v5|\
- wt1520|\
+ wt1520-4M|\
+ wt1520-8M|\
y1|\
youku-yk1|\
zbt-ape522ii|\
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0"
;;
- asl26555|\
+ asl26555-8M|\
+ asl26555-16M|\
rp-n53)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0"
;;
atp-52b|\
- awm002-evb|\
+ awm002-evb-4M|\
+ awm002-evb-8M|\
awm003-evb|\
c20i|\
c50|\
wrtnode|\
wrtnode2p | \
wrtnode2r | \
- wt3020|\
+ wt3020-4M|\
+ wt3020-8M|\
zbt-wa05)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
ucidef_set_interface_wan "usb0"
;;
mzk-dp150n|\
- vocore)
+ vocore-8M|\
+ vocore-16M)
ucidef_add_switch "switch0" \
"0:lan" "4:lan" "6t@eth0"
;;
lan_mac=$(macaddr_setbit_la "$wan_mac")
;;
m3|\
- m4|\
+ m4-4M|\
+ m4-8M|\
x5|\
x8)
lan_mac=$(cat /sys/class/net/eth0/address)
3g-6200n|\
ar670w|\
ar725w|\
- asl26555|\
br-6425|\
br-6475nd|\
c50|\
mofi3500-3gn|\
rut5xx|\
v11st-fe|\
- vocore|\
wmr-300|\
zbt-wg2626|\
zbt-wg3526)
ht-tm02)
status_led="$board:blue:wlan"
;;
+ asl26555-8M|\
+ asl26555-16M)
+ status_led="asl26555:green:power"
+ ;;
atp-52b|\
ew1200|\
ip2202)
wl-330n|\
wl-330n3g|\
wli-tx4-ag300n|\
- wt3020|\
y1|\
y1s)
status_led="$board:blue:power"
status_led="$board:blue:wifi"
;;
m3|\
- m4|\
miwifi-nano)
status_led="$board:blue:status"
;;
+ m4-4M|\
+ m4-8M)
+ status_led="m4:blue:status"
+ ;;
miwifi-mini|\
zte-q7)
status_led="$board:red:status"
psr-680w)
status_led="$board:red:wan"
;;
- px-4885|\
+ px-4885-4M|\
+ px-4885-8M)
+ status_led="px-4885:orange:wifi"
+ ;;
re6500|\
whr-1166d|\
whr-600d|\
tew-692gr|\
ur-326n4g|\
ur-336un|\
- wf-2881|\
- wr512-3gn)
+ wf-2881)
status_led="$board:green:wps"
;;
rb750gr3)
v22rw-2x2)
status_led="$board:green:security"
;;
+ vocore-8M|\
+ vocore-16M)
+ status_led="vocore:green:status"
+ ;;
vocore2)
status_led="$board:fuchsia:status"
;;
wizfi630a)
status_led="$board::run"
;;
+ wr512-3gn-4M|\
+ wr512-3gn-8M)
+ status_led="wr512-3gn:green:wps"
+ ;;
wrtnode2r | \
wrtnode2p | \
wrtnode)
status_led="wrtnode:blue:indicator"
;;
+ wt3020-4M|\
+ wt3020-8M)
+ status_led="wt3020:blue:power"
+ ;;
zbt-cpe102)
status_led="$board:green:4g-0"
;;