listusb: decode USB-CDC descriptors

Change-Id: I36ea15fee28b27332a8092a98a302c22b41ae060
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5225
Reviewed-by: Fredrik Holmqvist <[email protected]>
This commit is contained in:
PulkoMandy
2022-04-21 18:29:41 +00:00
committed by waddlesplash
parent 6c02429697
commit 581013b8e3
2 changed files with 225 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@
// Reference: http://www.usb.org/developers/devclass_docs/usbcdc11.pdf
#define USB_COMMUNICATION_DEVICE_CLASS 0x02
#define USB_COMMUNICATION_WIRELESS_DEVICE_CLASS 0xe0
#define USB_CDC_COMMUNICATION_INTERFACE_CLASS 0x02
#define USB_CDC_CLASS_VERSION 0x0101