From e67871c7c83ad8f03ed1dcbb719fc8211ce759ce Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 21 Apr 2020 22:09:17 -0700 Subject: 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(). --- host/lib/rfnoc/radio_control_impl.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'host/lib/rfnoc/radio_control_impl.cpp') diff --git a/host/lib/rfnoc/radio_control_impl.cpp b/host/lib/rfnoc/radio_control_impl.cpp index e34a9b430..b3da7ec13 100644 --- a/host/lib/rfnoc/radio_control_impl.cpp +++ b/host/lib/rfnoc/radio_control_impl.cpp @@ -611,6 +611,16 @@ double radio_control_impl::get_tx_power_reference(const size_t) return 0.0; } +std::vector radio_control_impl::get_rx_power_ref_keys(const size_t) +{ + return {}; +} + +std::vector radio_control_impl::get_tx_power_ref_keys(const size_t) +{ + return {}; +} + /****************************************************************************** * LO Default API *****************************************************************************/ -- cgit v1.2.3