diff options
Diffstat (limited to 'firmware/export/usb_ch9.h')
-rw-r--r-- | firmware/export/usb_ch9.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/firmware/export/usb_ch9.h b/firmware/export/usb_ch9.h index c11775b893..659bcca101 100644 --- a/firmware/export/usb_ch9.h +++ b/firmware/export/usb_ch9.h | |||
@@ -391,6 +391,23 @@ struct usb_debug_descriptor { | |||
391 | } __attribute__((packed)); | 391 | } __attribute__((packed)); |
392 | 392 | ||
393 | /*-------------------------------------------------------------------------*/ | 393 | /*-------------------------------------------------------------------------*/ |
394 | |||
395 | /* USB_DT_INTERFACE_ASSOCIATION: groups interfaces */ | ||
396 | struct usb_interface_assoc_descriptor { | ||
397 | uint8_t bLength; | ||
398 | uint8_t bDescriptorType; | ||
399 | |||
400 | uint8_t bFirstInterface; | ||
401 | uint8_t bInterfaceCount; | ||
402 | uint8_t bFunctionClass; | ||
403 | uint8_t bFunctionSubClass; | ||
404 | uint8_t bFunctionProtocol; | ||
405 | uint8_t iFunction; | ||
406 | } __attribute__ ((packed)); | ||
407 | |||
408 | #define USB_DT_INTERFACE_ASSOCIATION_SIZE 8 | ||
409 | |||
410 | /*-------------------------------------------------------------------------*/ | ||
394 | /* USB 2.0 defines three speeds, here's how Linux identifies them */ | 411 | /* USB 2.0 defines three speeds, here's how Linux identifies them */ |
395 | 412 | ||
396 | enum usb_device_speed { | 413 | enum usb_device_speed { |