Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | uhd: reworked the zero copy interface | Josh Blum | 2010-10-02 | 4 | -198/+80 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | 4 | -51/+50 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | | | | usb: catch open errors and print message, device: catch exceptions at ↵ | Josh Blum | 2010-10-01 | 1 | -5/+11 | |
| |_|_|/ |/| | | | | | | | | | | | discovery time | |||||
* | | | | uhd: implemented recv timeout for zero copy interface | Josh Blum | 2010-09-30 | 3 | -27/+24 | |
| | | | | ||||||
* | | | | usb: set rt thread priority for the libusb event loop | Josh Blum | 2010-09-30 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | usrp: transfer resize options and documentation | Josh Blum | 2010-09-29 | 1 | -65/+75 | |
| | | | | ||||||
* | | | | usb: submit should return ssize_t, usrp1: set hash before reset after fw load | Josh Blum | 2010-09-28 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | uhd: fix warning by adding brackets for while(cond){}; | Josh Blum | 2010-09-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | usb: use the proper libusb include (in path set by pkgconfig) | Josh Blum | 2010-09-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | usb: added some documentation to wrapper base | Josh Blum | 2010-09-26 | 1 | -0/+7 | |
| | | | | ||||||
* | | | | 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 | 2 | -356/+134 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 6 | -360/+367 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | | | usb: tweaks to usb code to cleanup properly and/or in error conditions | Josh Blum | 2010-09-24 | 3 | -14/+13 | |
| | | | | ||||||
* | | | | usb: moved msvc stdint file and changed cmake conditional for msvc | Josh Blum | 2010-09-24 | 2 | -3/+3 | |
| |_|/ |/| | | ||||||
* | | | Merge branch 'xusrp' into libusb_win | Josh Blum | 2010-09-23 | 2 | -26/+42 | |
|\ \ \ | ||||||
| * | | | libusb: various minor code tweaks | Josh Blum | 2010-09-23 | 2 | -3/+4 | |
| | | | | ||||||
| * | | | usrp1: multi-channel tx working, modified vrt handler to interleave | Josh Blum | 2010-09-23 | 1 | -11/+17 | |
| | | | | ||||||
| * | | | usrp1: multi-channel rx working, modified vrt handler to deinterleave | Josh Blum | 2010-09-22 | 2 | -15/+25 | |
| | |/ | |/| | ||||||
* | | | usrp1: fixes to remove warnings and errors for usrp1 + libusb windows | Josh Blum | 2010-09-23 | 5 | -12/+49 | |
| | | | ||||||
* | | | libusb: various minor code tweaks | Josh Blum | 2010-09-23 | 2 | -3/+4 | |
|/ / | ||||||
* / | uhd: added enable flags for usrp1 and usrp2 | Josh Blum | 2010-09-09 | 1 | -0/+6 | |
|/ | ||||||
* | Merge branch 'usrp1' of ettus.sourcerepo.com:ettus/uhdpriv into usrp1 | Nick Foster | 2010-08-31 | 2 | -27/+107 | |
|\ | ||||||
| * | Merge branch 'convert_types' into usrp1 | Josh Blum | 2010-08-30 | 2 | -27/+107 | |
| |\ | ||||||
| | * | uhd: added interleave/de-interleave type conversion routines | Josh Blum | 2010-08-30 | 1 | -20/+85 | |
| | | | ||||||
| | * | uhd: fixed short conversion (IQ swap) and added test between short/float | Josh Blum | 2010-08-30 | 2 | -7/+22 | |
| | | | ||||||
* | | | EEPROM burning in UHD. Changed some USB device handle stuff. Added ↵ | Nick Foster | 2010-08-31 | 3 | -60/+20 | |
|/ / | | | | | | | usrp_init_eeprom.cpp. Hacked up the firmware makefile to behave and to generate .bin EEPROM images instead of IHX. | |||||
* | | usrp1: Additional comments on libusb transport implemenation | Thomas Tsou | 2010-08-28 | 5 | -3/+87 | |
| | | ||||||
* | | 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 | 3 | -3/+3 | |
| | | ||||||
* | | usrp1: Cleanup libusb device handling | Thomas Tsou | 2010-08-27 | 3 | -33/+50 | |
| | | | | | | | | | | | | | | | | This patch limits all libusb device enumeration operations to FSF (Vendor ID = 0xfffe) devices, which removes a lot of unncessary libusb output when debug mode is enabled. The reference counts held by the libusb device list are also reduced, which prevents holding references to unused devices. | |||||
* | | usrp1: Only return a list of FSF devices | Thomas Tsou | 2010-08-27 | 1 | -1/+12 | |
| | | ||||||
* | | Merge branch 'convert_types' into usrp1 | Thomas Tsou | 2010-08-26 | 1 | -7/+88 | |
|\| | ||||||
| * | uhd: switched the IQ order interpretation for convert types | Josh Blum | 2010-08-25 | 1 | -37/+29 | |
| | | ||||||
| * | uhd: convert types corrected for little endian, created SSE2 float/short ↵ | Josh Blum | 2010-08-24 | 1 | -26/+115 | |
| | | | | | | | | conversion for no-swap case | |||||
* | | usrp1: Modifiy USB transport implementations to use new interface | Thomas Tsou | 2010-08-26 | 6 | -298/+301 | |
| | | | | | | | | Common libusb1 code is consolidated in the libusb base file. | |||||
* | | usrp1: compiling off next branch | Josh Blum | 2010-08-15 | 2 | -7/+8 | |
| | | | | | | | | | | | | | | | | made usb checking changes implemented named_prop_t::extract change copied the remainder of the codec pga gain control | |||||
* | | usrp1: Cmake changes to find libusb-1.0 | Josh Blum | 2010-08-13 | 2 | -0/+53 | |
| | | | | | | | | | | FindUSB1.cmake file imported from the libFTDI project, http://www.intra2net.com/en/developer/libftdi | |||||
* | | usrp1: Add libusb-1.0 implementations of USB interfaces | Thomas Tsou | 2010-08-13 | 2 | -0/+1092 | |
|/ | ||||||
* | uhd: use constructor for impl class to avoid msvc warnings | Josh Blum | 2010-08-06 | 1 | -2/+4 | |
| | ||||||
* | uhd: added warning printer utility function | Josh Blum | 2010-08-04 | 1 | -6/+6 | |
| | ||||||
* | usrp2: use default sized buffer on transmit (or reasonably smaller) | Josh Blum | 2010-07-26 | 1 | -4/+12 | |
| | ||||||
* | Merge branch 'tx_report' | Josh Blum | 2010-07-26 | 1 | -14/+21 | |
|\ | | | | | | | | | Conflicts: host/lib/usrp/usrp2/io_impl.cpp | |||||
| * | usrp2: added async event types, and common code for handling context words | Josh Blum | 2010-07-21 | 1 | -6/+13 | |
| | | ||||||
| * | uhd: added async recv message call to device api | Josh Blum | 2010-07-20 | 1 | -9/+9 | |
| | | | | | | | | | | | | implemented in usrp2 io impl added async metadata type | |||||
* | | uhd: removed remaining template stuff from vrt packet handler, also tweaked ↵ | Josh Blum | 2010-07-26 | 1 | -2/+1 | |
|/ | | | | format in rx timed samples | |||||
* | uhd: typedefed vrt pack/unpack so the vrt packet handler need not be templated | Josh Blum | 2010-07-20 | 1 | -8/+6 | |
| | ||||||
* | usrp2: add a timeout to udp control and make it large for usrp2 control ↵ | Josh Blum | 2010-07-19 | 1 | -10/+11 | |
| | | | | transactions |