summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-10-11 18:21:11 -0700
committerNick Foster <nick@nerdnetworks.org>2010-10-11 18:23:10 -0700
commitf28c07db44694e3cce96502183c7570a386987f5 (patch)
treeb9a6bb11274e00a184cdc394ba50c6a35095d975 /host/include
parent445a5ca2c7d822ea576eab6aca51cf340df1ca15 (diff)
downloaduhd-f28c07db44694e3cce96502183c7570a386987f5.tar.gz
uhd-f28c07db44694e3cce96502183c7570a386987f5.tar.bz2
uhd-f28c07db44694e3cce96502183c7570a386987f5.zip
UHD: Brought out set_rx_bandwidth for dboards with programmable rx filters.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/mimo_usrp.hpp2
-rw-r--r--host/include/uhd/usrp/simple_usrp.hpp2
-rw-r--r--host/include/uhd/usrp/single_usrp.hpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/mimo_usrp.hpp b/host/include/uhd/usrp/mimo_usrp.hpp
index 10a404059..ed40addb3 100644
--- a/host/include/uhd/usrp/mimo_usrp.hpp
+++ b/host/include/uhd/usrp/mimo_usrp.hpp
@@ -148,6 +148,8 @@ public:
* \return the rssi in dB
*/
virtual float read_rssi(size_t chan) = 0;
+
+ virtual void set_rx_bandwidth(float bandwidth, size_t chan) = 0;
/*******************************************************************
* TX methods
diff --git a/host/include/uhd/usrp/simple_usrp.hpp b/host/include/uhd/usrp/simple_usrp.hpp
index 6149f739c..6f3597ed7 100644
--- a/host/include/uhd/usrp/simple_usrp.hpp
+++ b/host/include/uhd/usrp/simple_usrp.hpp
@@ -139,6 +139,8 @@ public:
virtual float read_rssi(void) = 0;
virtual dboard_iface::sptr get_rx_dboard_iface(void) = 0;
+
+ virtual void set_rx_bandwidth(float) = 0;
/*******************************************************************
* TX methods
diff --git a/host/include/uhd/usrp/single_usrp.hpp b/host/include/uhd/usrp/single_usrp.hpp
index 3cd263bce..fa6498d13 100644
--- a/host/include/uhd/usrp/single_usrp.hpp
+++ b/host/include/uhd/usrp/single_usrp.hpp
@@ -152,6 +152,8 @@ public:
virtual float read_rssi(size_t chan = 0) = 0;
virtual dboard_iface::sptr get_rx_dboard_iface(size_t chan = 0) = 0;
+
+ virtual void set_rx_bandwidth(float bandwidth, size_t chan = 0) = 0;
/*******************************************************************
* TX methods