net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T Mobile Broadband Card
authorDaniele Palmas <dnlplm@gmail.com>
Fri, 18 Dec 2015 13:43:34 +0000 (14:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Dec 2015 19:51:14 +0000 (14:51 -0500)
Unlike DW5550, Dell DW5813 is a mobile broadband card with no ARP
capabilities: the patch makes this device to use wwan_noarp_info struct

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c

index 3a71e60254eb66038be5adf970ae5f903536800a..3694052714371e65d63e8ae8437d1d7d6d44a463 100644 (file)
@@ -1567,6 +1567,15 @@ static const struct usb_device_id cdc_devs[] = {
          .driver_info = (unsigned long)&wwan_noarp_info,
        },
 
+       /* DW5813 LTE AT&T Mobile Broadband Card
+        * Unlike DW5550 this device requires FLAG_NOARP
+        */
+       { USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x81bc,
+               USB_CLASS_COMM,
+               USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE),
+         .driver_info = (unsigned long)&wwan_noarp_info,
+       },
+
        /* Dell branded MBM devices like DW5550 */
        { .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
                | USB_DEVICE_ID_MATCH_VENDOR,