aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2018-12-06 16:29:49 -0600
committerBrent Stapleton <brent.stapleton@ettus.com>2018-12-12 16:27:25 -0800
commite0afd4a08d2cb1c53281275bc259fca6a33e9974 (patch)
tree7b04e72c700b535bdffaa825317980584bc46583 /host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp
parent22836d65e71a0ad01827bdeb855018a8aaddf072 (diff)
downloaduhd-e0afd4a08d2cb1c53281275bc259fca6a33e9974.tar.gz
uhd-e0afd4a08d2cb1c53281275bc259fca6a33e9974.tar.bz2
uhd-e0afd4a08d2cb1c53281275bc259fca6a33e9974.zip
rh: add highband spur reduction option
- When highband_spur_reduction is enabled, the lowband LO will be disabled during highband operation. This improves spur performance, but also renders timed tune commands unusable due to the MPM call. - A warning is logged if the user uses a timed tune command that would change the state of the lowband LO, as the MPM call will occur immediately instead of at the given command time.
Diffstat (limited to 'host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp')
-rw-r--r--host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp
index 198691e17..ae72a4bac 100644
--- a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp
+++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp
@@ -142,6 +142,13 @@ void rhodium_radio_ctrl_impl::_init_defaults()
_tree->access<double>(get_arg_path(SPUR_DODGING_THRESHOLD_ARG_NAME) / "value")
.set(boost::lexical_cast<double>(_block_args.get(SPUR_DODGING_THRESHOLD_ARG_NAME)));
}
+
+ if (_block_args.has_key(HIGHBAND_SPUR_REDUCTION_ARG_NAME)) {
+ _tree
+ ->access<std::string>(
+ get_arg_path(HIGHBAND_SPUR_REDUCTION_ARG_NAME) / "value")
+ .set(_block_args.get(HIGHBAND_SPUR_REDUCTION_ARG_NAME));
+ }
}
void rhodium_radio_ctrl_impl::_init_peripherals()