linux/drivers/usb
Loic Poulain cac6fb015f usb: class: cdc-wdm: WWAN framework integration
The WWAN framework provides a unified way to handle WWAN/modems and its
control port(s). It has initially been introduced to support MHI/PCI
modems, offering the same control protocols as the USB variants such as
MBIM, QMI, AT... The WWAN framework exposes these control protocols as
character devices, similarly to cdc-wdm, but in a bus agnostic fashion.

This change adds registration of the USB modem cdc-wdm control endpoints
to the WWAN framework as standard control ports (wwanXpY...).

Exposing cdc-wdm through WWAN framework normally maintains backward
compatibility, e.g:
    $ qmicli --device-open-qmi -d /dev/wwan0p1QMI --dms-get-ids
instead of
    $ qmicli --device-open-qmi -d /dev/cdc-wdm0 --dms-get-ids

However, some tools may rely on cdc-wdm driver/device name for device
detection. It is then safer to keep the 'legacy' cdc-wdm character
device to prevent any breakage. This is handled in this change by
API mutual exclusion, only one access method can be used at a time,
either cdc-wdm chardev or WWAN API.

Note that unknown channel types (other than MBIM, AT or MBIM) are not
registered to the WWAN framework.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-05-11 16:17:56 -07:00
..
atm
c67x00
cdns3 usb: cdnsp: Fixes issue with Configure Endpoint command 2021-04-12 20:19:23 +08:00
chipidea
class usb: class: cdc-wdm: WWAN framework integration 2021-05-11 16:17:56 -07:00
common
core USB: Add reset-resume quirk for WD19's Realtek Hub 2021-04-22 10:52:56 +02:00
dwc2 usb: dwc2: Get rid of useless error checks in suspend interrupt 2021-04-22 11:55:34 +02:00
dwc3 usb: dwc3: gadget: Handle DEV_TXF_FLUSH_BYPASS capability 2021-04-23 13:05:15 +02:00
early
gadget SCSI misc on 20210428 2021-04-28 17:22:10 -07:00
host usb: xhci-mtk: remove bus status check 2021-04-22 11:02:07 +02:00
image
isp1760
misc usb: misc: adutux: fix whitespace coding style issue 2021-04-22 10:49:53 +02:00
mon
mtu3
musb usb: musb: musb_core: Add space after that ',' 2021-04-22 10:49:22 +02:00
phy
renesas_usbhs
roles
serial USB/Thunderbolt patches for 5.13-rc1 2021-04-26 11:32:23 -07:00
storage usb: storage: datafab: remove redundant assignment of variable result 2021-04-22 10:52:10 +02:00
typec usb: typec: tcpm: Fix error while calculating PPS out values 2021-04-22 08:57:34 +02:00
usbip Scheduler updates for this cycle are: 2021-04-28 13:33:57 -07:00
Kconfig
Makefile
usb-skeleton.c