From 3ea751c3cbed5bf9a15984770d5c35ff49ca8671 Mon Sep 17 00:00:00 2001 From: luis_pereira87 Date: Tue, 30 Aug 2022 14:37:59 +0100 Subject: [PATCH] Schedule ULSCH in flexible slots in InitialBWP --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c index 1ca9fa067e..f46eb5931e 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c @@ -1360,18 +1360,6 @@ bool nr_fr1_ulsch_preprocessor(module_id_t module_id, frame_t frame, sub_frame_t if (!is_xlsch_in_slot(nr_mac->ulsch_slot_bitmap[sched_slot / 64], sched_slot)) return false; - bool is_mixed_slot = false; - const NR_TDD_UL_DL_Pattern_t *tdd = - scc->tdd_UL_DL_ConfigurationCommon ? &scc->tdd_UL_DL_ConfigurationCommon->pattern1 : NULL; - - if (tdd) - is_mixed_slot = is_xlsch_in_slot(nr_mac->dlsch_slot_bitmap[sched_slot / 64], sched_slot) && - is_xlsch_in_slot(nr_mac->ulsch_slot_bitmap[sched_slot / 64], sched_slot); - - // FIXME: Avoid mixed slots for initialUplinkBWP - if (current_BWP->bwp_id==0 && is_mixed_slot) - return false; - // Avoid slots with the SRS UE_iterator(nr_mac->UE_info.list, UE) { NR_sched_srs_t sched_srs = UE->UE_sched_ctrl.sched_srs;