aboutsummaryrefslogtreecommitdiffstats
path: root/host
Commit message (Collapse)AuthorAgeFilesLines
* cmake: fix test library path ordering to be internal then externalMichael Dickens2018-01-221-2/+2
| | | | | | | | | | Always include local-to-build library paths first, then external ones. If a prior version of UHD is installed in the same directly as Boost (as is typical on *nix* OSs such as macOS and Linux), then it will be picked up before the internal-to-build version and some tests will fail. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* rpclib: fix use of "boost::asio::strand" -> "boost::asio::io_service::strand"Michael Dickens2018-01-223-3/+3
| | | | | | | | | The former was marked as deprecated numerous Boost versions ago and finally was actually removed & replaced in 1.66.0 with a new one with a template API. The version in rpclib need to be updated, and Boost docs say to use the latter. Moving to this usage takes care of this issue. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* Docs: Update channel numbernatetemple2018-01-191-1/+1
|
* Docs: Typo fixesnatetemple2018-01-192-4/+4
|
* mg: Remove superfluous DEBUG message, minor formattingMartin Braun2018-01-181-10/+12
| | | | Fixed indents to 4 spaces in get_?x_lo_source().
* logging: Fix version print at top of every UHD sessionMartin Braun2018-01-181-17/+21
|
* uhdlib: Update constrained_device_args_tMartin Braun2018-01-184-31/+170
| | | | | | | - Allow enums to be non-consecutive - Move to uhdlib/ - Add unit tests - Updated N230 use of constrained_device_args_t
* cmake: Check for minimum MSVC, bump MSVC min version to 14.0Martin Braun2018-01-172-8/+16
| | | | | | | - MSVC 14.0 is required to support a lot of the new C++11 features required for rpclib, among others. - Moved Boost minimum version variable to same spot as other minimum versions
* mg: Fix various compiler warningsMartin Braun2018-01-163-47/+48
| | | | | | - Made const constexpr where sensible - Moved non-global constants to their local scope - Changed const char * to const char[] where they should
* mg: Fix missing return value for half-dB stepsMartin Braun2018-01-161-0/+1
|
* multi_usrp: Fix compiler warningsMartin Braun2018-01-161-22/+41
| | | | Also elevated a UHD_LOG_ERROR() to an exception.
* docs: Fix Doxygen warningsMartin Braun2018-01-161-3/+3
|
* docs: Misc amendments to N3xx manual pageMartin Braun2018-01-162-54/+270
|
* mpm/mpmd: Report device state using get_init_status() and verifyMartin Braun2018-01-161-0/+9
| | | | | | When trying to run init(), mpmd will first query the initialization status of the MPM device. If it is found to be in a bad state, it will not go forward with initialization, but instead print the error message.
* X300: Reduce CPU usage during TX by restoring timeout when getting flow ↵michael-west2018-01-161-3/+1
| | | | control packets
* fixup! UBX: Add implementation of TDD xcvr mode and force TX PA on in TDD ↵michael-west2018-01-161-1/+7
| | | | mode to reduce transient at start of transmission
* examples: Fix bandwidth unit (MHz vs. Hz) in tx_samples_from_fileMartin Braun2018-01-151-2/+6
|
* mg: add clip function on setting individual gain.Trung Tran2018-01-121-8/+19
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* usrp: add multiusrp api for gain profile.Trung N Tran2018-01-122-0/+128
|
* mg: add facility that handle individual gainTrung N Tran2018-01-125-12/+348
| | | | | | | -Create name for each gain/att element -Create property tree entry for each gain and their handlers. -Create gain profile that control how gain distributed. Right now, it is either "default" or "manual".
* examples: Add example to query and list all sensorsMartin Braun2018-01-122-0/+127
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* fixup! TwinRX: Added ADF5356 synth and TwinRX Rev C supportDerek Kozel2018-01-121-1/+1
| | | | | | The phase detector frequency value was incorrect for the Rev C LO1 Reviewed-by: Mark Meserve <mark.meserve@ni.com>
* uhd: Add narrow_cast and narrowMartin Braun2018-01-125-0/+129
| | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* fixup! mpmd: Add API to read back logs from device and send to native loggingMartin Braun2018-01-111-1/+1
|
* fixup! fpga load: adding MPMD image loader functionBrent Stapleton2018-01-111-1/+1
|
* fixup! mpmd: added support for the skip_init key in the device argsBrent Stapleton2018-01-111-0/+1
|
* mpmd: Poll logs on claim and exitMartin Braun2018-01-101-0/+6
|
* mpmd: Add API to read back logs from device and send to native loggingMartin Braun2018-01-102-0/+71
|
* mg: fix update_freq direction in set_rx_lo_freqTrung N Tran2018-01-091-1/+1
|
* fixup! mg: Use enums for all bands, move freq mapping to single locationMartin Braun2018-01-081-0/+1
|
* mpmd: Factor out compat number checkMartin Braun2018-01-081-26/+59
|
* mpmd: Refactor device initialization for better parallelizabilityMartin Braun2018-01-083-92/+125
| | | | | | | | | | Note: This doesn't add any concurrency, rather, it changes the structure of the code to allow that. Notable changes: - All prop tree inits in one place - No access to containers in methods that might be run in parallel - Split initialization and claiming in mpmd_mboard_impl, calling ctor will no longer run the full initialization. - Added comments to identify parallelizable spots
* mg: Use enums for all bands, move freq mapping to single locationMartin Braun2018-01-089-109/+339
| | | | | | | | This removes the need to re-implement the band checks (in particular, the low band check) in multiple places, potentially causing confusion. Signed-off-by: Trung Tran <trung.tran@ettus.com> Reviewed-by: Trung Tran <trung.tran@ettus.com>
* mg: Remove superfluous UHD_VARMartin Braun2018-01-081-1/+0
|
* eiscat: Remove superfluous UHD_VARMartin Braun2018-01-081-2/+0
|
* Revert "rfnoc: compat: Disable DMA FIFO if more radios than DMA channels exist"Ashish Chaudhari2018-01-081-31/+1
| | | | This reverts commit c8cdbfc4d4e307017e02dd48c449d3e3f38118af.
* rfnoc: dma_fifo: Minor: Cleaned up log printsAshish Chaudhari2018-01-082-5/+4
|
* rfnoc: Added a 4-port DMA FIFO block XML defAshish Chaudhari2018-01-082-1/+110
|
* mpm: Increase RPC timeout during update_componentBrent Stapleton2018-01-053-0/+14
| | | | | | | Increases the host's timeout during update_component times, then resets it to the default RPC timeout after the call is complete. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* rfnoc: Fix named readback of user_reg_read32()Martin Braun2018-01-051-1/+1
| | | | Thanks to github user mdmikh for pointing out problem and fix.
* mpmd: Allow user-overrides for MPM portsMartin Braun2018-01-045-9/+35
| | | | | | | Adds two device args: discovery_port and rpc_port. Both are integers which override the respective constants. Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* mpmd: Add latency measurement functionalityMartin Braun2018-01-041-1/+43
| | | | | | | | | | By adding measure_rpc_latency, mpmd_impl will run a ping command in a loop at initialization, and estimate average and maximum RPC command latency. Note that the ping() RPC call only does an internal logging call and returns its argument, so it is a very coarse approximation to how fast RPC latency is. Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* docs: n3xx: Add paragraph on network configuration to manualMoritz Fischer2018-01-031-1/+50
| | | | | | Add a (short) paragraph on network configuration on N3xx to manual. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpmd: Fix fake results returned by mpmd_findAshish Chaudhari2017-12-281-1/+3
| | | | | | | | - For non-MPM Ethernet devices, mpmd_find would return a fake malformed discovery result which would accidentally trigger an mpmd_impl::make resulting in unexpected errors - Fixed mpmd_find to return an empty device_addrs_t object if no MPM devices are found
* Move all headers to SPDX format, harmonize license headersMartin Braun2017-12-2213-170/+30
|
* mpmd: liberio: Factor out constants into top of fileMartin Braun2017-12-221-17/+29
|
* mpmd: liberio: Apply MTU of 2 page sizesMartin Braun2017-12-221-3/+4
|
* rfnoc: compat: Disable DMA FIFO if more radios than DMA channels existMartin Braun2017-12-221-1/+31
|
* mpmd: Optionally parallelize all calls to setup_rpc_blocksMartin Braun2017-12-222-14/+39
| | | | Default is to not serialize inits.
* mpmd: Temporarily disable setting of clock and time sourceMartin Braun2017-12-221-2/+24
| | | | | | Currently, calling these APIs could potentially put the device into bad state. This will disable the APIs from UHD side and replace them with a warning if the user's setting did not take effect.