summaryrefslogtreecommitdiffstats
path: root/lib/libusb/libusb20.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libusb/libusb20.3')
-rw-r--r--lib/libusb/libusb20.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libusb/libusb20.3 b/lib/libusb/libusb20.3
index 403ddba..f902883 100644
--- a/lib/libusb/libusb20.3
+++ b/lib/libusb/libusb20.3
@@ -310,8 +310,13 @@ packets are avoided for proxy buffers.
.Pp
.
.Fn libusb20_tr_get_max_total_length
-function will return the maximum value for the length sum of all
-USB frames associated with an USB transfer.
+function will return the maximum value for the data length sum of all USB
+frames associated with an USB transfer.
+In case of control transfers the value returned does not include the
+length of the SETUP packet, 8 bytes, which is part of frame zero.
+The returned value of this function is always aligned to the maximum
+packet size, wMaxPacketSize, of the endpoint which the USB transfer is
+bound to.
.
.Pp
.
OpenPOWER on IntegriCloud