summaryrefslogtreecommitdiff
path: root/libusb/libusbi.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-04-11 21:40:07 +0100
committerDaniel Drake <dsd@gentoo.org>2008-04-11 21:42:29 +0100
commitad6e2b712c5b54af44424e58a2776686314e26b7 (patch)
tree637282b9706bfab7ab90e59f688b8bb4ddf1e458 /libusb/libusbi.h
parentd9b2ce2894ed43d34de6850f2dac50ccabf1db55 (diff)
downloadlibusb-ad6e2b712c5b54af44424e58a2776686314e26b7.tar.gz
Linux: fire multiple URBs at once for split transfers
This results in a significant performance increase for bulk transfers larger than 16kb, and fixes a bug where data would be spliced and mixed between two simultaneously submitted transfers to the same endpoint. It also allows isochronous transfers larger than 16kb to be submitted. This commit also improves cancellation - the library now understands what is going on.
Diffstat (limited to 'libusb/libusbi.h')
-rw-r--r--libusb/libusbi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libusb/libusbi.h b/libusb/libusbi.h
index 3cc33bf..c589ef6 100644
--- a/libusb/libusbi.h
+++ b/libusb/libusbi.h
@@ -283,6 +283,8 @@ struct usbi_os_backend {
size_t transfer_priv_size;
/* number of additional bytes for os_priv for each iso packet */
+ /* FIXME: linux can't use this any more. if other OS's cannot either,
+ * then remove this */
size_t add_iso_packet_size;
};