| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
prebind the callbacks for getting buffers in io_impl class
reimplement the special send buffer commit hack to avoid allocating
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
The polling inverval for overrun and underrun checking is
rate dependent and calculated in the dsp code whenever
the interpolation or decimation is changed.
|
| |
|
| |
|
|
|
|
| |
Calculate a polling interval based on the sample rate and size.
|
|
|