From d0a4b4d4090107137365920f05c8b4e0cdecd9b8 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Tue, 22 Dec 2020 15:42:34 +0100 Subject: [PATCH] Changed DL-SCH LDPC scaling factor for decoding high rates --- lib/src/phy/phch/sch_nr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/phy/phch/sch_nr.c b/lib/src/phy/phch/sch_nr.c index 3be09cb6f..848edb3c5 100644 --- a/lib/src/phy/phch/sch_nr.c +++ b/lib/src/phy/phch/sch_nr.c @@ -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; -} \ No newline at end of file +}