gr-osmosdr/lib/hackrf
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
..
CMakeLists.txt cmake: actually make linking work 2020-08-03 02:20:16 +02:00
hackrf_common.cc hackrf: fix bandwidth setting 2021-01-04 22:27:53 +01:00
hackrf_common.h hackrf: fix bandwidth setting 2021-01-04 22:27:53 +01:00
hackrf_sink_c.cc A lot of Boost functionality is available in C++11. Since GNU Radio is moving away from Boost, it probably makes sense to do so in gr-osmosdr as well. 2020-08-02 23:52:25 +02:00
hackrf_sink_c.h hackrf: allow transmit/receive switching 2020-02-16 09:52:00 +01:00
hackrf_source_c.cc Fix hackrf receive hangs by checking before each lock wait 2020-12-18 13:22:24 +01:00
hackrf_source_c.h HackRF: convert _lut to float[] to reduce size by a factor of 256 2020-08-03 01:20:52 +02:00