mirror of https://github.com/PentHertz/srsLTE.git
Zero power UCI bits is not an error but KO
This commit is contained in:
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…
Reference in New Issue