From 143a2f87a7da5bce7f1106c0bd69a88a0757322d Mon Sep 17 00:00:00 2001 From: francescomani Date: Fri, 21 Nov 2025 18:18:36 +0100 Subject: [PATCH] fix in ld condition in DMRS function --- openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c b/openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c index b932d80e6f..5f38693218 100644 --- a/openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c +++ b/openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c @@ -3217,7 +3217,7 @@ int16_t fill_dmrs_mask(const NR_PDSCH_Config_t *pdsch_Config, // For TypeB, ld is the duration of the scheduled PDSCH resources int ld = (mappingtype == typeA) ? (NrOfSymbols + startSymbol) : NrOfSymbols; - AssertFatal(ld > 2 && ld < 15,"Illegal NrOfSymbols according to Table 5.1.2.1-1 Spec 38.214 %d\n",ld); + AssertFatal(ld > 1 && ld < 15,"Illegal NrOfSymbols according to Table 5.1.2.1-1 Spec 38.214 %d\n",ld); AssertFatal((NrOfSymbols + startSymbol) < 15,"Illegal S+L according to Table 5.1.2.1-1 Spec 38.214 S:%d L:%d\n",startSymbol, NrOfSymbols); if (mappingtype == typeA) {