Revert "Demodulator sets LLR to zero for 0.0 symbols"

This reverts commit 1a6e5cdee5.
This commit is contained in:
Xavier Arteaga 2021-04-19 11:07:08 +02:00 committed by Andre Puschmann
parent 1c1d7e2447
commit 93c3dc1cb1
1 changed files with 0 additions and 10 deletions

View File

@ -928,15 +928,5 @@ int srsran_demod_soft_demodulate_b(srsran_mod_t modulation, const cf_t* symbols,
ERROR("Invalid modulation %d", modulation);
return -1;
}
uint32_t nof_bits_x_symbol = srsran_mod_bits_x_symbol(modulation);
for (uint32_t i = 0; i < nsymbols; i++) {
if (!isnormal(__real__ symbols[i]) || !isnormal(__imag__ symbols[i])) {
for (uint32_t j = 0; j < nof_bits_x_symbol; j++) {
llr[i * nof_bits_x_symbol + j] = 0;
}
}
}
return 0;
}