From 3a9edd27d6976456ea9cf4565590d4dd5bee809c Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 26 Oct 2011 10:21:11 -0700 Subject: usrp: added called to query bw range as well --- host/include/uhd/usrp/multi_usrp.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp index 319301784..0509c2f1d 100644 --- a/host/include/uhd/usrp/multi_usrp.hpp +++ b/host/include/uhd/usrp/multi_usrp.hpp @@ -23,6 +23,7 @@ #define UHD_USRP_MULTI_USRP_GET_RATES_API #define UHD_USRP_MULTI_USRP_FRONTEND_CAL_API #define UHD_USRP_MULTI_USRP_COMMAND_TIME_API +#define UHD_USRP_MULTI_USRP_BW_RANGE_API #include #include @@ -504,6 +505,13 @@ public: */ virtual double get_rx_bandwidth(size_t chan = 0) = 0; + /*! + * Get the range of the possible RX bandwidth settings. + * \param chan the channel index 0 to N-1 + * \return a range of bandwidths in Hz + */ + virtual meta_range_t get_rx_bandwidth_range(size_t chan = 0) = 0; + /*! * Read the RSSI value on the RX frontend. * \param chan the channel index 0 to N-1 @@ -743,6 +751,13 @@ public: */ virtual double get_tx_bandwidth(size_t chan = 0) = 0; + /*! + * Get the range of the possible TX bandwidth settings. + * \param chan the channel index 0 to N-1 + * \return a range of bandwidths in Hz + */ + virtual meta_range_t get_tx_bandwidth_range(size_t chan = 0) = 0; + /*! * Get the dboard interface object for the TX frontend. * The dboard interface gives access to GPIOs, SPI, I2C, low-speed ADC and DAC. -- cgit v1.2.3