aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/io_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* usrp1: safe destruction for usrp1 deviceJosh Blum2011-03-101-1/+2
|
* uhd: tweaks for windows msvc compiler warnings and errorsJosh Blum2011-02-161-1/+1
|
* usrp-e100: use pre-bound get send/recv buffers in io implJosh Blum2011-02-031-2/+3
|
* usrp1: removed binds and sptr allocs in usrp1 io implJosh Blum2011-02-141-48/+90
| | | | | | prebind the callbacks for getting buffers in io_impl class reimplement the special send buffer commit hack to avoid allocating
* uhd: replaced std::vector<type> for buffer arguments in send/recvJosh Blum2011-02-091-2/+2
| | | | | | | | | Created new type ref_vector for representing a vector of pointers. Can be created from std::vector or a pointer. Removes the convenience constrcutors for send/recv, its not needed. Removes malloc/free overhead when using send/recv with pointer.
* uhd: replace asio buffer in make safe w/ memory and length, makes things simplerJosh Blum2011-02-071-4/+2
|
* usrp1: fix for tx disable on EOBJosh Blum2011-02-021-11/+5
| | | | | Leave the tx digital always enabled, flush with zeros is enough to turn it "off". Fixed the flush routine to send something (when zero) to ensure zeros go out.
* usrp1: work on usrp1 hardware compat with the apiJosh Blum2011-01-171-4/+32
| | | | | | today we added shutoff the DAC when not transmitting using EOB as an indicator added various other features and cleaned up code for soft time control
* uhd: update copyright dates on host codeJosh Blum2011-01-131-1/+1
|
* usrp1: implement soft time ctrl for send at, recv atJosh Blum2011-01-131-0/+2
|
* usrp: removed old includes that didnt need to be thereJosh Blum2011-01-101-1/+0
|
* usrp1: ensure that the current buffer was committed before getting a new oneJosh Blum2010-10-071-1/+5
|
* usrp1: use the transport frame sizes to calculate the max sppJosh Blum2010-10-061-72/+97
| | | | | | | | | The max send spp is the frame size minus the alignment padding. This allows us to copy a remainder into a new buffer and always commit multiples of the alignment size (512 bytes). Reworked the managed send buffer implementation to handle the above. Uses only managed memory, and only mem-copied under the alignment.
* uhd: reworked the zero copy interfaceJosh Blum2010-10-021-49/+16
| | | | | | | | | | | | | | | | - 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-9/+11
| | | | | | | | 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
* uhd: implemented recv timeout for zero copy interfaceJosh Blum2010-09-301-4/+4
|
* usrp1: removed msvc warnings for usrp1 impl codeJosh Blum2010-09-231-2/+2
|
* usrp1: multi-channel tx working, modified vrt handler to interleaveJosh Blum2010-09-231-1/+3
|
* usrp1: multi-channel rx working, modified vrt handler to deinterleaveJosh Blum2010-09-221-1/+4
|
* usrp1: reworked the io_impl for usrp1 to use the vrt packet handlerJosh Blum2010-09-221-246/+230
| | | | | | | | used dummy packers and unpackets that have a header size of zero created wrapper around the data transport to handle non-512 multiple sends honor the eob flag on send to flush the send buffer
* usrp1: flush for flow error messagesJosh Blum2010-08-311-2/+2
|
* usrp1: Don't flush the stream buffer after every overrun/underrunThomas Tsou2010-08-271-2/+2
|
* usrp1: Remove unused overrun/underrun poll variableThomas Tsou2010-08-241-2/+0
| | | | | | The polling inverval for overrun and underrun checking is rate dependent and calculated in the dsp code whenever the interpolation or decimation is changed.
* usrp1: Cleanup unnecessary state variablesThomas Tsou2010-08-241-12/+22
|
* usrp1: Refactor I/O implementationThomas Tsou2010-08-231-130/+207
|
* usrp1: Make underrun/overrun checking rate dependentThomas Tsou2010-08-191-10/+22
| | | | Calculate a polling interval based on the sample rate and size.
* usrp1: Add usrp1 implementationThomas Tsou2010-08-131-0/+229