Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b638f0f authored by Aleksander Morgado's avatar Aleksander Morgado Committed by David S. Miller
Browse files

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: default avatarAleksander Morgado <aleksander@aleksander.es>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e22391e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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),