aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-02-08 10:05:55 -0800
committerMartin Braun <martin.braun@ettus.com>2018-02-08 22:33:18 +0100
commit31d81ecb2fc4a06c1a71ccc2071c63f934647049 (patch)
tree6bf9bb9775c4a9e327b9875c0681f3da14310de9 /host/include
parent20a776bce3eec84c093b23e79d01b715f8756d72 (diff)
downloaduhd-31d81ecb2fc4a06c1a71ccc2071c63f934647049.tar.gz
uhd-31d81ecb2fc4a06c1a71ccc2071c63f934647049.tar.bz2
uhd-31d81ecb2fc4a06c1a71ccc2071c63f934647049.zip
rfnoc: Add TX bandwidth APIs to radio_ctrl
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/radio_ctrl.hpp17
1 files changed, 17 insertions, 0 deletions
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
@@ -154,6 +154,23 @@ public:
*
* \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
+ */
virtual double get_rx_bandwidth(const size_t chan) = 0;
/*! Set the analog filter bandwidth channel \p chan