Skip to contentSkip to conversation

net: usb: cdc_ncm: Adding support for two new Dell devices

PATCH In review Daniele Palmas 2 participants 4 messages Dec 18, 2015

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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
index b45e5ca..7be9b73 100644
@@ -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
#2 lore raw

PATCH v2 2/2 net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T Mobile Broadband Card

In reply to Daniele Palmas

Unlike 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
index 7be9b73..89536d9 100644
@@ -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
maintainer
#3 lore raw
In reply to Daniele Palmas

From: Daniele Palmas <[email protected]>
Date: Fri, 18 Dec 2015 14:43:32 +0100

Quoted 5 lines

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

Series applied, thanks.