hamnet70/impl
Thomas Kolb c6ea578808 sdr: fix loss of samples due to unaligned buffer reads
sdr_rf_to_baseband() processes samples in blocks of size SDR_OVERSAMPLING. If
the total number of samples does not align with this block size, the leftover
samples are lost and phase and timing glitches result.

To mitigate this, sdr_receive() now has an additional parameter that specifies
the alignment of the returned data. The number of samples returned is always a
multiple of this alignment factor. This feature is used to ensure that the
number of returned samples is a multiple of SDR_OVERSAMPLING and therefore no
samples are lost in sdr_rf_to_baseband().

sdr_rf_to_baseband() now has an additional check that makes the function fail
if the alignment is incorrect.
2024-04-27 20:08:04 +02:00
..
src sdr: fix loss of samples due to unaligned buffer reads 2024-04-27 20:08:04 +02:00
test Fix compiler warnings 2024-04-27 12:22:33 +02:00
utils utils: fix numpy deprecation warnings 2024-04-20 01:14:17 +02:00
.gitignore Initial commit: infrastructure 2021-10-17 19:25:42 +02:00
CMakeLists.txt Add options parsing module 2024-03-30 21:51:27 +01:00
compile_flags.txt Initial commit: infrastructure 2021-10-17 19:25:42 +02:00
make.sh make.sh: allow passing parameters to make 2024-01-03 17:29:05 +01:00
setup_tundev.sh Switch to IPv6 2022-04-07 20:44:07 +02:00