Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | usrp1: use the transport frame sizes to calculate the max spp | Josh Blum | 2010-10-06 | 2 | -80/+99 |
| | | | | | | | | | 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. | ||||
* | udp: fixed boost format syntax for warning message | Josh Blum | 2010-10-06 | 1 | -3/+3 |
| | |||||
* | usb: moved event handler thread into the zero copy interface | Josh Blum | 2010-10-05 | 2 | -18/+28 |
| | |||||
* | uhd: transport docs for UDP and USB (moved from usrp docs) | Josh Blum | 2010-10-05 | 1 | -1/+4 |
| | |||||
* | uhd: replaced frame params for the zero copy interfaces with a device address | Josh Blum | 2010-10-05 | 8 | -167/+114 |
| | | | | | | | | | | the device address gives a key, value pair of infinite optional capabilities added a cast option to the device address to cast string to type T added call to the zero_copy_if to get send and recv frame sizes changed the usrp2 impl to calculate recv/send spp from the data transport | ||||
* | usb: added dummy usb implementation for building without usb (throw, not ↵ | Josh Blum | 2010-10-04 | 2 | -1/+42 |
| | | | | segfault) | ||||
* | uhd: bounded buffer pop sets back element to empty to decrement references | Josh Blum | 2010-10-04 | 1 | -4/+0 |
| | |||||
* | uhd: added include for enable_shared_from_this when used | Josh Blum | 2010-10-04 | 2 | -1/+2 |
| | |||||
* | usrp2: removed extra print-outs in init | Josh Blum | 2010-10-04 | 1 | -4/+0 |
| | |||||
* | udp: added io service work to keep service running | Josh Blum | 2010-10-04 | 1 | -4/+12 |
| | |||||
* | uhd: changed buffer allocations to be in a single chunk, udp: pass frame ↵ | Josh Blum | 2010-10-03 | 2 | -53/+59 |
| | | | | sizes into the impl constructor | ||||
* | uhd: implemented udp zero copy asio with async calls | Josh Blum | 2010-10-03 | 3 | -61/+133 |
| | |||||
* | uhd: reworked the zero copy interface | Josh Blum | 2010-10-02 | 5 | -247/+96 |
| | | | | | | | | | | | | | | | | - 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 | 9 | -85/+85 |
| | | | | | | | | 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 | ||||
* | Merge branch 'next' | Josh Blum | 2010-10-01 | 4 | -26/+50 |
|\ | |||||
| * | uhd: print system info on library load | Josh Blum | 2010-10-01 | 1 | -0/+14 |
| | | |||||
| * | usb: catch open errors and print message, device: catch exceptions at ↵ | Josh Blum | 2010-10-01 | 3 | -26/+36 |
| | | | | | | | | discovery time | ||||
* | | TVRX: fixed antenna prop enumeration | Nick Foster | 2010-10-01 | 1 | -2/+2 |
|/ | |||||
* | Merge branch 'tvrx_uhd' | Josh Blum | 2010-09-30 | 9 | -0/+590 |
|\ | |||||
| * | Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into tvrx_uhd | Nick Foster | 2010-09-30 | 3 | -28/+5 |
| |\ | |||||
| * | | TVRX: Fixed to properly calculate alias frequencies. | Nick Foster | 2010-09-30 | 1 | -4/+20 |
| | | | |||||
| * | | TVRX: works for USRP and USRP2. | Nick Foster | 2010-09-29 | 3 | -2/+18 |
| | | | |||||
| * | | Merge branch 'get_codec_rate' of ettus.sourcerepo.com:ettus/uhdpriv into ↵ | Nick Foster | 2010-09-29 | 6 | -85/+118 |
| |\ \ | | | | | | | | | | | | | tvrx_uhd | ||||
| | * | | usrp: added get codec rate to dboard iface | Josh Blum | 2010-09-29 | 2 | -0/+9 |
| | | | | |||||
| * | | | TVRX: Mixed up DAC channels. Gain is much more linear now. | Nick Foster | 2010-09-28 | 1 | -2/+2 |
| | | | | |||||
| * | | | TVRX: Fixed spectrum inversion (derp derp derp). Removed debug printing. | Nick Foster | 2010-09-28 | 1 | -4/+3 |
| | | | | |||||
| * | | | Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into tvrx_uhd | Nick Foster | 2010-09-28 | 27 | -1211/+1392 |
| |\ \ \ | |||||
| * | | | | TVRX: First version that works. The gain linearity is still borked. | Nick Foster | 2010-09-28 | 1 | -13/+31 |
| | | | | | | | | | | | | | | | | | | | | I'll probably give up on the complicated linearizing stuff and just use the values from the old driver. The tuner's gain-vs-voltage is nothing like the datasheet. | ||||
| * | | | | TVRX: Don't have mboard impl modified for ADC buffer disable. The rest of ↵ | Nick Foster | 2010-09-28 | 4 | -89/+147 |
| | | | | | | | | | | | | | | | | | | | | TVRX should be in there. Not debugged. | ||||
| * | | | | TVRX: not done yet but getting there. gain linearization framework in place. | Nick Foster | 2010-09-27 | 3 | -92/+160 |
| | | | | | |||||
| * | | | | added db_tvrx, regmap gen_dtt75403_regs.py | Nick Foster | 2010-09-21 | 4 | -0/+406 |
| | | | | | |||||
* | | | | | uhd: implemented recv timeout for zero copy interface | Josh Blum | 2010-09-30 | 5 | -33/+31 |
| |_|_|/ |/| | | | |||||
* | | | | usb: set rt thread priority for the libusb event loop | Josh Blum | 2010-09-30 | 1 | -0/+3 |
| | | | | |||||
* | | | | usrp1: replace byteswap with htonx (it was wrong to just swap) | Josh Blum | 2010-09-30 | 2 | -28/+2 |
| |_|/ |/| | | | | | | | | also removed unused poke and peek 16 bit calls | ||||
* | | | usrp: transfer resize options and documentation | Josh Blum | 2010-09-29 | 2 | -71/+95 |
| | | | |||||
* | | | usrp1: fixed compile time warning, tweaked fw load message | Josh Blum | 2010-09-29 | 1 | -2/+2 |
| | | | |||||
* | | | Merge branch 'libusb' | Josh Blum | 2010-09-29 | 3 | -12/+12 |
|\ \ \ | |_|/ |/| | | |||||
| * | | usb: submit should return ssize_t, usrp1: set hash before reset after fw load | Josh Blum | 2010-09-28 | 2 | -2/+2 |
| | | | |||||
| * | | Merge branch 'master' into libusb | Josh Blum | 2010-09-28 | 4 | -9/+25 |
| |\ \ | |||||
| * | | | usrp1: move the get handles call into the for loop scope to facilitate ↵ | Josh Blum | 2010-09-28 | 1 | -8/+7 |
| | | | | | | | | | | | | | | | | decontruction | ||||
| * | | | usrp1: modify fpga file load to use read (readsome seems to not work here in ↵ | Josh Blum | 2010-09-28 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | windows land) | ||||
* | | | | wbx: fix for id swap typo | Josh Blum | 2010-09-28 | 1 | -1/+1 |
| |/ / |/| | | |||||
* | | | dboard: better warnings for invalid IDs and invalid ID combinations | Josh Blum | 2010-09-28 | 1 | -6/+19 |
| | | | |||||
* | | | usrp1: filter the discovery routine on the serial | Josh Blum | 2010-09-27 | 1 | -1/+4 |
| | | | |||||
* | | | uhd: fix warning by adding brackets for while(cond){}; | Josh Blum | 2010-09-27 | 2 | -2/+2 |
|/ / | |||||
* | | usb: use the proper libusb include (in path set by pkgconfig) | Josh Blum | 2010-09-27 | 1 | -1/+1 |
| | | |||||
* | | usb: added some documentation to wrapper base | Josh Blum | 2010-09-26 | 1 | -0/+7 |
| | | |||||
* | | usrp1: add print out messages when loading images | Josh Blum | 2010-09-26 | 1 | -1/+6 |
| | | |||||
* | | usb: disable thread interruption on wait calls | Josh Blum | 2010-09-26 | 1 | -4/+4 |
| | | |||||
* | | usb: zero copy work, multiple endpoints with single context, async io | Josh Blum | 2010-09-26 | 2 | -356/+134 |
| | | | | | | | | | | | | | | | | | | Heavy work on the zero copy interface and endpoint wrappers to properly use the async io. The global libusb session starts a thread to run the event handler, the async callbacks push completed transfers onto a thread-safe bounded buffer. The managed buffer creation routines use the bounded buffer to efficiently pop off completed transfers. works on linux, throws a weird exception on cleanup |