aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
Commit message (Collapse)AuthorAgeFilesLines
* UDP transport: Utilize poll instead of selectPaul David2017-02-131-0/+12
| | | | | | - Avoids the descriptor limit of 1024 on FD_SETSIZE - Fixes a buffer overflow due to that limit - Keeps select around for Windows compatibility
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-104-9/+5
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* transport: Fixed memory leak in muxed_zero_copy_ifMartin Braun2016-11-281-2/+2
|
* transport: Removed some superfluous variablesMartin Braun2016-11-283-8/+6
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-0814-125/+125
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* X300: Fix for recv timeout and wait_for_ack errors over PCIe.michael-west2016-11-081-9/+59
| | | | | | - Reduced allocation of buffers for each control stream. - Copied contol data into new managed buffer so managed buffer of base transport could be released.
* CMake: fix the lvbitx path on windowsPaul David2016-10-261-6/+6
|
* transport: Removed conditional compiles for terminator APIsMartin Braun2016-09-052-14/+2
|
* Merge branch 'UHD-3.9.LTS' into maintMartin Braun2016-09-021-3/+8
|\ | | | | | | | | | | | | | | This provides the GPS fixes. Conflicts: host/CMakeLists.txt tools/debs/upload_debs.sh
| * N200: Simplify GPSDO UART so it does not strip or add charactersmichael-west2016-09-021-4/+1
| |
| * GPSDO: Make sure read_uart() returns only complete strings for all devices.michael-west2016-09-021-3/+11
| |
| * transport: Also send flow control ACKs on sequence errorsMartin Braun2016-03-161-0/+6
| |
* | Merging RFNoC support for X310Martin Braun2016-08-092-13/+90
| |
* | usb: usb_dummy made to match usb_control and usb_zero_copyMartin Braun2016-08-021-2/+10
| |
* | usb: tweak types for consistency between LIBUSB API calls and internal UHD ↵Michael Dickens2016-08-012-8/+8
| | | | | | | | usage of returned values.
* | usb: add virtual destructors where needed; make virtual destructors ↵Michael Dickens2016-08-014-20/+73
| | | | | | | | out-of-line from class definition to reduce number of vtables emitted (according to clang).
* | usb: fix interfaces to be type 'int' and endpoints to be type 'unsigned ↵Michael Dickens2016-08-012-11/+11
| | | | | | | | char' to match the libusb API.
* | usb: fix 'timeout' variables to be unsigned since that is what the ↵Michael Dickens2016-08-011-1/+1
| | | | | | | | 'libusb_control_transfer' API uses.
* | usb: fix 'submit' to return 'int' since that is what ↵Michael Dickens2016-08-011-7/+7
| | | | | | | | 'libusb_control_transfer' returns; otherwise 'submit' is used with the correct types internally.
* | transport: fixed an issue where the number of conversions were incorrectly ↵Paul David2016-08-012-2/+2
| | | | | | | | | | | | | | based on the number of buffers - The number of conversions should be based on the number of channels available - This fix corrects a segmentation fault in rx_multi_samples
* | usrp3: Added SW muxer/demuxer for the zero_copy interfaceAshish Chaudhari2016-07-292-0/+251
| | | | | | | | | | | | | | - Can be used to share a single zero_copy_if object with multiple streams - Allows creating of virtual streams that are indistinguishable from low-level streams
* | UHD: Fixes for super_recv_packet_hadlermichael-west2016-07-221-3/+14
| | | | | | | | | | - Make recv() return immediately on EOB - In the timeout case, don't call the flow control hander if none exists
* | transport: Removing task barrier for conversion calls in the ↵Paul David2016-06-081-22/+13
| | | | | | | | super_send_packet_handler
* | transport: Removing task barrier for conversion calls in the ↵Paul David2016-06-081-23/+12
| | | | | | | | super_recv_packet_handler
* | transport optimize: Added a thread transport offload to share the workloadPaul David2016-04-182-0/+159
| |
* | Updated code to work for new minimum dependenciesNicholas Corgan2016-03-211-22/+2
| | | | | | | | | | * Removed code referencing now-unsupported versions of Boost * Added <stdint.h> includes where needed
* | transport: Also send flow control ACKs on sequence errorsMartin Braun2016-03-211-0/+6
| |
* | Merge branch 'maint'Martin Braun2016-03-111-2/+2
|\|
| * Fixed minor warnings:Nicholas Corgan2016-03-041-2/+2
| | | | | | | | | | | | * nirio_driver_iface_win: labeled unused variable for MinGW builds * b200_impl: fixed unreferenced variable warning * n200_image_loader: fixed signed vs. unsigned comparison
* | Merge branch 'maint'Ashish Chaudhari2016-02-182-5/+5
|\| | | | | | | | | | | Conflicts: host/lib/usrp/cores/gpio_core_200.cpp host/lib/usrp/dboard/db_ubx.cpp
| * Corrected the UHD behavior in the event of a USB disconnectDaulPavid2016-02-122-5/+5
| |
* | fixed a orthography typo; funnier if you're German.Marcus Müller2015-12-311-3/+3
| |
* | cmake: Cleaned up output, removed duplicate OctoClock component registrationMartin Braun2015-11-171-0/+1
| |
* | cmake: Register components earlierMartin Braun2015-11-161-5/+0
| | | | | | | | | | | | | | | | | | | | All device-specific CMake components are now registered in one place, before the host/lib/ subdirs are sourced. This way, there are no cyclic dependencies. This solves the issue where ENABLE_X300=Off could disable USB, but preserves the fix where ENABLE_X300=Off would still build some X300 codes.
* | cmake: Proper selection of files for ENABLE_X300Martin Braun2015-10-262-4/+12
| |
* | transport: Fix bug where stop commands could erroneously throwMartin Braun2015-09-101-1/+3
| |
* | transport: Fail for multi-chan-rx + stream_nowMartin Braun2015-09-081-0/+4
|/
* Fixed minor warningsNicholas Corgan2015-09-011-3/+2
| | | | | | * Unreferenced exceptions in try-catch statements * Incorrect function documentation * Unlabelled unused variables
* nirio: Changes to kernel proxy to work with RIO 15.0 on linuxAshish Chaudhari2015-08-143-46/+655
| | | | | - Implemented IOCTL macro for linux and macosx - Refactored v1 and v2 proxy code
* Transport: Update flow control on overrunsJohannes Walter2015-08-131-0/+5
| | | | | | X300 stops sending packets when too many overruns occur. This presumably happens due to a lock up in the source flow control. In this patch we force a flow control update every time an overrun occurs.
* C API cleanup, feature additionsNicholas Corgan2015-08-121-2/+2
| | | | | | * Cleaned up usage of handles vs. handle pointers * Store global string for last error thrown * Removed uhd::device_addr_t handle, added std::vector<std::string> handle
* UHD: Change libusb_error_name() to libusb_strerror() to improve error outputmichael-west2015-08-121-2/+2
|
* b200: fix libusb exceptions to work with that expected by b200 impl ↵Michael Dickens2015-08-111-3/+3
| | | | exception handling which uses uhd::usb_error (not uhd::runtime_error).
* cmake: added variable to LIBUHD_REGISTER_COMPONENT macro to make required, ↵Nicholas Corgan2015-08-111-2/+2
| | | | | | set LibUHD to required * If required component's dependencies aren't met, CMake will throw an error unless user specifically disables it
* UHD: libusb_strerror compatibility with older versions of libusbmichael-west2015-08-062-17/+23
|
* libusb: Fixed Windows build issueAshish Chaudhari2015-08-061-5/+5
| | | | | | - Introduced in b08352f267730ea417ec345cd90833a6746a1114. ERROR is a macro included through some windows specific header. Replaced with STATUS_ERROR.
* Fix for BUG 869: UHD: Unhandled exceptions during destruction of multi_usrp ↵michael-west2015-08-053-22/+60
| | | | | | | object cause application to terminate - Prevented libusb_zero_copy_single from submitting transfers after libusb reports an error - Made error messages in libusb_zero_copy and udp_zero_copy more descriptive
* b200: Change init sequence to catch bad USB statesBalint Seeber2015-08-033-2/+21
| | | | | - Fixes USB hang issues on OS X - Uses usb_errors
* Fixed minor warningsNicholas Corgan2015-07-241-1/+1
|
* build: Python 3 compatibility for build scriptsNicholas Corgan2015-07-141-8/+8
|