aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/io_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint34' into maintNicholas Corgan2012-11-161-3/+20
|\ | | | | | | | | | | Conflicts: host/lib/usrp/b100/b100_impl.cpp host/lib/usrp/usrp1/usrp1_impl.hpp
| * lib/cmake: CPack source workNicholas Corgan2012-11-161-3/+20
| | | | | | | | | | * Removed all host code dependencies on firmware headers * Put in CMake settings for CPack source
* | uhd: squashed transport workJosh Blum2012-04-231-6/+6
|/
* usrp1: fix to use the db connection type to determine DAC signJosh Blum2012-02-241-2/+10
| | | | | | | | Unlike the other products, usrp1 uses the DAC and not DSP to perform baseband frequency shifting in the hardware. Therefore this shifting occurs before I and Q swapping, and so, the sign of the frequency needs to be inverted on daughterboards which have inverted I and Q TX inputs.
* usrp1: fix advertised samples per packet in send streamerJosh Blum2012-02-211-1/+2
| | | | | Must subtract off the 511 for 512 modulus remainder commit. This bug was introduced by the conversion to streamer API.
* b100/usrp1: various tweaks for compiler warns and valgrindJosh Blum2012-02-091-5/+5
|
* dsp rework: work on usb wrapper for smaller packets, large lutsJosh Blum2012-02-021-1/+1
|
* usrp1: fix div ratio for interp registerJosh Blum2011-12-151-1/+1
| | | | | The interp register was getting set 2x, now fixed! This bug was introduced w/ the streamer work.
* usrp1: fixed swapped sign on rx cordicJosh Blum2011-12-151-1/+1
| | | | | | | | | | | We used to swap I and Q to share converter functions with the newer products. Because of this, the sign on the cordic also had to be swapped. Now that USRP1 has its own converter routines and I and Q are correct, so should be the sign on the cordic. This was a bug introduced in master. TX should not be an issue, because there is no cordic and is adjusted digitally by the codec, after any potential swapping.
* usrp1: set scale factor after setting converterJosh Blum2011-11-301-4/+4
|
* usrp: fix rate calculation logicJosh Blum2011-11-031-4/+2
|
* usrp: added get_tx/rx_ratesJosh Blum2011-11-031-5/+22
|
* uhd: added trailer parsing for occupancyJosh Blum2011-11-031-0/+1
|
* uhd: renamed convert markup to formatJosh Blum2011-11-031-6/+4
| | | | | | | | removed convert args added simd level got orc and neon updated
* usrp1: support variable clock rate through APIJosh Blum2011-11-031-0/+9
|
* uhd: added one packet mode to rx streamerJosh Blum2011-11-031-5/+13
|
* usrp1: got the 16Msps working (needed non hb-filter image)Josh Blum2011-11-031-13/+27
|
* usrp2: work on alternative OTW formatsJosh Blum2011-11-031-0/+4
|
* usrp1: various tweaks related to streamingJosh Blum2011-11-031-8/+10
|
* usrp1: type conversions and 8-bit workJosh Blum2011-11-031-21/+48
|
* usrp1: multi channel receive workingJosh Blum2011-11-031-4/+4
|
* uhd: renamed some of the stream types and functionsJosh Blum2011-11-031-2/+2
|
* usrp1: did work for stream interface on usrp1Josh Blum2011-11-031-87/+184
|
* usrp1: disable pad to one for usrp1 (not needed)Josh Blum2011-09-191-0/+1
| | | | This was messing up the pad to 512 bytes logic for empty flushes.
* usrp1: fix for multi-channel, OTW channel width is always 1Josh Blum2011-08-081-2/+2
|
* uhd: added tasks to simplify thread spawning use casesJosh Blum2011-07-131-10/+5
|
* usrp: added clipping to link max rate when setting sample rateJosh Blum2011-07-041-8/+6
|
* usrp: handle frontend swapping if the first subdev is QI or QJosh Blum2011-07-041-3/+1
|
* usrp1: tweaks + implemented other features to mimic async and inline messagesJosh Blum2011-07-021-48/+107
| | | | | | | Moved the underflow/overflow polling into a thread and out of the fast-path. Added an inline and async message queue into soft time control. Error and status messages are actually generated now and enqueued. Passes the async message test...
* usrp: added validate_subdev_spec to all io_implsJosh Blum2011-07-011-4/+3
|
* usrp1: implemented properties interface on usrp1Josh Blum2011-07-011-37/+136
|
* usrp1: super packet handler support squashedJosh Blum2011-06-141-94/+86
|
* uhd: replace managed buffer shared pointer w/ intrusive pointer to reduce ↵Josh Blum2011-05-141-15/+4
| | | | overhead
* usrp1: apply conditional disables/enables to rx and txJosh Blum2011-05-141-1/+2
| | | | | | | | Scapped the old gnuradio code for information about VRQ_FPGA_SET_XX_ENABLE. It turns out that we should disabled + restore state when changing muxes or rates. The USRP seems to stream properly when receiving single and dual channel. Prior to this commit, tx was accicentally always disabled from a few commits ago.
* uhd: removed more iostream stuff from usrp* implementationsJosh Blum2011-05-041-5/+5
|
* usrp1: fix for tx under remainder conditionsJosh Blum2011-04-271-3/+3
| | | | | The remainder was accidentally lost because the offset to the buffer was not propagated outside of the commit function.
* 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.