aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | udp: implementation for blocking recv w/ timeout, switch async ↵Josh Blum2010-10-071-39/+101
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | implementation w/ #define
* | | | | | | udp: fixed boost format syntax for warning messageJosh Blum2010-10-061-3/+3
| | | | | | |
* | | | | | | usb: moved event handler thread into the zero copy interfaceJosh Blum2010-10-052-18/+28
| | | | | | |
* | | | | | | uhd: transport docs for UDP and USB (moved from usrp docs)Josh Blum2010-10-051-1/+4
| | | | | | |
* | | | | | | uhd: replaced frame params for the zero copy interfaces with a device addressJosh Blum2010-10-053-54/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | usb: added dummy usb implementation for building without usb (throw, not ↵Josh Blum2010-10-042-1/+42
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | segfault)
* | | | | | uhd: bounded buffer pop sets back element to empty to decrement referencesJosh Blum2010-10-041-4/+0
| | | | | |
* | | | | | uhd: added include for enable_shared_from_this when usedJosh Blum2010-10-042-1/+2
| |_|_|_|/ |/| | | |
* | | | | udp: added io service work to keep service runningJosh Blum2010-10-041-4/+12
| | | | |
* | | | | uhd: changed buffer allocations to be in a single chunk, udp: pass frame ↵Josh Blum2010-10-032-53/+59
| | | | | | | | | | | | | | | | | | | | sizes into the impl constructor
* | | | | uhd: implemented udp zero copy asio with async callsJosh Blum2010-10-033-61/+133
| | | | |
* | | | | uhd: reworked the zero copy interfaceJosh Blum2010-10-024-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 chainsJosh Blum2010-10-014-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 Blum2010-10-011-5/+11
| |_|_|/ |/| | | | | | | | | | | discovery time
* | | | uhd: implemented recv timeout for zero copy interfaceJosh Blum2010-09-303-27/+24
| | | |
* | | | usb: set rt thread priority for the libusb event loopJosh Blum2010-09-301-0/+3
| | | |
* | | | usrp: transfer resize options and documentationJosh Blum2010-09-291-65/+75
| | | |
* | | | usb: submit should return ssize_t, usrp1: set hash before reset after fw loadJosh Blum2010-09-281-1/+1
| | | |
* | | | uhd: fix warning by adding brackets for while(cond){};Josh Blum2010-09-271-1/+1
| | | |
* | | | usb: use the proper libusb include (in path set by pkgconfig)Josh Blum2010-09-271-1/+1
| | | |
* | | | usb: added some documentation to wrapper baseJosh Blum2010-09-261-0/+7
| | | |
* | | | usb: disable thread interruption on wait callsJosh Blum2010-09-261-4/+4
| | | |
* | | | usb: zero copy work, multiple endpoints with single context, async ioJosh Blum2010-09-262-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 callsJosh Blum2010-09-256-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 conditionsJosh Blum2010-09-243-14/+13
| | | |
* | | | usb: moved msvc stdint file and changed cmake conditional for msvcJosh Blum2010-09-242-3/+3
| |_|/ |/| |
* | | Merge branch 'xusrp' into libusb_winJosh Blum2010-09-232-26/+42
|\ \ \
| * | | libusb: various minor code tweaksJosh Blum2010-09-232-3/+4
| | | |
| * | | usrp1: multi-channel tx working, modified vrt handler to interleaveJosh Blum2010-09-231-11/+17
| | | |
| * | | usrp1: multi-channel rx working, modified vrt handler to deinterleaveJosh Blum2010-09-222-15/+25
| | |/ | |/|
* | | usrp1: fixes to remove warnings and errors for usrp1 + libusb windowsJosh Blum2010-09-235-12/+49
| | |
* | | libusb: various minor code tweaksJosh Blum2010-09-232-3/+4
|/ /
* / uhd: added enable flags for usrp1 and usrp2Josh Blum2010-09-091-0/+6
|/
* Merge branch 'usrp1' of ettus.sourcerepo.com:ettus/uhdpriv into usrp1Nick Foster2010-08-312-27/+107
|\
| * Merge branch 'convert_types' into usrp1Josh Blum2010-08-302-27/+107
| |\
| | * uhd: added interleave/de-interleave type conversion routinesJosh Blum2010-08-301-20/+85
| | |
| | * uhd: fixed short conversion (IQ swap) and added test between short/floatJosh Blum2010-08-302-7/+22
| | |
* | | EEPROM burning in UHD. Changed some USB device handle stuff. Added ↵Nick Foster2010-08-313-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 implemenationThomas Tsou2010-08-285-3/+87
| |
* | usrp1: Remove unused funtions libusb transportThomas Tsou2010-08-271-6/+0
| |
* | usrp1: Additional comments to libusb transport implementationThomas Tsou2010-08-271-79/+104
| |
* | usrp1: Handle degenerate managed send buffer casesThomas Tsou2010-08-271-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 implementationsThomas Tsou2010-08-273-3/+3
| |
* | usrp1: Cleanup libusb device handlingThomas Tsou2010-08-273-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 devicesThomas Tsou2010-08-271-1/+12
| |
* | Merge branch 'convert_types' into usrp1Thomas Tsou2010-08-261-7/+88
|\|
| * uhd: switched the IQ order interpretation for convert typesJosh Blum2010-08-251-37/+29
| |
| * uhd: convert types corrected for little endian, created SSE2 float/short ↵Josh Blum2010-08-241-26/+115
| | | | | | | | conversion for no-swap case
* | usrp1: Modifiy USB transport implementations to use new interfaceThomas Tsou2010-08-266-298/+301
| | | | | | | | Common libusb1 code is consolidated in the libusb base file.
* | usrp1: compiling off next branchJosh Blum2010-08-152-7/+8
| | | | | | | | | | | | | | | | made usb checking changes implemented named_prop_t::extract change copied the remainder of the codec pga gain control