Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | usb: restored disable_interruption on get_lut_with_wait (gets called externally) | Josh Blum | 2011-01-21 | 1 | -0/+1 |
| | |||||
* | usb: use thread interruption in usb zero copy on deconstruction | Josh Blum | 2011-01-17 | 1 | -8/+9 |
| | |||||
* | uhd: update copyright dates | Josh Blum | 2011-01-05 | 1 | -1/+1 |
| | |||||
* | uhd: created buffer pool to allocate aligned memory, and implemented in ↵ | Josh Blum | 2011-01-03 | 1 | -5/+5 |
| | | | | transports | ||||
* | usb: moved event handler thread into the zero copy interface | Josh Blum | 2010-10-05 | 1 | -0/+28 |
| | |||||
* | uhd: replaced frame params for the zero copy interfaces with a device address | Josh Blum | 2010-10-05 | 1 | -37/+30 |
| | | | | | | | | | | the device address gives a key, value pair of infinite optional capabilities added a cast option to the device address to cast string to type T added call to the zero_copy_if to get send and recv frame sizes changed the usrp2 impl to calculate recv/send spp from the data transport | ||||
* | uhd: bounded buffer pop sets back element to empty to decrement references | Josh Blum | 2010-10-04 | 1 | -4/+0 |
| | |||||
* | uhd: added include for enable_shared_from_this when used | Josh Blum | 2010-10-04 | 1 | -1/+1 |
| | |||||
* | uhd: changed buffer allocations to be in a single chunk, udp: pass frame ↵ | Josh Blum | 2010-10-03 | 1 | -13/+14 |
| | | | | sizes into the impl constructor | ||||
* | uhd: implemented udp zero copy asio with async calls | Josh Blum | 2010-10-03 | 1 | -3/+3 |
| | |||||
* | uhd: reworked the zero copy interface | Josh Blum | 2010-10-02 | 1 | -116/+33 |
| | | | | | | | | | | | | | | | | - recv buffers have a release call - safe make function for recv buffers (buff + release callback) - send buffer commits now have a void return - safe make function for send buffers (buff + commit callback) The reason for the void return from commit is that ssize_t num_bytes was never returning anything of use. That is for all of the zero copy implementations so far, commit cannot really error (being asynchronous). libusb zero copy impl was reworked to support the new interface. USRP1 io_impl with the psuedo managed buffer was replaced with safe_make. Also, usrp1 io_impl was simplified greatly due to commit returning void now. UDP zero copy asio was disabled (in this commit, until its reworked). Phony send and recv interfaces were removed completely. | ||||
* | uhd: implemented a double timeout (in seconds) for send and recv chains | Josh Blum | 2010-10-01 | 1 | -23/+19 |
| | | | | | | | | converted all size_t timeout_ms to double timeout bounded and alignment buffer now take double timeout added timeout to device::send and zero_copy_if::get_send_buff | ||||
* | uhd: implemented recv timeout for zero copy interface | Josh Blum | 2010-09-30 | 1 | -22/+20 |
| | |||||
* | usrp: transfer resize options and documentation | Josh Blum | 2010-09-29 | 1 | -65/+75 |
| | |||||
* | uhd: fix warning by adding brackets for while(cond){}; | Josh Blum | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | usb: disable thread interruption on wait calls | Josh Blum | 2010-09-26 | 1 | -4/+4 |
| | |||||
* | usb: zero copy work, multiple endpoints with single context, async io | Josh Blum | 2010-09-26 | 1 | -356/+118 |
| | | | | | | | | | Heavy work on the zero copy interface and endpoint wrappers to properly use the async io. The global libusb session starts a thread to run the event handler, the async callbacks push completed transfers onto a thread-safe bounded buffer. The managed buffer creation routines use the bounded buffer to efficiently pop off completed transfers. works on linux, throws a weird exception on cleanup | ||||
* | usb: work on libusb code to use a single context across all calls | Josh Blum | 2010-09-25 | 1 | -54/+29 |
| | | | | | | | | libusb allocation stuff had been moved inside of smart pointer classes to handle automatic cleanup the public device handle implementation now holds an actual libusb device inside of it needs testing - all platforms | ||||
* | usrp1: fixes to remove warnings and errors for usrp1 + libusb windows | Josh Blum | 2010-09-23 | 1 | -2/+1 |
| | |||||
* | usrp1: Additional comments on libusb transport implemenation | Thomas Tsou | 2010-08-28 | 1 | -3/+5 |
| | |||||
* | usrp1: Remove unused funtions libusb transport | Thomas Tsou | 2010-08-27 | 1 | -6/+0 |
| | |||||
* | usrp1: Additional comments to libusb transport implementation | Thomas Tsou | 2010-08-27 | 1 | -79/+104 |
| | |||||
* | usrp1: Handle degenerate managed send buffer cases | Thomas Tsou | 2010-08-27 | 1 | -4/+19 |
| | | | | | | | | Handle degenerate usage of send buffer commits. If the buffer is destroyed without ever being submitted, submit a zero byte transfer to return control to the underlying structure. If a committed buffer is re-committed, then report an error message and return 0 bytes back. | ||||
* | usrp1: Disable default debug output for libusb implementations | Thomas Tsou | 2010-08-27 | 1 | -1/+1 |
| | |||||
* | usrp1: Modifiy USB transport implementations to use new interface | Thomas Tsou | 2010-08-26 | 1 | -138/+15 |
| | | | | Common libusb1 code is consolidated in the libusb base file. | ||||
* | usrp1: Add libusb-1.0 implementations of USB interfaces | Thomas Tsou | 2010-08-13 | 1 | -0/+854 |