diff options
author | Giuseppe Lippolis <giu.lippolis@gmail.com> | 2016-12-22 22:12:44 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-05-25 19:01:08 +0200 |
commit | 4ba2f4dc6357e85a8dbc98266a14197fb058159c (patch) | |
tree | 9a71f46fb4b280dad1acce3dd4dbba7053ae3eee /package/network/utils/comgt/files/ncm.json | |
parent | 8851a18a88aff548ae2648e26deb7595ebb45733 (diff) | |
download | upstream-4ba2f4dc6357e85a8dbc98266a14197fb058159c.tar.gz upstream-4ba2f4dc6357e85a8dbc98266a14197fb058159c.tar.bz2 upstream-4ba2f4dc6357e85a8dbc98266a14197fb058159c.zip |
DWR-512: adding wwan support for the dwr-512 3G modem
This PR allow the 3G modem embedded in the DWR-512 to be managed
by the wwan-ncm scripts. The modem will use the usb-option and
usb-cdc-ether drivers.
The DWR-512 DT is updated accordingly.
Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
Diffstat (limited to 'package/network/utils/comgt/files/ncm.json')
-rw-r--r-- | package/network/utils/comgt/files/ncm.json | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/comgt/files/ncm.json b/package/network/utils/comgt/files/ncm.json index 8f74e173d1..bbdb30c5ee 100644 --- a/package/network/utils/comgt/files/ncm.json +++ b/package/network/utils/comgt/files/ncm.json @@ -63,5 +63,16 @@ }, "connect": "AT*ENAP=1,${profile}", "disconnect": "AT*ENAP=0" + }, + "mtk1": { + "initialize": [ + "AT+CFUN=1" + ], + "configure": [ + "AT+CGDCONT=${profile},\\\"${pdptype}\\\",\\\"${apn}\\\",0,0" + ], + "connect": "AT+CGACT=1,${profile}", + "finalize": "AT+CGDATA=\\\"M-MBIM\\\",${profile},1", + "disconnect": "AT+CGACT=0,${profile}" } } |