aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
Commit message (Collapse)AuthorAgeFilesLines
* uhd: some tweaks to fix msvc warningsJosh Blum2011-07-081-1/+1
|
* usrp: added software scale factor adjustmentJosh Blum2011-07-082-2/+16
|
* uhd: added inline message testing to the messages exampleJosh Blum2011-07-031-15/+13
| | | | | | | Renamed the example to test_messages (not just async). Fixed bug in super recv packet handler related to messages. Basically, the sequence number for messages should be ignored. Fixed some quirks with usrp1 soft time control to get it work as well.
* usrp1: tweaks + implemented other features to mimic async and inline messagesJosh Blum2011-07-021-0/+3
| | | | | | | Moved the underflow/overflow polling into a thread and out of the fast-path. Added an inline and async message queue into soft time control. Error and status messages are actually generated now and enqueued. Passes the async message test...
* usrp: added validate_subdev_spec to all io_implsJosh Blum2011-07-011-1/+1
|
* uhd: replaced alignment indexes implementation w/ boost bitsetJosh Blum2011-07-011-66/+10
|
* uhd: replaced boolean for thread loop w/ ↵Josh Blum2011-06-161-4/+1
| | | | boost::this_thread::interruption_requested
* b100: added b100 host (squashed)Josh Blum2011-06-143-11/+225
|
* uhd: fix for resize routine of super packet handlerJosh Blum2011-06-141-1/+2
|
* uhd: fix some warnings under msvc in sphJosh Blum2011-06-142-4/+4
|
* uhd: removed vrt packet handler codeJosh Blum2011-06-142-471/+0
|
* uhd: supper packet handler support squashedJosh Blum2011-06-143-13/+955
|
* uhd: added scaling factor to conversion routinesJosh Blum2011-06-141-2/+2
|
* udp: replaced callbacks in zero copy interface by giving direct queue accessJosh Blum2011-06-141-38/+19
| | | | | The managed receive buffer knows how to restore itself into the queue when released. The managed send buffer knows how to ::send itself and restore when commited.
* uhd: picked some minor changes from super packet handlerJosh Blum2011-05-201-0/+1
|
* Merge branch 'master' into release_workJosh Blum2011-05-162-20/+4
|\
| * uhd: replace managed buffer shared pointer w/ intrusive pointer to reduce ↵Josh Blum2011-05-142-20/+4
| | | | | | | | overhead
* | Merge branch 'use_vita_length' into nextJosh Blum2011-05-161-6/+0
|\ \ | |/ |/|
| * uhd: switch vita unpacker over to using proper vita lengthJosh Blum2011-04-271-6/+0
| |
* | uhd: replaced warning post with calls to UHD_MSG(warning)Josh Blum2011-05-041-3/+3
| | | | | | | | | | The message api can support warnings, error, and status messages. The default handler is to stdio, but the user can change this.
* | uhd: replaced many conditional prints with UHD_LOG usageJosh Blum2011-05-043-11/+10
|/
* uhd: move thread loop condition flag to before barrier (prevents race condition)Josh Blum2011-04-221-1/+1
|
* Merge branch 'mingw_cygwin'Josh Blum2011-04-071-0/+6
|\
| * uhd: always link winsock2 on windows, disable pthread SCHED_RR for cygwinJosh Blum2011-04-061-1/+3
| |
| * uhd: tweaks for cygwin/mingw, always link winsock2, findusb1, __USE_W32_SOCKETSJosh Blum2011-04-051-0/+4
| |
* | usb: mark libusb callbacks with LIBUSB_CALL to ensure correct calling conventionJosh Blum2011-04-051-2/+12
|/
* usb: newer libusb1 does not need to link with setupapi.libJosh Blum2011-04-041-4/+0
|
* uhd: specify msvc for implementations known only to work on msvcJosh Blum2011-04-041-2/+2
|
* uhd: implemented boost barriers on all code that creates threadsJosh Blum2011-03-311-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: changes to allow for static linking of libusb on windowsJosh Blum2011-03-281-0/+4
|
* uhd: update copyright headers with automated scriptJosh Blum2011-03-231-1/+1
|
* usb: fix callback cast in libusb zero copy under msvcJosh Blum2011-03-211-1/+1
|
* Merge branch 'usb-cancel' into nextJosh Blum2011-03-171-6/+14
|\ | | | | | | | | Conflicts: host/lib/transport/libusb1_zero_copy.cpp
| * USB zero copy impl: proper cleanup for canceled transfers -- wait for cancel ↵Nick Foster2011-03-161-6/+14
| | | | | | | | before freeing
* | usrp1: safe destruction for usrp1 deviceJosh Blum2011-03-101-6/+7
| |
* | Merge branch 'master' into nextJosh Blum2011-03-031-0/+2
|\| | | | | | | | | | | Conflicts: host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_impl.cpp
| * udp: return the managed recv buffer to the buffer queue on timeoutJosh Blum2011-03-011-0/+2
| |
* | uhd: replaced instanced of std::exception with the uhd exceptionsJosh Blum2011-02-243-10/+10
| |
* | uhd: renamed the assert header to assert hasJosh Blum2011-02-243-3/+3
| | | | | | | | | | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match
* | uhd: moved exception to top level includeJosh Blum2011-02-241-1/+1
| |
* | Merge branch 'usrp2_fw_clock_cleanup' into usrp2_dual_dspJosh Blum2011-02-225-167/+130
|\|
| * uhd: replace header checks in cmake files with more robust compile checks ↵Josh Blum2011-02-212-15/+26
| | | | | | | | | | | | for features implemented different ifdefs in the cpp files
| * udp: try non-blocking recv first for performanceJosh Blum2011-02-203-14/+18
| |
| * udp: update docs for transport, create common header for wait implementationJosh Blum2011-02-204-143/+91
| | | | | | | | | | | | | | Reimplemented simple udp transport with one impl class. Moved wait for ready/select implementation into common header. Important note on select, timeval should have usecs < 1 second or it may error on some platforms. Fixed in this implementation.
* | usrp2: code working again in a completed form but did not test dual dspJosh Blum2011-02-201-2/+2
|/
* uhd: use source properties to set flags and defs not globally, but only for ↵Josh Blum2011-02-171-2/+7
| | | | the source
* uhd: tweaks for windows msvc compiler warnings and errorsJosh Blum2011-02-161-2/+2
|
* usrp-e100: replaced safe managed buffers in usrp-e100 mmap with custom onesJosh Blum2011-02-152-115/+0
| | | | | | | | the buffers are reusable and the overhead is reduced (nothing to malloc) also removed the zero_copy.cpp (not needed anymore) need to test on device...
* uhd: reusable buffers for libusb zero copy implementationJosh Blum2011-02-152-347/+186
| | | | tweaks on udp implementation to simplify
* uhd: misc speedups w/ look up tablesJosh Blum2011-02-101-1/+2
| | | | | | | use a look up table for io type size (in the case its used in the fast-path) move the static const pred table in vrt unpacker to the global level, for some reason this was incurring a malloc (perhaps because there were 2 tables).