Merge pull request #2710 from AiyionPrime/wavlink-backport-draft

Wavlink WS-WN572HP3 (4G)
This commit is contained in:
David Bauer 2023-01-05 21:48:24 +01:00 committed by GitHub
commit 7bf8de457a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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