From 79a655d47e8a3c8bd35d64e5bcfb553d3df58310 Mon Sep 17 00:00:00 2001 From: cig Date: Mon, 15 Jun 2020 16:26:42 +0200 Subject: [PATCH] Use MCS 9 for Msg2 to avoid issues with the LDPC decoder - LDPC decoder does not support lower MCS, therefore MCS 9 has been selected for the Msg2 configuration. - This is done only in do-ra mode, in order to prevent any fallout on the current the configuration used for the operation with the commercial UE --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c index 6ce72059fd..30b3456add 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c @@ -590,7 +590,11 @@ void nr_generate_Msg2(module_id_t module_idP, LOG_D(MAC, "[RAPROC] Scheduling common search space DCI type 1 dlBWP BW %d\n", dci10_bw); - mcsIndex = 0; // Qm>2 not allowed for RAR + // Qm>2 not allowed for RAR + if (get_softmodem_params()->do_ra) + mcsIndex = 9; + else + mcsIndex = 0; pdsch_pdu_rel15->pduBitmap = 0; pdsch_pdu_rel15->rnti = RA_rnti;