diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-08-25 15:39:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-28 11:24:03 -0700 |
commit | 3b638f0f0b94fc41f419033f2a02c49d52f3fec9 (patch) | |
tree | c72eb1abbe2dbf32405c5c2e9f6a03220e545981 | |
parent | 1e22391e8fbec9c3709bad82b997b108d1c6228b (diff) | |
download | linux-rpi-3b638f0f0b94fc41f419033f2a02c49d52f3fec9.tar.gz linux-rpi-3b638f0f0b94fc41f419033f2a02c49d52f3fec9.tar.bz2 linux-rpi-3b638f0f0b94fc41f419033f2a02c49d52f3fec9.zip |
cdc_ncm: flag the u-blox TOBY-L4 as wwan
The u-blox TOBY-L4 is a LTE Advanced (Cat 6) module with HSPA+ and 2G
fallback.
Unlike the TOBY-L2, this module has one single USB layout and exposes
several TTYs for control and a NCM interface for data. Connecting this
module may be done just by activating the desired PDP context with
'AT+CGACT=1,<cid>' and then running DHCP on the NCM interface.
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/usb/cdc_ncm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index 8f572b9f3625..9c80e80c5493 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c @@ -1758,6 +1758,13 @@ static const struct usb_device_id cdc_devs[] = { .driver_info = (unsigned long)&wwan_noarp_info, }, + /* u-blox TOBY-L4 */ + { USB_DEVICE_AND_INTERFACE_INFO(0x1546, 0x1010, + USB_CLASS_COMM, + USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE), + .driver_info = (unsigned long)&wwan_info, + }, + /* Generic CDC-NCM devices */ { USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE), |