Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uhd: fix size param error when getting a convert routine in pkt handler | Josh Blum | 2011-01-12 | 1 | -2/+2 |
| | |||||
* | uhd: changed convert routines to return the function pointer | Josh Blum | 2011-01-12 | 1 | -16/+23 |
| | | | | changed the vrt packet handler to get the function pointer (once), this may be a minor performance help | ||||
* | uhd: update copyright dates | Josh Blum | 2011-01-05 | 1 | -1/+1 |
| | |||||
* | Merge branch 'convert' into next | Josh Blum | 2011-01-04 | 1 | -5/+7 |
|\ | |||||
| * | uhd: switched the unit test to the new convert API, implemented in vrt pkt ↵ | Josh Blum | 2011-01-04 | 1 | -5/+7 |
| | | | | | | | | handler | ||||
* | | udp_ports: added message handling to alignment code | Josh Blum | 2010-12-22 | 1 | -0/+1 |
|/ | |||||
* | uhd: pulled in some worthwhile changes from flow control branch | Josh Blum | 2010-11-11 | 1 | -3/+13 |
| | |||||
* | uhd: reworked the zero copy interface | Josh Blum | 2010-10-02 | 1 | -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 chains | Josh Blum | 2010-10-01 | 1 | -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 interleave | Josh Blum | 2010-09-23 | 1 | -11/+17 |
| | |||||
* | usrp1: multi-channel rx working, modified vrt handler to deinterleave | Josh Blum | 2010-09-22 | 1 | -10/+20 |
| | |||||
* | Merge branch 'tx_report' | Josh Blum | 2010-07-26 | 1 | -14/+21 |
|\ | | | | | | | | | Conflicts: host/lib/usrp/usrp2/io_impl.cpp | ||||
| * | usrp2: added async event types, and common code for handling context words | Josh Blum | 2010-07-21 | 1 | -6/+13 |
| | | |||||
| * | uhd: added async recv message call to device api | Josh Blum | 2010-07-20 | 1 | -9/+9 |
| | | | | | | | | | | | | implemented in usrp2 io impl added async metadata type | ||||
* | | uhd: removed remaining template stuff from vrt packet handler, also tweaked ↵ | Josh Blum | 2010-07-26 | 1 | -2/+1 |
|/ | | | | format in rx timed samples | ||||
* | uhd: typedefed vrt pack/unpack so the vrt packet handler need not be templated | Josh Blum | 2010-07-20 | 1 | -8/+6 |
| | |||||
* | uhd: fix for vrt packet handler commit size | Josh Blum | 2010-07-14 | 1 | -1/+2 |
| | |||||
* | uhd: switch statements to handle error code, default md to error code none | Josh Blum | 2010-07-12 | 1 | -1/+2 |
| | |||||
* | uhd: setup metadata for fragment case (not in general case) | Josh Blum | 2010-07-12 | 1 | -5/+9 |
| | | | | usrp2: print rev number in mboard name | ||||
* | usrp2: removed SX packet count stuff from vrt packet handler, moved to usrp2 ↵ | Josh Blum | 2010-07-09 | 1 | -10/+0 |
| | | | | io impl and replaced with Os | ||||
* | uhd: define ssize_t for msvc, fixed warning as well | Josh Blum | 2010-07-09 | 1 | -1/+1 |
| | |||||
* | uhd: ssize_t for phony zero copy return types, null sptr for timeout/error ↵ | Josh Blum | 2010-07-09 | 1 | -1/+3 |
| | | | | with get managed buffers | ||||
* | uhd: added error codes to rx metadata, switched examples to use | Josh Blum | 2010-07-09 | 1 | -12/+19 |
| | | | | vrt packet handler fills in error codes and inspects non-data packet | ||||
* | uhd: callback in vrt packet handler to handle overrun | Josh Blum | 2010-07-09 | 1 | -6/+19 |
| | |||||
* | uhd: added packet type to vrt if info struct, added burst flags to rx ↵ | Josh Blum | 2010-07-08 | 1 | -6/+19 |
| | | | | metadata, fixed vrt if packet parsing bugs | ||||
* | uhd: code tweaks, extra error condition for vrt unpack | Josh Blum | 2010-07-05 | 1 | -2/+2 |
| | |||||
* | usrp2: bug fix for readback registers | Josh Blum | 2010-07-05 | 1 | -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 Blum | 2010-07-05 | 1 | -1/+0 |
| | | | | buffer and look more like the vectored send/recv | ||||
* | uhd: renamed the vrt header to vrt_if_packet header | Josh Blum | 2010-07-05 | 1 | -1/+1 |
| | |||||
* | uhd: vrt packet handler fix and tweaks | Josh Blum | 2010-07-05 | 1 | -36/+30 |
| | |||||
* | uhd: forgot burst flags, tweaks to vrt info -> metadata | Josh Blum | 2010-07-05 | 1 | -4/+4 |
| | |||||
* | uhd: work vectorizing the vrt packet handler, reworked vrt packet stuff, ↵ | Josh Blum | 2010-07-05 | 1 | -120/+132 |
| | | | | needs testing | ||||
* | Replaced the vrt pack and unpack with a pack and unpack for big endian and a ↵ | Josh Blum | 2010-06-07 | 1 | -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 Blum | 2010-06-01 | 1 | -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 Blum | 2010-06-01 | 1 | -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 Blum | 2010-05-27 | 1 | -1/+1 |
| | | | | onto a ring of managed buffers. | ||||
* | Added timeout error message to timed samples example. | Josh Blum | 2010-05-24 | 1 | -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 Blum | 2010-05-19 | 1 | -7/+7 |
| | | | | Dealing with samples counts, metadata flags, etc.. | ||||
* | break recv loop on timeout | Josh Blum | 2010-05-19 | 1 | -5/+7 |
| | |||||
* | tweaks to remove warning is msvc | Josh Blum | 2010-05-18 | 1 | -0/+5 |
| | |||||
* | Added send and recv modes to the device class and packet handler implementation. | Josh Blum | 2010-05-18 | 1 | -57/+121 |
| | |||||
* | Created config macro to force inline. | Josh Blum | 2010-05-17 | 1 | -6/+7 |
| | |||||
* | Created inline send vrt packer function that also handles fragmentation. | Josh Blum | 2010-05-17 | 1 | -74/+206 |
| | |||||
* | work on generic packet handler (got rx working) | Josh Blum | 2010-05-17 | 1 | -0/+161 |