luci-app-qmodem: add Huawei MH50000-31 support
This commit is contained in:
parent
530b1e684c
commit
ecf9e25bc4
@ -84,6 +84,20 @@
|
||||
"ncm"
|
||||
]
|
||||
},
|
||||
"mh5000-31": {
|
||||
"manufacturer_id": "12d1",
|
||||
"manufacturer": "huawei",
|
||||
"platform": "hisilicon",
|
||||
"data_interface": "usb",
|
||||
"define_connect": "1",
|
||||
"wcdma_band": "1/8",
|
||||
"lte_band": "1/3/5/8/34/38/39/40/41",
|
||||
"nsa_band": "41/78/79",
|
||||
"sa_band": "1/41/78/79",
|
||||
"modes": [
|
||||
"ecm"
|
||||
]
|
||||
},
|
||||
"rg200u-cn": {
|
||||
"manufacturer_id": "2c7c",
|
||||
"manufacturer": "quectel",
|
||||
@ -786,7 +800,7 @@
|
||||
"define_connect": "1",
|
||||
"modes": [
|
||||
"mbim",
|
||||
"rmnet"
|
||||
"rmnet"
|
||||
]
|
||||
},
|
||||
"t99w373": {
|
||||
|
@ -244,15 +244,12 @@ function base_info(){
|
||||
|
||||
cell_info()
|
||||
{
|
||||
|
||||
|
||||
at_command="AT^MONSC"
|
||||
response=$(at $at_port $at_command | grep "\^MONSC:" | sed 's/\^MONSC: //')
|
||||
|
||||
local rat=$(echo "$response" | awk -F',' '{print $1}')
|
||||
|
||||
case $rat in
|
||||
"NR")
|
||||
"NR"|"NR-5GC")
|
||||
network_mode="NR5G-SA Mode"
|
||||
nr_mcc=$(echo "$response" | awk -F',' '{print $2}')
|
||||
nr_mnc=$(echo "$response" | awk -F',' '{print $3}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user