diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-08-10 14:10:04 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-01-13 10:25:44 +0100 |
commit | cc5f13956c3e681d5974bc81b6d275c19666af4b (patch) | |
tree | 819bb875af4044e5174bbf6b27407d3b5a887bfc /hw/usb-desc.h | |
parent | 1de14d43e29b8f1fff8bcbf18f300adeb3eabc1d (diff) |
usb-desc: audio endpoint support
Add support for audio endpoints which have two more fields in the
descriptor. Also add support for extra class specific endpoint
descriptors.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-desc.h')
-rw-r--r-- | hw/usb-desc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/usb-desc.h b/hw/usb-desc.h index 5c14e4abdc..d6e07ea5d2 100644 --- a/hw/usb-desc.h +++ b/hw/usb-desc.h @@ -71,6 +71,11 @@ struct USBDescEndpoint { uint8_t bmAttributes; uint16_t wMaxPacketSize; uint8_t bInterval; + uint8_t bRefresh; + uint8_t bSynchAddress; + + uint8_t is_audio; /* has bRefresh + bSynchAddress */ + uint8_t *extra; }; struct USBDescOther { |