net: usb: cdc_ncm: Adding support for two new Dell devices
v2 cover net: usb: cdc_ncm: Adding support for two new Dell devices
This patch series add support in the cdc_ncm driver for two devices based on the same platform, that are different only for carrier customization.
V2: Added comment for highlighting FLAG_NOARP usage for those devices
Daniele Palmas (2):
net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband
Card
net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T Mobile Broadband Card
drivers/net/usb/cdc_ncm.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Signature · 1 line
1.9.1
PATCH v2 1/2 net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card
Unlike DW5550, Dell DW5812 is a mobile broadband card with no ARP
capabilities: the patch makes this device to use wwan_noarp_info struct
--- drivers/net/usb/cdc_ncm.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/net/usb/cdc_ncm.c +9 -0
@@ -1593,6 +1593,15 @@ static const struct usb_device_id cdc_devs[] = { .driver_info = (unsigned long) &wwan_info, }, +/* DW5812 LTE Verizon Mobile Broadband Card +* Unlike DW5550 this device requires FLAG_NOARP +*/ + {USB_DEVICE_AND_INTERFACE_INFO (0x413c ,0x81bb , +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,
Signature · 1 line
1.9.1
PATCH v2 2/2 net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T Mobile Broadband Card
In reply to Daniele PalmasUnlike DW5550, Dell DW5813 is a mobile broadband card with no ARP
capabilities: the patch makes this device to use wwan_noarp_info struct
--- drivers/net/usb/cdc_ncm.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/net/usb/cdc_ncm.c +9 -0
@@ -1602,6 +1602,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,
Signature · 1 line
1.9.1
David Miller
maintainerFrom: Daniele Palmas <[email protected]>
Date: Fri, 18 Dec 2015 14:43:32 +0100
Quoted 5 lines
This patch series add support in the
cdc_ncmdriver for two devices based on the same platform, that are different only for carrier customization.V2: Added comment for highlighting
FLAG_NOARPusage for those devices
Series applied, thanks.