aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/single_usrp.cpp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-10-12 16:31:49 -0700
committerNick Foster <nick@nerdnetworks.org>2010-10-12 16:31:49 -0700
commit18c16ad9d793eeb3512e9d0a652402936746ba33 (patch)
tree02bab9cc28cfdd0a946437c1cb3d581d7d7faee1 /host/lib/usrp/single_usrp.cpp
parent5b4cbfe4616492d96ad1b48578cf2d94e1216bf4 (diff)
parent80469eedb76994b39a40ff94e31c4de924fc33e2 (diff)
downloaduhd-18c16ad9d793eeb3512e9d0a652402936746ba33.tar.gz
uhd-18c16ad9d793eeb3512e9d0a652402936746ba33.tar.bz2
uhd-18c16ad9d793eeb3512e9d0a652402936746ba33.zip
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p
Diffstat (limited to 'host/lib/usrp/single_usrp.cpp')
-rw-r--r--host/lib/usrp/single_usrp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/single_usrp.cpp b/host/lib/usrp/single_usrp.cpp
index 08dc3bb1d..7d053535e 100644
--- a/host/lib/usrp/single_usrp.cpp
+++ b/host/lib/usrp/single_usrp.cpp
@@ -202,6 +202,10 @@ public:
dboard_iface::sptr get_rx_dboard_iface(size_t chan){
return _rx_dboard(chan)[DBOARD_PROP_DBOARD_IFACE].as<dboard_iface::sptr>();
}
+
+ void set_rx_bandwidth(float bandwidth, size_t chan) {
+ _rx_subdev(chan)[SUBDEV_PROP_BANDWIDTH] = bandwidth;
+ }
/*******************************************************************
* TX methods