netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next/usb-next v3 0/5] cdc-wdm/qmi_wwan: subdriver support
@ 2012-02-29 15:15 Bjørn Mork
  2012-02-29 15:15 ` [PATCH net-next v3 4/5] net: qmi_wwan: support devices having a shared QMI/wwan interface Bjørn Mork
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Bjørn Mork @ 2012-02-29 15:15 UTC (permalink / raw)
  To: linux-usb; +Cc: Dan Williams, Oliver Neukum, Bjørn Mork, netdev

This patch set enables the cdc-wdm USB class driver to be used as a
subdriver, and updates the qmi_wwan usbnet minidriver to use this
new functionality.

The purpose is to support a number of 3G/LTE devices based on Qualcomm
chipsets providing a single USB interface combining usbnet and
Qualcomm Messaging Interface (QMI) protocol support.  The usbnet wwan
interface must be initialized via the QMI channel before it is usable.
This initialization is complex and depends on many user policy decisions.
By using the cdc-wdm driver to export the QMI interface as a character
device, all this complexity can be left to userspace applications.  This
makes us able to support a large number of different devices with very
different capabilities using a single relatively simple driver.

The 2 previous revisions of this set were considered work-in-progress
and were therefore only posted to the linux-usb list for discussion, to
avoid having them end up unnecessarily in netdev patchworks. 

Changes in v3:
 - move manage_power call in wdm_open() outside the section where we
   hold the wlock mutex
 - proper initialization of the pmcount counter
 - added all non-QDL Gobi device IDs from qcserial driver


Only patch 4 and 5 of this set applies to, and is crossposted to, netdev.

Note that the netdev patches still depend on the 3 first patches of this
set, and should not be applied independently. The 3 first do not yet
apply to net-next, as they depend on other patches in usb-next and
linux-next. Please let me know if this sort of cross-system
patch set should be handled otherwise.

All 5 patches are verified to apply cleanly to linux-next tag next-20120229.
Patches 1-3 are verified to apply to usb-next commit aac1fc386
Patches 4-5 are verified to apply to net-next commit 9100eb012 , but will
cause build errors there due to the lack of the required 3 first patches
as noted above.


Bjørn Mork (5):
  usb: cdc-wdm: split out reusable parts of probe
  usb: cdc-wdm: adding list lookup indirection
  usb: cdc-wdm: adding usb_cdc_wdm_register subdriver support
  net: qmi_wwan: support devices having a shared QMI/wwan interface
  net: qmi_wwan: add Gobi and Pantech UML290 device IDs

 drivers/net/usb/qmi_wwan.c  |  248 ++++++++++++++++++++++++++++++++++++++++---
 drivers/usb/class/cdc-wdm.c |  224 +++++++++++++++++++++++++++-----------
 include/linux/usb/cdc-wdm.h |   19 ++++
 3 files changed, 410 insertions(+), 81 deletions(-)
 create mode 100644 include/linux/usb/cdc-wdm.h

-- 
1.7.9

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

end of thread, other threads:[~2012-03-14 15:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 15:15 [PATCH net-next/usb-next v3 0/5] cdc-wdm/qmi_wwan: subdriver support Bjørn Mork
2012-02-29 15:15 ` [PATCH net-next v3 4/5] net: qmi_wwan: support devices having a shared QMI/wwan interface Bjørn Mork
     [not found] ` <1330528507-16551-1-git-send-email-bjorn-yOkvZcmFvRU@public.gmane.org>
2012-02-29 15:15   ` [PATCH net-next/usb-next v3 5/5] net: qmi_wwan: add Gobi and Pantech UML290 device IDs Bjørn Mork
2012-03-06 12:03 ` [PATCH net-next/usb-next v3 0/5] cdc-wdm/qmi_wwan: subdriver support Bjørn Mork
2012-03-06 14:35   ` Greg KH
2012-03-06 15:41     ` Bjørn Mork
     [not found]       ` <87r4x5u478.fsf-lbf33ChDnrE/G1V5fR+Y7Q@public.gmane.org>
2012-03-08 18:53         ` Greg KH
2012-03-08 21:43           ` David Miller
2012-03-09  9:29             ` Bjørn Mork
     [not found]             ` <20120308.134338.1946356302291460775.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-03-09 21:13               ` Greg KH
2012-03-09 11:35           ` [PATCH RESEND v3 0/2] qmi_wwan: subdriver support (parts 4/5 and 5/5 previously) Bjørn Mork
     [not found]             ` <1331292906-7467-1-git-send-email-bjorn-yOkvZcmFvRU@public.gmane.org>
2012-03-09 11:35               ` [PATCH RESEND v3 1/2] net: qmi_wwan: support devices having a shared QMI/wwan interface Bjørn Mork
2012-03-09 11:35             ` [PATCH RESEND v3 2/2] net: qmi_wwan: add Gobi and Pantech UML290 device IDs Bjørn Mork
     [not found]   ` <4F608D56.9070704@phoenixhaven.net>
2012-03-14 12:51     ` [PATCH net-next/usb-next v3 0/5] cdc-wdm/qmi_wwan: subdriver support Bjørn Mork
2012-03-14 15:20       ` Nin Lil'izi

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).