Changed DL-SCH LDPC scaling factor for decoding high rates

This commit is contained in:
Xavier Arteaga 2020-12-22 15:42:34 +01:00 committed by Xavier Arteaga
parent 2e59f6a568
commit d0a4b4d409
1 changed files with 4 additions and 2 deletions

View File

@ -266,7 +266,9 @@ int srslte_sch_nr_init_rx(srslte_sch_nr_t* q, const srslte_sch_nr_args_t* args)
#endif // LV_HAVE_AVX2
}
float scaling_factor = isnormal(args->decoder_scaling_factor) ? args->decoder_scaling_factor : 0.75f;
// If the scaling factor is not provided use a default value that allows decoding all possible combinations of nPRB
// and MCS indexes for all possible MCS tables
float scaling_factor = isnormal(args->decoder_scaling_factor) ? args->decoder_scaling_factor : 0.8f;
// Iterate over all possible lifting sizes
for (uint16_t ls = 0; ls <= MAX_LIFTSIZE; ls++) {
@ -673,4 +675,4 @@ int srslte_sch_nr_tb_info(const srslte_sch_tb_t* tb, char* str, uint32_t str_len
}
return len;
}
}