mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
USB: CDC WDM driver
Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
129bd474a8
commit
afba937e54
@@ -29,3 +29,14 @@ config USB_PRINTER
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called usblp.
|
||||
|
||||
config USB_WDM
|
||||
tristate "USB Wireless Device Management support"
|
||||
depends on USB
|
||||
---help---
|
||||
This driver supports the WMC Device Management functionality
|
||||
of cell phones compliant to the CDC WMC specification. You can use
|
||||
AT commands over this device.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called cdc-wdm.
|
||||
|
||||
|
||||
@@ -5,3 +5,4 @@
|
||||
|
||||
obj-$(CONFIG_USB_ACM) += cdc-acm.o
|
||||
obj-$(CONFIG_USB_PRINTER) += usblp.o
|
||||
obj-$(CONFIG_USB_WDM) += cdc-wdm.o
|
||||
|
||||
740
drivers/usb/class/cdc-wdm.c
Normal file
740
drivers/usb/class/cdc-wdm.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -130,6 +130,15 @@ struct usb_cdc_ether_desc {
|
||||
__u8 bNumberPowerFilters;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
/* "Telephone Control Model Functional Descriptor" from CDC WMC spec 6.3..3 */
|
||||
struct usb_cdc_dmm_desc {
|
||||
__u8 bFunctionLength;
|
||||
__u8 bDescriptorType;
|
||||
__u8 bDescriptorSubtype;
|
||||
__u16 bcdVersion;
|
||||
__le16 wMaxCommand;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
/* "MDLM Functional Descriptor" from CDC WMC spec 6.7.2.3 */
|
||||
struct usb_cdc_mdlm_desc {
|
||||
__u8 bLength;
|
||||
|
||||
Reference in New Issue
Block a user