netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices
@ 2015-12-16  9:39 Daniele Palmas
  2015-12-16  9:39 ` [PATCH 1/2] net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card Daniele Palmas
       [not found] ` <1450258765-11215-1-git-send-email-dnlplm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Daniele Palmas @ 2015-12-16  9:39 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-usb, Daniele Palmas

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.

The devices do not have ARP capabilities.

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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card
  2015-12-16  9:39 [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices Daniele Palmas
@ 2015-12-16  9:39 ` Daniele Palmas
       [not found] ` <1450258765-11215-1-git-send-email-dnlplm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  1 sibling, 0 replies; 7+ messages in thread
From: Daniele Palmas @ 2015-12-16  9:39 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-usb, Daniele Palmas

Dell DW5812 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>
---
 drivers/net/usb/cdc_ncm.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c
index b45e5ca..2c0257a 100644
--- a/drivers/net/usb/cdc_ncm.c
+++ b/drivers/net/usb/cdc_ncm.c
@@ -1593,6 +1593,13 @@ static const struct usb_device_id cdc_devs[] = {
 	  .driver_info = (unsigned long) &wwan_info,
 	},
 
+	/* DW5812 LTE Verizon Mobile Broadband Card */
+	{ 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,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T Mobile Broadband Card
       [not found] ` <1450258765-11215-1-git-send-email-dnlplm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-12-16  9:39   ` Daniele Palmas
  2015-12-16 17:12   ` [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices Dan Williams
  1 sibling, 0 replies; 7+ messages in thread
From: Daniele Palmas @ 2015-12-16  9:39 UTC (permalink / raw)
  To: David Miller
  Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	Daniele Palmas

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 drivers/net/usb/cdc_ncm.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c
index 2c0257a..8e971a2 100644
--- a/drivers/net/usb/cdc_ncm.c
+++ b/drivers/net/usb/cdc_ncm.c
@@ -1600,6 +1600,13 @@ static const struct usb_device_id cdc_devs[] = {
 	  .driver_info = (unsigned long)&wwan_noarp_info,
 	},
 
+	/* DW5813 LTE AT&T Mobile Broadband Card */
+	{ 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,
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices
       [not found] ` <1450258765-11215-1-git-send-email-dnlplm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2015-12-16  9:39   ` [PATCH 2/2] net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T " Daniele Palmas
@ 2015-12-16 17:12   ` Dan Williams
  2015-12-17 12:21     ` Bjørn Mork
  2015-12-17 12:40     ` Daniele Palmas
  1 sibling, 2 replies; 7+ messages in thread
From: Dan Williams @ 2015-12-16 17:12 UTC (permalink / raw)
  To: Daniele Palmas, David Miller
  Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA

On Wed, 2015-12-16 at 10:39 +0100, Daniele Palmas wrote:
> 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.
> 
> The devices do not have ARP capabilities.
> 
> 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

Quite interesting; Google knows nothing about these devices that I can
find.  What platform are these based on?

But in any case, since these blocks are almost identical to the DW5550
block, maybe update the comments to indicate that they need NOARP
unlike the MBM platform that the 5550 is based on?

Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices
  2015-12-16 17:12   ` [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices Dan Williams
@ 2015-12-17 12:21     ` Bjørn Mork
       [not found]       ` <87fuz15kqc.fsf-lbf33ChDnrE/G1V5fR+Y7Q@public.gmane.org>
  2015-12-17 12:40     ` Daniele Palmas
  1 sibling, 1 reply; 7+ messages in thread
From: Bjørn Mork @ 2015-12-17 12:21 UTC (permalink / raw)
  To: Dan Williams; +Cc: Daniele Palmas, David Miller, netdev, linux-usb

Dan Williams <dcbw@redhat.com> writes:
> On Wed, 2015-12-16 at 10:39 +0100, Daniele Palmas wrote:
>> 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.
>> 
>> The devices do not have ARP capabilities.
>> 
>> 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
>
> Quite interesting; Google knows nothing about these devices that I can
> find.  What platform are these based on?

There are a number of launchpad bugs reported for these devices.  Don't
know why they chose that channel..  This one:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1520147
shows that it is an Intel/Infineon based design.

BTW, DeWalt seems to own these device names :)


Bjørn

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices
  2015-12-16 17:12   ` [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices Dan Williams
  2015-12-17 12:21     ` Bjørn Mork
@ 2015-12-17 12:40     ` Daniele Palmas
  1 sibling, 0 replies; 7+ messages in thread
From: Daniele Palmas @ 2015-12-17 12:40 UTC (permalink / raw)
  To: Dan Williams; +Cc: David Miller, netdev, linux-usb

Hi Dan,

2015-12-16 18:12 GMT+01:00 Dan Williams <dcbw@redhat.com>:
> On Wed, 2015-12-16 at 10:39 +0100, Daniele Palmas wrote:
>> 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.
>>
>> The devices do not have ARP capabilities.
>>
>> 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
>
> Quite interesting; Google knows nothing about these devices that I can
> find.  What platform are these based on?
>

those devices are still in the testing stage, so there is nothing
about them in the web. They are Infineon based.

> But in any case, since these blocks are almost identical to the DW5550
> block, maybe update the comments to indicate that they need NOARP
> unlike the MBM platform that the 5550 is based on?

Sure, I can do a V2 patch for that.

>
> Dan

Thanks,
Daniele

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices
       [not found]       ` <87fuz15kqc.fsf-lbf33ChDnrE/G1V5fR+Y7Q@public.gmane.org>
@ 2015-12-17 12:47         ` Daniele Palmas
  0 siblings, 0 replies; 7+ messages in thread
From: Daniele Palmas @ 2015-12-17 12:47 UTC (permalink / raw)
  To: Bjørn Mork
  Cc: Dan Williams, David Miller, netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-usb

Hi Bjorn,

2015-12-17 13:21 GMT+01:00 Bjørn Mork <bjorn-yOkvZcmFvRU@public.gmane.org>:
> Dan Williams <dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> writes:
>> On Wed, 2015-12-16 at 10:39 +0100, Daniele Palmas wrote:
>>> 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.
>>>
>>> The devices do not have ARP capabilities.
>>>
>>> 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
>>
>> Quite interesting; Google knows nothing about these devices that I can
>> find.  What platform are these based on?
>
> There are a number of launchpad bugs reported for these devices.  Don't
> know why they chose that channel..  This one:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1520147
> shows that it is an Intel/Infineon based design.
>
> BTW, DeWalt seems to own these device names :)
>

patches were passed first to Canonical for custom OS image testing.

413c:81ba is the HSPA+ variant of the family: however this does not
use ncm, but ecm, see
https://github.com/torvalds/linux/commit/0b88393cdf6b1322522849e61f7a3328f4fd3843

>
> Bjørn

Thanks,
Daniele
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-12-17 12:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-16  9:39 [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices Daniele Palmas
2015-12-16  9:39 ` [PATCH 1/2] net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card Daniele Palmas
     [not found] ` <1450258765-11215-1-git-send-email-dnlplm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-12-16  9:39   ` [PATCH 2/2] net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T " Daniele Palmas
2015-12-16 17:12   ` [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices Dan Williams
2015-12-17 12:21     ` Bjørn Mork
     [not found]       ` <87fuz15kqc.fsf-lbf33ChDnrE/G1V5fR+Y7Q@public.gmane.org>
2015-12-17 12:47         ` Daniele Palmas
2015-12-17 12:40     ` Daniele Palmas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).