diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-01-16 12:11:01 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-01-16 12:11:01 +0000 |
commit | 664eb6feb5884ac8a1f335bbdb3d9483335a3740 (patch) | |
tree | c0503836afe6080d8edb5e14d799819d868fc22c /lib/libusb | |
parent | b32ba73dadcd1cba44d8210c090983cddd3c68cd (diff) | |
download | FreeBSD-src-664eb6feb5884ac8a1f335bbdb3d9483335a3740.zip FreeBSD-src-664eb6feb5884ac8a1f335bbdb3d9483335a3740.tar.gz |
Add more USB request definitions. The values are described in section
9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification"
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week
Diffstat (limited to 'lib/libusb')
-rw-r--r-- | lib/libusb/libusb.h | 2 | ||||
-rw-r--r-- | lib/libusb/libusb20_desc.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h index 7f8634f..ab20e92 100644 --- a/lib/libusb/libusb.h +++ b/lib/libusb/libusb.h @@ -128,6 +128,8 @@ enum libusb_standard_request { LIBUSB_REQUEST_GET_INTERFACE = 0x0A, LIBUSB_REQUEST_SET_INTERFACE = 0x0B, LIBUSB_REQUEST_SYNCH_FRAME = 0x0C, + LIBUSB_REQUEST_SET_SEL = 0x30, + LIBUSB_REQUEST_SET_ISOCH_DELAY = 0x31, }; enum libusb_request_type { diff --git a/lib/libusb/libusb20_desc.h b/lib/libusb/libusb20_desc.h index 48e2715..c5f085f 100644 --- a/lib/libusb/libusb20_desc.h +++ b/lib/libusb/libusb20_desc.h @@ -481,6 +481,12 @@ enum libusb20_standard_request { /** Set then report an endpoint's synchronization frame */ LIBUSB20_REQUEST_SYNCH_FRAME = 0x0C, + + /** Set U1 and U2 system exit latency */ + LIBUSB20_REQUEST_SET_SEL = 0x30, + + /** Set isochronous delay */ + LIBUSB20_REQUEST_SET_ISOCH_DELAY = 0x31, }; /** \ingroup misc |