aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/usrp
diff options
context:
space:
mode:
authorVidush <vidush.vishwanath@ettus.com>2018-04-24 11:21:33 -0700
committerMartin Braun <martin.braun@ettus.com>2018-04-27 11:23:59 -0700
commit2ef60a1b66aded5e967769bf31a97d21c693e805 (patch)
treefdb781a782a6448c73e5c91ab1949a4d2586ed21 /host/lib/include/uhdlib/usrp
parentf2e68440d6ebd7e8b0bc0e0bd9562625f295da37 (diff)
downloaduhd-2ef60a1b66aded5e967769bf31a97d21c693e805.tar.gz
uhd-2ef60a1b66aded5e967769bf31a97d21c693e805.tar.bz2
uhd-2ef60a1b66aded5e967769bf31a97d21c693e805.zip
ad9361: Fix bandwidth warnings and ranges
Allows full bandwidth range to user. Reviewed-by: Michael West <michael.west@ettus.com> Reviewed-by: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'host/lib/include/uhdlib/usrp')
-rw-r--r--host/lib/include/uhdlib/usrp/common/ad9361_ctrl.hpp6
1 files changed, 3 insertions, 3 deletions
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