aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* legacy_compat: skip fifo ports size checkTrung N Tran2018-05-091-15/+23
| | | | | | We don't need to assert error if there are not enough fifo ports to connect to radio. Radio ports still can be connected to all available fifo ports until they're running out.
* mpm: n3xx: Refactor n3xx_periphs into its own moduleMartin Braun2018-05-084-390/+404
|
* basicrx/lfrx: Enable frontend muxing on X3x0Martin Braun2018-05-082-17/+63
| | | | | | The selection of frontend modes (AB, A, B, BA) is now enabled on X3x0. Unlike older USRPs, switching the frontend is done through the antenna API (e.g., usrp->set_rx_antenna("A")).
* dboard_iface: Add has_set_fe_connection() methodMartin Braun2018-05-082-0/+10
|
* basicrx: Refactor driverMartin Braun2018-05-081-42/+54
| | | | | | | | - Removal of some Boostisms - Proper use of lambdas - Replace magic constants with constexpr's No functional changes.
* docs: n3xx: Add section on synchronizationMartin Braun2018-05-071-0/+52
| | | | | | - Internal clock/time references - External clock/time references - White Rabbit-based clock/time references
* uhd: Added LMX2592 driverDerek Kozel2018-05-035-0/+884
|
* examples: Avoid calculating dropped samples for negative offsetsMartin Braun2018-05-031-1/+10
| | | | | | | | | | | | There are cases when the first sample after an overrun has an earlier timestamp than the timestamp of the error package. In this case, benchmark_rate would incorrectly determine the number of dropped samples, causing it to display a very large number. This is not a fix of the negative offset issue, but will avoid displaying overly pessimistic numbers dropped samples. An error message is still displayed when this happens, which aids in debugging this situation.
* examples: Fix sleep duration in benchmark_rateMartin Braun2018-05-031-1/+1
| | | | | | The main thread sleeps while the receiver and transmitter threads are going on. This fixes the calculated time it takes in single-channel scenarios.
* examples: Add failure modes to benchmark_rateMartin Braun2018-05-031-20/+86
| | | | | | | | | | | When too many overruns, underruns, or dropped packets are detected, benchmark_rate will now return EXIT_FAILURE. This allows to use it for automated tests. The thresholds are set very high by default, but can be manually tuned by using new command line arguments: $ benchmark_rate --overrun-threshold 0 # Fail on any number of Os
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-0223-919/+924
| | | | | | | Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict.
* dev_test: add N3xx devtestTrung N Tran2018-05-023-2/+61
|
* dev_test: usrp_prope.py update to find reachable mpm deviceTrung N Tran2018-05-021-0/+2
|
* mpmd: add missing virtual destructorsMark Meserve2018-05-022-0/+2
|
* multi_usrp: Update get_usrp_?x_info()Trung N Tran2018-05-011-15/+78
| | | | | | | In MPM devices, daughterboard EEPROMs now use eeprom_map_t instead of dboard_eeprom_t. The eeprom also is under rfnoc path. This change will allow ?x_info() to reach that rfnoc path and pull information from the new eeprom_map_t.
* Create ISSUE_TEMPLATE.mdSugandha Gupta2018-04-301-0/+24
|
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-3057-164/+226
| | | | Replace with std::this_thread::sleep_for().
* utils: fix 30s timeout in query_gpsdo_sensorsTrung N Tran2018-04-301-7/+12
|
* mpm: xportmgr_udp: Assign xports to previously used SFPsMartin Braun2018-04-301-1/+29
| | | | | | This changes the sorting algorithm for the xport<->SFP mapping. When multiple SFPs are used, this sorting will avoid a criss-cross mapping (e.g., mapping ports 0 and 1 of 0/Radio_0 to different SFPs).
* mpm: types: Add getters for dst_ep and dts_block to SIDTrung Tran2018-04-301-4/+12
|
* Removed unecessary == operation.Vidush2018-04-301-3/+3
|
* Changed method to check for channel in _tx_streamer_active & rx_streamer_active.Vidush2018-04-301-4/+4
|
* lib: Change check_radio_config() to iterate over channels, not radios.Vidush2018-04-302-7/+10
|
* Correctly set end of burst flag in metadata.Vidush2018-04-301-0/+2
|
* mpm: rpc server: Remove disable_commit for init()Trung Trang2018-04-301-2/+0
| | | | | The async calls to long C++ methods allows the claimer loop to smoothly continue during init, so this hack is no longer necessary.
* mpm: replace long execution function with async callTrung N Tran2018-04-304-15/+76
| | | | | | - Replace mykonos finish_initialization with async version - Replace myknonos setup_cal with async version - Remove disable_timeout on rpc_server init()
* mpmd: Use separate rpc connection for claim loopTrung N Tran2018-04-302-27/+55
| | | | | We need a separate RPC connection for the claim loop such that it is not blocked by other long executions of rpc calls.
* mpm: rpc server: Increase claim timeout to 5 secondsTrung Trang2018-04-301-1/+1
| | | | | | Usually, the current timeout is fine, but there are cases when a lot of RPC traffic could drown out the reclaim calls. 5 seconds is an experimentally derived safe value.
* fixup! rfnoc: ctrl_iface cleanupmichael-west2018-04-301-4/+0
|
* fixup! rfnoc: ctrl_iface cleanupmichael-west2018-04-303-4/+2
|
* mpm: Set C++ standard to C++14Martin Braun2018-04-301-1/+7
|
* ad9361: Fix bandwidth warnings and rangesVidush2018-04-275-33/+80
| | | | | | | Allows full bandwidth range to user. Reviewed-by: Michael West <michael.west@ettus.com> Reviewed-by: Martin Braun <martin.braun@ettus.com>
* log: Allow disabling of fastpath msgs at runtimeMartin Braun2018-04-262-14/+55
| | | | | | - Fixes an issue with compile time disabling as well - An UHD_LOG_FASTPATH_DISABLE=1 env var will make it that O/U/S/D won't be printed
* log: Add method for local generation of messages in log.cppMartin Braun2018-04-261-10/+18
|
* ad936x: De-boostify ad936x_manager, minor cleanupMartin Braun2018-04-265-57/+94
| | | | | | | - Remove all use of boost::bind and boost::function - Demote some log messages to DEBUG - Change some formatting to match coding guidelines - B2xx/E310: Match changes in loopback function
* logging: Remove dead code from log.cppVidush2018-04-261-1/+0
|
* mpm: Fixed db slot typo in db-idDerek Kozel2018-04-231-1/+1
|
* fixup! rfnoc: ctrl_iface cleanupMartin Braun2018-04-201-1/+6
|
* cmake: Remove images downloader sectionMartin Braun2018-04-191-10/+0
| | | | This was replaced with the manifest.
* examples: De-boostify rx_samples_to_fileMartin Braun2018-04-181-47/+93
| | | | | Removes boost::bind and all Boost time types from this example. Re-enables compatibility with Boost 1.67.
* lib: update get_range of gain_groupTrung N Tran2018-04-181-2/+5
| | | | Need to skip zero gain step
* mpm: add device-specific Boost.Python bindingsBrent Stapleton2018-04-183-14/+5
| | | | | | Separating Boost.Python bindings into device-specific files. N3XX code now lives in n3xx/pyusrp_periphs. Only one src file should be added for pyusrp_periphs.so by CMake.
* mpm: Use configurable components for build systemAlex Williams2018-04-187-5/+137
| | | | | For a minimal build, default to off for components unless the MPM_DEVICE or the user requests it specifically.
* mpm: Validate MPM_DEVICE in CMakeBrent Stapleton2018-04-181-1/+9
|
* cal_utils: logic to handle eventual U's during calibrationNicolas Cuervo2018-04-184-22/+99
| | | | | For every frequency point, the cal utils will detect underruns and retry a calibration measurement up to 10 times before failing.
* examples: Remove superfluous sleepMartin Braun2018-04-181-2/+0
|
* lib: Unbreak build against Boost 1.67Jan Beich2018-04-181-1/+1
| | | | | Some uses of boost::posix_time were incorrect and would cause compiler errors on Boost 1.67.
* niusrprio: Move a const from header to implMartin Braun2018-04-182-2/+5
| | | | This avoids having to redeclare the static const to avoid linker errors.
* cores: rx_vita_core_3000: Replace boost::this_thread::sleep()Martin Braun2018-04-171-2/+3
| | | | Use std::this_thread::sleep_for() instead.
* gps_ctrl: Replace boost::this_thread::sleep()Martin Braun2018-04-171-26/+32
| | | | Use std::this_thread::sleep_for() instead.