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 - EdgeRouter X-SFP
- UniFi 6 Lite - UniFi 6 Lite
* Wavlink
- WS-WN572HP3 (4G)
* ZBT * ZBT
- WG3526-16M - WG3526-16M

View File

@ -50,6 +50,10 @@ elseif platform.match('ipq40xx', 'generic', {
'glinet,gl-ap1300', 'glinet,gl-ap1300',
}) then }) then
setup_ncm_qmi('/dev/cdc-wdm0', 'qmi', 15) 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 end
uci:save('network') uci:save('network')

View File

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

View File

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