aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'origin/x300/bug386' for flushing buffers smarter.Ben Hilburn2014-03-271-14/+21
|\
| * Fix for BUG #386: RIO & UHD: Flush buffers smartermichael-west2014-03-071-14/+21
| | | | | | | | - Updated flush algorithm to acquire and release all elements instead of 1 element at a time
* | nirio: improved dealing with unsupported OS'sNicholas Corgan2014-03-272-6/+4
| | | | | | | | | | * Instead of specifically checking for Apple, default to unsupported iface file if unsupported OS is detected * Don't error out if we can't catch a specific unsupported OS, just use barebones "unsupported" structs
* | Merge branch 'maint'Nicholas Corgan2014-03-171-1/+9
|\ \
| * | usb: better processing of strings from libusbNicholas Corgan2014-02-141-1/+9
| | | | | | | | | | | | | | | * When overwriting a string field with a shorter string, libusb doesn't erase extra characters * Extra processing of this string (already done by load_eeprom) removes extraneous characters
* | | uhd: Fixed WSA bugs (superfluous %s, getsockopt parameters)Patrick Sisterhen2014-03-161-5/+7
| | |
* | | uhd: prelim fix for windows-based UDP transportMartin Braun2014-03-161-2/+77
| | |
* | | Merging fix for multi-channel recv overflow handling.Ben Hilburn2014-03-141-25/+38
|\ \ \
| * | | Fix for BUG #390: RIO & UHD: multi-channel recv() does not notify there has ↵michael-west2014-03-071-25/+38
| | |/ | |/| | | | | | | | | | | | | | | | been an overflow - Corrected flush algorithm - Cached metadata for overflow during call to handler
* | | Added handling for responses that do not have data.michael-west2014-03-131-11/+14
| | |
* | | Added assertion to make sure we are resizing buffer to a value >0.michael-west2014-03-111-0/+2
| | |
* | | Fix for Bug #378: rpc_client::call() dereferences NULL pointersmichael-west2014-03-071-3/+6
|/ / | | | | | | - Added check for empty data before write
* / rpc: Make usrp3 compile again on RHEL6.Moritz2014-02-261-9/+27
|/ | | | | | | | | | * boost::asio::connect appears in boost 1.47 added conditional for older machines * boost::system::get_system_category() instead of boost::system::system_category. Signed-off-by: Moritz <moritz@ettus.com>
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-0429-77/+4155
|
* Squashed merge of Coverity fixes.Ben Hilburn2013-11-273-3/+5
|
* Merge branch 'bug182'Nicholas Corgan2013-11-191-0/+4
|\
| * BUG #182: Refactored b2xx_fx3_utils to use files from UHDMichael West2013-11-151-0/+4
| |
* | BUG #183: Addressed comments from code review.Michael West2013-11-191-14/+15
| |
* | BUG #183: Fixed typoMoritz Fischer2013-11-111-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 West2013-11-082-53/+64
|/ | | | events and expanded packet size to 16k
* vita: changed CHDR format to use bytesJosh Blum2013-09-041-11/+14
|
* usb: added logging capability w/ env varJosh Blum2013-07-191-0/+10
|
* b100: moved usb wrapper class into b100 implJosh Blum2013-07-192-241/+1
| | | | * since its only used internally in b100
* uhd: packet handler minor changesJosh Blum2013-07-191-1/+2
| | | | | * overflow recovery also in case of alignment failure * print D (discontinuities) instead of O in seq errors
* usb: squashed thread related changesJosh Blum2013-07-191-125/+194
|
* usb: useful error messages on failed submitJosh Blum2013-07-161-2/+13
|
* usb: added timeout param and additional queriesJosh Blum2013-07-153-10/+22
|
* uhd: added new calls to streamer object + support workJosh Blum2013-07-153-19/+212
| | | | | | | * The transmit streamer gives access to the async msg queue. * The receive streamer gives access to the issue stream cmd. * Supporting usrp implementation files updated. * Example applications updated to use this API.
* Merge branch 'maint'Josh Blum2013-04-122-16/+12
|\ | | | | | | | | Conflicts: host/tests/time_spec_test.cpp
| * uhd: switch the reusable barrier to condition variablesJosh Blum2013-04-122-16/+12
| | | | | | | | | | | | This allows the converter threads in a multi-threaded streamer to wait quietly. In addition, the use of two barriers in the packet handlers was reduced to one, by adding a simple exit barrier inside the reusable barrier's wait method.
* | usb: check for and use libusb_handle_events_timeout_completedJosh Blum2013-03-112-2/+12
| |
* | usb: use int for completed to match libusb example codeJosh Blum2013-03-111-8/+9
| |
* | b100: additional flushing when rx streamer createdJosh Blum2013-02-191-0/+8
|/
* udp: fix ENOBUFS with send/retry for udp socketJosh Blum2013-01-151-2/+16
|
* uhd: added barrier interrupt to work around thread issueJosh Blum2012-10-292-0/+4
| | | | | Force the barrier wait to throw a boost::thread_interrupted The threads were not getting the interruption_point on windows.
* Merge branch 'master' into nextJosh Blum2012-08-041-1/+18
|\
| * usb: added recv buffer flushing to libusb zero copyJosh Blum2012-08-041-1/+18
| |
* | transport: multi-threaded send_packet_handlerJosh Blum2012-07-021-25/+77
| |
* | transport: multi-threaded recv_packet_handlerJosh Blum2012-07-021-22/+71
| |
* | transport: switch to the atomic claimerJosh Blum2012-07-023-66/+3
|/ | | | | This wont have much effect because the buffers are not currently used in any queue by the caller
* usb: prefer to stop the task explicitlyJosh Blum2012-06-131-0/+6
|
* usb: created autoflusher task in usb_zero_copy_wrapperJosh Blum2012-06-051-2/+45
| | | | | Since we dont commit buffers ASAP until filled, autoflusher will do this if timeout occurs.
* sph: added set SID per channelJosh Blum2012-04-301-1/+12
|
* udp: also set HAVE_ATLBASE_H for udp_wsa_zero_copyJosh Blum2012-04-261-0/+1
|
* uhd: squashed transport workJosh Blum2012-04-236-168/+492
|
* send: sph holdover from transport workJosh Blum2012-04-191-0/+1
|
* usb: do not release recv buffer in wrapperJosh Blum2012-04-171-3/+2
| | | | | | | The actual recv buffer will be automatically released when dereferenced. By releasing this buffer early we allowed for a race condition: Subsequent wrapper buffers that shared the same actual buffer could get their memory filled by new recvd packets from the USB layer.
* recv: only inspect tsf on timestamp error checkJosh Blum2012-04-171-1/+1
|
* uhd: make atlbase options for msvc buildJosh Blum2012-03-142-4/+16
|
* uhd: fixed send pkt handler, vrt packet type was uninitializedJosh Blum2012-02-271-0/+1
| | | | | | | This fixes a bug where the sc8 engine will not interpret the packet as an IF data packet due to uninitialized bits. In that case the sc8 packet would pass through and be interpreted by the downstream as an sc16 packet.