From 31d81ecb2fc4a06c1a71ccc2071c63f934647049 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 8 Feb 2018 10:05:55 -0800 Subject: rfnoc: Add TX bandwidth APIs to radio_ctrl --- host/include/uhd/rfnoc/radio_ctrl.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/radio_ctrl.hpp b/host/include/uhd/rfnoc/radio_ctrl.hpp index 8d24f9868..3a887bf02 100644 --- a/host/include/uhd/rfnoc/radio_ctrl.hpp +++ b/host/include/uhd/rfnoc/radio_ctrl.hpp @@ -150,6 +150,23 @@ public: */ virtual double set_rx_gain(const double gain, const size_t chan) = 0; + /*! Return the analog filter bandwidth channel \p chan + * + * \return The actual bandwidth value + */ + virtual double get_tx_bandwidth(const size_t chan) = 0; + + /*! Set the analog filter bandwidth channel \p chan + * + * This function will attempt to set the analog bandwidth. + * + * \return The actual bandwidth value + */ + virtual double set_tx_bandwidth( + const double bandwidth, + const size_t chan + ) = 0; + /*! Return the analog filter bandwidth channel \p chan * * \return The actual bandwidth value -- cgit v1.2.3