aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-11-05 20:28:07 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:05 -0800
commitd2ff40ed948382cb124bca625ffb5a0e0771c1d9 (patch)
treeef90d1041e085220ab771cecb8e315e56b197d84 /host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
parentb5f6ba518e80fe3f3f64f112d657bc9fc631fe4f (diff)
downloaduhd-d2ff40ed948382cb124bca625ffb5a0e0771c1d9.tar.gz
uhd-d2ff40ed948382cb124bca625ffb5a0e0771c1d9.tar.bz2
uhd-d2ff40ed948382cb124bca625ffb5a0e0771c1d9.zip
mg: Added stubs for LO controls
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
index cf9ba765d..75a91d0b4 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
@@ -60,6 +60,33 @@ public:
double set_tx_bandwidth(const double bandwidth, const size_t chan);
double set_rx_bandwidth(const double bandwidth, const size_t chan);
+ std::vector<std::string> get_rx_lo_names(const size_t chan);
+ std::vector<std::string> get_rx_lo_sources(
+ const std::string &name,
+ const size_t chan
+ );
+ freq_range_t get_rx_lo_freq_range(
+ const std::string &name,
+ const size_t chan
+ );
+
+ void set_rx_lo_source(
+ const std::string &src,
+ const std::string &name,
+ const size_t chan
+ );
+ const std::string get_rx_lo_source(
+ const std::string &name,
+ const size_t chan
+ );
+
+ double set_rx_lo_freq(
+ double freq,
+ const std::string &name,
+ const size_t chan
+ );
+ double get_rx_lo_freq(const std::string &name, const size_t chan);
+
double set_tx_gain(const double gain, const size_t chan);
double set_rx_gain(const double gain, const size_t chan);