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/lib/usrp/multi_usrp.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'host/lib/usrp/multi_usrp.cpp') 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(rx_rf_fe_root(chan) / "bandwidth" / "value").get(); } + meta_range_t get_rx_bandwidth_range(size_t chan){ + return _tree->access(rx_rf_fe_root(chan) / "bandwidth" / "range").get(); + } + dboard_iface::sptr get_rx_dboard_iface(size_t chan){ return _tree->access(rx_rf_fe_root(chan).branch_path().branch_path() / "iface").get(); } @@ -678,6 +682,10 @@ public: return _tree->access(tx_rf_fe_root(chan) / "bandwidth" / "value").get(); } + meta_range_t get_tx_bandwidth_range(size_t chan){ + return _tree->access(tx_rf_fe_root(chan) / "bandwidth" / "range").get(); + } + dboard_iface::sptr get_tx_dboard_iface(size_t chan){ return _tree->access(tx_rf_fe_root(chan).branch_path().branch_path() / "iface").get(); } -- cgit v1.2.3