From 6ce3819dfe1b648ff5bf3c4a3b3ba14eb1e00044 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Wed, 28 Jan 2015 19:49:53 +0000 Subject: [PATCH] MFC r277245: 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" --- lib/libusb/libusb.h | 2 ++ lib/libusb/libusb20_desc.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h index 7f8634fc5158..ab20e92fc5ae 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 48e2715d2003..c5f085f30cff 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