gr-osmosdr/lib
Clayton Smith bc629b03fe hackrf: fix bandwidth setting
The T/R switching code added in ae2253c516
fails to set custom filter bandwidths because it sets bandwidth and
sample rate in the wrong order. As noted in the documentation for
hackrf_set_sample_rate: "If you want to override the baseband filter
selection, you must do so after setting the sample rate."

To solve this problem I moved the set_bandwidth call after
set_sample_rate. It was also necessary to skip the call if a custom
bandwidth was not requested.

Signed-off-by: Eric Wild <ewild@sysmocom.de>
2021-01-04 22:27:53 +01:00
..
airspy cmake: actually make linking work 2020-08-03 02:20:16 +02:00
airspyhf cmake: actually make linking work 2020-08-03 02:20:16 +02:00
bladerf Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
fcd Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
file cmake: actually make linking work 2020-08-03 02:20:16 +02:00
freesrp cmake: actually make linking work 2020-08-03 02:20:16 +02:00
hackrf hackrf: fix bandwidth setting 2021-01-04 22:27:53 +01:00
redpitaya cmake: actually make linking work 2020-08-03 02:20:16 +02:00
rfspace rfspace: Remove broken asio code 2020-11-01 00:06:28 +01:00
rtl cmake: actually make linking work 2020-08-03 02:20:16 +02:00
rtl_tcp cmake: actually make linking work 2020-08-03 02:20:16 +02:00
sdrplay cmake: actually make linking work 2020-08-03 02:20:16 +02:00
soapy Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
uhd Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
xtrx add xtrx support 2020-11-19 01:41:05 +01:00
CMakeLists.txt add xtrx support 2020-11-19 01:41:05 +01:00
arg_helpers.h Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
config.h.in add xtrx support 2020-11-19 01:41:05 +01:00
device.cc Remove disabled OsmoSDR and MiriSDR code 2020-11-01 00:12:56 +01:00
ranges.cc Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
sink_iface.h introduce time & clock synchronisation APIs 2014-11-25 20:47:59 +01:00
sink_impl.cc add xtrx support 2020-11-19 01:41:05 +01:00
sink_impl.h introduce time & clock synchronisation APIs 2014-11-25 20:47:59 +01:00
source_iface.h introduce time & clock synchronisation APIs 2014-11-25 20:47:59 +01:00
source_impl.cc add xtrx support 2020-11-19 01:41:05 +01:00
source_impl.h introduce time & clock synchronisation APIs 2014-11-25 20:47:59 +01:00
time_spec.cc osmo: minor build tweaks w/ rtl on msvc 2015-04-28 22:27:53 +02:00