diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2017-07-30 08:09:38 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2017-07-31 17:26:28 +0100 |
commit | 5e51c480f64957f859a38d183bb1e936bee69199 (patch) | |
tree | dc44230fc93a5091e362b552e1a6a6aac2e7b1f2 | |
parent | d3db80c0beddc6fe81b8d652e37c1621ba64cfd9 (diff) |
include: usbdescriptors: RDA support
-rw-r--r-- | include/usbdescriptors.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/usbdescriptors.h b/include/usbdescriptors.h index de1069f0ea..6f9d41d376 100644 --- a/include/usbdescriptors.h +++ b/include/usbdescriptors.h @@ -213,6 +213,18 @@ struct usb_interface_descriptor { u8 iInterface; } __attribute__ ((packed)); +/* usb interface association descriptor (IAD) */ +struct usb_function_descriptor { + u8 bLength; + u8 bDescriptorType; /* 0x0B */ + u8 bFirstInterface; + u8 bInterfaceCount; + u8 bFunctionClass; + u8 bFunctionSubClass; + u8 bFunctionProtocol; + u8 iFunction; +} __attribute__ ((packed)); + struct usb_configuration_descriptor { u8 bLength; u8 bDescriptorType; /* 0x2 */ |