aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-04-21 22:09:17 -0700
committerAaron Rossetto <aaron.rossetto@ni.com>2020-05-20 15:19:55 -0500
commite67871c7c83ad8f03ed1dcbb719fc8211ce759ce (patch)
tree965e93b5e1815d176bed041845b997527d1a9fa5 /host/lib/include/uhdlib
parente59067137c1d961577df2e0e1d98b56fb01e2ce6 (diff)
downloaduhd-e67871c7c83ad8f03ed1dcbb719fc8211ce759ce.tar.gz
uhd-e67871c7c83ad8f03ed1dcbb719fc8211ce759ce.tar.bz2
uhd-e67871c7c83ad8f03ed1dcbb719fc8211ce759ce.zip
rfnoc: radio: Add APIs to query cal keys
This allows asking the radio for the keys it uses to read/write its calibration data. By querying radio_control::get_{rx,tx}_power_ref_keys(), the return values can be used to access uhd::usrp::cal::database::read_cal_data().
Diffstat (limited to 'host/lib/include/uhdlib')
-rw-r--r--host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp
index 4916ecf6f..db723a6f6 100644
--- a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp
+++ b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp
@@ -106,6 +106,8 @@ public:
virtual bool has_tx_power_reference(const size_t chan);
virtual double get_rx_power_reference(const size_t chan);
virtual double get_tx_power_reference(const size_t chan);
+ virtual std::vector<std::string> get_rx_power_ref_keys(const size_t);
+ virtual std::vector<std::string> get_tx_power_ref_keys(const size_t);
/**************************************************************************
* LO Controls