net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

This driver supports devices using the NCM protocol as an encapsulation layer
for other protocols, like the E3131 Huawei 3G modem. This drivers approach was
heavily inspired by the qmi_wwan/cdc_mbim approach & code model.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Enrico Mioso
2013-11-04 09:50:48 +01:00
committed by David S. Miller
parent 2f69702c4d
commit 41c47d8cfd
3 changed files with 246 additions and 0 deletions

View File

@@ -242,6 +242,21 @@ config USB_NET_CDC_NCM
* ST-Ericsson M343 HSPA Mobile Broadband Modem (reference design)
* Ericsson F5521gw Mobile Broadband Module
config USB_NET_HUAWEI_CDC_NCM
tristate "Huawei NCM embedded AT channel support"
depends on USB_USBNET
select USB_WDM
select USB_NET_CDC_NCM
help
This driver supports huawei-style NCM devices, that use NCM as a
transport for other protocols, usually an embedded AT channel.
Good examples are:
* Huawei E3131
* Huawei E3251
To compile this driver as a module, choose M here: the module will be
called huawei_cdc_ncm.ko.
config USB_NET_CDC_MBIM
tristate "CDC MBIM support"
depends on USB_USBNET