Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merging USRP X300 and X310 support!! | Ben Hilburn | 2014-02-04 | 1 | -5/+40 |
| | |||||
* | BUG #183: Addressed comments from code review. | Michael West | 2013-11-19 | 1 | -14/+15 |
| | |||||
* | BUG #183: Fixed typo | Moritz Fischer | 2013-11-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | BUG #183: B200 High CPU Usage: Created a single thread to handle libusb ↵ | Michael West | 2013-11-08 | 1 | -53/+45 |
| | | | | events and expanded packet size to 16k | ||||
* | usb: squashed thread related changes | Josh Blum | 2013-07-19 | 1 | -125/+194 |
| | |||||
* | usb: useful error messages on failed submit | Josh Blum | 2013-07-16 | 1 | -2/+13 |
| | |||||
* | usb: check for and use libusb_handle_events_timeout_completed | Josh Blum | 2013-03-11 | 1 | -2/+8 |
| | |||||
* | usb: use int for completed to match libusb example code | Josh Blum | 2013-03-11 | 1 | -8/+9 |
| | |||||
* | usb: added recv buffer flushing to libusb zero copy | Josh Blum | 2012-08-04 | 1 | -1/+18 |
| | |||||
* | uhd: squashed transport work | Josh Blum | 2012-04-23 | 1 | -26/+21 |
| | |||||
* | dsp rework: work on usb wrapper for smaller packets, large luts | Josh Blum | 2012-02-02 | 1 | -7/+10 |
| | |||||
* | usb: added interface args to usb abstractions | Josh Blum | 2011-09-19 | 1 | -7/+11 |
| | |||||
* | usb: reimplement ~libusb_zero_copy_impl to avoid segfaults and indefinite ↵ | Josh Blum | 2011-09-02 | 1 | -13/+13 |
| | | | | timeouts | ||||
* | usb: removed handler thread, do work in get buffer calls | Josh Blum | 2011-09-02 | 1 | -85/+75 |
| | |||||
* | uhd: added tasks to simplify thread spawning use cases | Josh Blum | 2011-07-13 | 1 | -21/+13 |
| | |||||
* | uhd: replaced boolean for thread loop w/ ↵ | Josh Blum | 2011-06-16 | 1 | -4/+1 |
| | | | | boost::this_thread::interruption_requested | ||||
* | b100: added b100 host (squashed) | Josh Blum | 2011-06-14 | 1 | -11/+22 |
| | |||||
* | uhd: replace managed buffer shared pointer w/ intrusive pointer to reduce ↵ | Josh Blum | 2011-05-14 | 1 | -10/+2 |
| | | | | overhead | ||||
* | uhd: replaced many conditional prints with UHD_LOG usage | Josh Blum | 2011-05-04 | 1 | -2/+2 |
| | |||||
* | uhd: move thread loop condition flag to before barrier (prevents race condition) | Josh Blum | 2011-04-22 | 1 | -1/+1 |
| | |||||
* | usb: mark libusb callbacks with LIBUSB_CALL to ensure correct calling convention | Josh Blum | 2011-04-05 | 1 | -2/+12 |
| | |||||
* | uhd: implemented boost barriers on all code that creates threads | Josh Blum | 2011-03-31 | 1 | -2/+6 |
| | | | | | | | | | The barrier ensures that the thread must spawn before the caller exits. Some of the code already used a mutex to accomplish this, however cygwin chokes when a mutex is locked twice by the same thread. Mutex implementations were replaced with the barrier implementation. Also the barrier implementation is far cleaner. | ||||
* | usb: fix callback cast in libusb zero copy under msvc | Josh Blum | 2011-03-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'usb-cancel' into next | Josh Blum | 2011-03-17 | 1 | -6/+14 |
|\ | | | | | | | | | Conflicts: host/lib/transport/libusb1_zero_copy.cpp | ||||
| * | USB zero copy impl: proper cleanup for canceled transfers -- wait for cancel ↵ | Nick Foster | 2011-03-16 | 1 | -6/+14 |
| | | | | | | | | before freeing | ||||
* | | usrp1: safe destruction for usrp1 device | Josh Blum | 2011-03-10 | 1 | -6/+7 |
| | | |||||
* | | uhd: renamed the assert header to assert has | Josh Blum | 2011-02-24 | 1 | -1/+1 |
|/ | | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match | ||||
* | uhd: tweaks for windows msvc compiler warnings and errors | Josh Blum | 2011-02-16 | 1 | -2/+2 |
| | |||||
* | uhd: reusable buffers for libusb zero copy implementation | Josh Blum | 2011-02-15 | 1 | -323/+169 |
| | | | | tweaks on udp implementation to simplify | ||||
* | uhd: tweaks to bounded buffer | Josh Blum | 2011-02-10 | 1 | -2/+2 |
| | | | | | | | Added push with haste. Call with haste first in the wait methods to avoid time compare/wait when not needed. Added new calls to the libusb and udp zero copy impls tests pass | ||||
* | uhd: replace asio buffer in make safe w/ memory and length, makes things simpler | Josh Blum | 2011-02-07 | 1 | -2/+2 |
| | |||||
* | uhd: removed instances of shared_from_this() in transports | Josh Blum | 2011-02-05 | 1 | -4/+3 |
| | | | | | | Its known to be slow and using sptrs of large objects. This should be a slight performance improvement for libusb and usrp_e100_mmap implementation. | ||||
* | uhd: change bounded_buffer implementation and code using it | Josh Blum | 2011-02-05 | 1 | -8/+7 |
| | | | | | | | The bounded buffer now uses the detail idiom to hide implementation to inline better. The whole sptr/make idiom was removed from bounded buffer to just construct directly. The code using bounded buffer was changed for the new api: replaces access operators and calls to the factory function. | ||||
* | 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 |