Zero power UCI bits is not an error but KO

master
Xavier Arteaga 3 years ago
parent 4a327ad17d
commit 7262287926

@ -633,9 +633,11 @@ static int uci_nr_decode_3_11_bit(srsran_uci_nr_t* q,
// Compute average LLR power
float pwr = srsran_vec_avg_power_bf(llr, E);
// If the power measurement is invalid (zero, NAN, INF) then consider it cannot be decoded
if (!isnormal(pwr)) {
ERROR("Received all zeros");
return SRSRAN_ERROR;
*decoded_ok = false;
return SRSRAN_SUCCESS;
}
// Decode

Loading…
Cancel
Save