summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-26 10:21:11 -0700
committerJosh Blum <josh@joshknows.com>2011-11-03 20:37:14 -0700
commit3a9edd27d6976456ea9cf4565590d4dd5bee809c (patch)
tree28e841c14cf3e3f2c98f8cbf5287ce44cffcd4f6 /host/lib
parentdedfa65256470f31a20c99a210457937d3f36056 (diff)
downloaduhd-3a9edd27d6976456ea9cf4565590d4dd5bee809c.tar.gz
uhd-3a9edd27d6976456ea9cf4565590d4dd5bee809c.tar.bz2
uhd-3a9edd27d6976456ea9cf4565590d4dd5bee809c.zip
usrp: added called to query bw range as well
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/multi_usrp.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 43534ff37..d53004259 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -534,6 +534,10 @@ public:
return _tree->access<double>(rx_rf_fe_root(chan) / "bandwidth" / "value").get();
}
+ meta_range_t get_rx_bandwidth_range(size_t chan){
+ return _tree->access<meta_range_t>(rx_rf_fe_root(chan) / "bandwidth" / "range").get();
+ }
+
dboard_iface::sptr get_rx_dboard_iface(size_t chan){
return _tree->access<dboard_iface::sptr>(rx_rf_fe_root(chan).branch_path().branch_path() / "iface").get();
}
@@ -678,6 +682,10 @@ public:
return _tree->access<double>(tx_rf_fe_root(chan) / "bandwidth" / "value").get();
}
+ meta_range_t get_tx_bandwidth_range(size_t chan){
+ return _tree->access<meta_range_t>(tx_rf_fe_root(chan) / "bandwidth" / "range").get();
+ }
+
dboard_iface::sptr get_tx_dboard_iface(size_t chan){
return _tree->access<dboard_iface::sptr>(tx_rf_fe_root(chan).branch_path().branch_path() / "iface").get();
}