From 2ef60a1b66aded5e967769bf31a97d21c693e805 Mon Sep 17 00:00:00 2001 From: Vidush Date: Tue, 24 Apr 2018 11:21:33 -0700 Subject: ad9361: Fix bandwidth warnings and ranges Allows full bandwidth range to user. Reviewed-by: Michael West Reviewed-by: Martin Braun --- host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp') diff --git a/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp b/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp index 1acbe6463..411de6f81 100644 --- a/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp +++ b/host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp @@ -70,16 +70,16 @@ public: } } - //! get the freq range for the frontend which + //! get the freq range static uhd::meta_range_t get_rf_freq_range(void) { return uhd::meta_range_t(50e6, 6e9); } //! get the filter range for the frontend which - static uhd::meta_range_t get_bw_filter_range(const std::string &/*which*/) + static uhd::meta_range_t get_bw_filter_range(void) { - return uhd::meta_range_t(200e3, 56e6); + return uhd::meta_range_t(ad9361_device_t::AD9361_MIN_BW, ad9361_device_t::AD9361_MAX_BW); } //! get the clock rate range for the frontend -- cgit v1.2.3