aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/vrt_packet_handler.hpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: pulled in some worthwhile changes from flow control branchJosh Blum2010-11-111-3/+13
|
* uhd: reworked the zero copy interfaceJosh Blum2010-10-021-3/+1
| | | | | | | | | | | | | | | | - 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-011-23/+26
| | | | | | | | 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
* 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-221-10/+20
|
* Merge branch 'tx_report'Josh Blum2010-07-261-14/+21
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/io_impl.cpp
| * usrp2: added async event types, and common code for handling context wordsJosh Blum2010-07-211-6/+13
| |
| * uhd: added async recv message call to device apiJosh Blum2010-07-201-9/+9
| | | | | | | | | | | | implemented in usrp2 io impl added async metadata type
* | uhd: removed remaining template stuff from vrt packet handler, also tweaked ↵Josh Blum2010-07-261-2/+1
|/ | | | format in rx timed samples
* uhd: typedefed vrt pack/unpack so the vrt packet handler need not be templatedJosh Blum2010-07-201-8/+6
|
* uhd: fix for vrt packet handler commit sizeJosh Blum2010-07-141-1/+2
|
* uhd: switch statements to handle error code, default md to error code noneJosh Blum2010-07-121-1/+2
|
* uhd: setup metadata for fragment case (not in general case)Josh Blum2010-07-121-5/+9
| | | | usrp2: print rev number in mboard name
* usrp2: removed SX packet count stuff from vrt packet handler, moved to usrp2 ↵Josh Blum2010-07-091-10/+0
| | | | io impl and replaced with Os
* uhd: define ssize_t for msvc, fixed warning as wellJosh Blum2010-07-091-1/+1
|
* uhd: ssize_t for phony zero copy return types, null sptr for timeout/error ↵Josh Blum2010-07-091-1/+3
| | | | with get managed buffers
* uhd: added error codes to rx metadata, switched examples to useJosh Blum2010-07-091-12/+19
| | | | vrt packet handler fills in error codes and inspects non-data packet
* uhd: callback in vrt packet handler to handle overrunJosh Blum2010-07-091-6/+19
|
* uhd: added packet type to vrt if info struct, added burst flags to rx ↵Josh Blum2010-07-081-6/+19
| | | | metadata, fixed vrt if packet parsing bugs
* uhd: code tweaks, extra error condition for vrt unpackJosh Blum2010-07-051-2/+2
|
* usrp2: bug fix for readback registersJosh Blum2010-07-051-9/+9
| | | | | | added readback for time64 fixed bug for fragment flag in vrt packet handler
* uhd: replaced old send and recv with inline wrappers that take a single ↵Josh Blum2010-07-051-1/+0
| | | | buffer and look more like the vectored send/recv
* uhd: renamed the vrt header to vrt_if_packet headerJosh Blum2010-07-051-1/+1
|
* uhd: vrt packet handler fix and tweaksJosh Blum2010-07-051-36/+30
|
* uhd: forgot burst flags, tweaks to vrt info -> metadataJosh Blum2010-07-051-4/+4
|
* uhd: work vectorizing the vrt packet handler, reworked vrt packet stuff, ↵Josh Blum2010-07-051-120/+132
| | | | needs testing
* Replaced the vrt pack and unpack with a pack and unpack for big endian and a ↵Josh Blum2010-06-071-3/+17
| | | | | | pack and unpack for little endian. The vrt handler code was templatized to take the relevant packer/unpacker as an argument.
* Implemented pirate thread, moved io impl details into io impl cpp file. ↵Josh Blum2010-06-011-1/+28
| | | | Fixed bug in bounded buffer push with pop on full.
* Moved the packet handler state stuff into a separate header (so we dont pull ↵Josh Blum2010-06-011-36/+14
| | | | | | in all the includes). Use callback for getting buffers rather than zc interface pointer so its more modular.
* Tweak with the udp and zero-copy transport. Eventually, the caller will hang ↵Josh Blum2010-05-271-1/+1
| | | | onto a ring of managed buffers.
* Added timeout error message to timed samples example.Josh Blum2010-05-241-3/+8
| | | | Added try catch to recv helper because vrt unpack can throw.
* Fixed some bugs in the send and recv full buffer modes.Josh Blum2010-05-191-7/+7
| | | | Dealing with samples counts, metadata flags, etc..
* break recv loop on timeoutJosh Blum2010-05-191-5/+7
|
* tweaks to remove warning is msvcJosh Blum2010-05-181-0/+5
|
* Added send and recv modes to the device class and packet handler implementation.Josh Blum2010-05-181-57/+121
|
* Created config macro to force inline.Josh Blum2010-05-171-6/+7
|
* Created inline send vrt packer function that also handles fragmentation.Josh Blum2010-05-171-74/+206
|
* work on generic packet handler (got rx working)Josh Blum2010-05-171-0/+161