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/include/uhdlib/rfnoc/radio_control_impl.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/include/uhdlib/rfnoc') 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 get_rx_power_ref_keys(const size_t); + virtual std::vector get_tx_power_ref_keys(const size_t); /************************************************************************** * LO Controls -- cgit v1.2.3