mt7621: add Wavlink Wavlink WS-WN572HP3 4G

This commit is contained in:
Jan-Niklas Burfeind 2022-11-29 23:57:05 +01:00
parent 40cf3bc905
commit 8067a77f59
4 changed files with 18 additions and 0 deletions

View File

@ -368,6 +368,10 @@ ramips-mt7621
- EdgeRouter X-SFP
- UniFi 6 Lite
* Wavlink
- WS-WN572HP3 (4G)
* ZBT
- WG3526-16M

View File

@ -50,6 +50,10 @@ elseif platform.match('ipq40xx', 'generic', {
'glinet,gl-ap1300',
}) then
setup_ncm_qmi('/dev/cdc-wdm0', 'qmi', 15)
elseif platform.match('ramips', 'mt7621', {
'wavlink,ws-wn572hp3-4g',
}) then
setup_ncm_qmi('/dev/ttyUSB2', 'ncm', 15)
end
uci:save('network')

View File

@ -61,6 +61,7 @@ function M.is_outdoor_device()
return true
elseif M.match('ramips', 'mt7621', {
'wavlink,ws-wn572hp3-4g',
'zyxel,nwa55axe',
}) then
return true
@ -78,6 +79,10 @@ function M.is_cellular_device()
'glinet,gl-ap1300',
}) then
return true
elseif M.match('ramips', 'mt7621', {
'wavlink,ws-wn572hp3-4g',
}) then
return true
end
return false

View File

@ -59,6 +59,11 @@ device('ubiquiti-unifi-6-lite', 'ubnt_unifi-6-lite', {
factory = false,
})
-- Wavlink
device('wavlink-ws-wn572hp3-4g', 'wavlink_ws-wn572hp3-4g', {
factory = false,
})
-- Xiaomi