From b19d39682861d569d0574d86de520a39bf83ba46 Mon Sep 17 00:00:00 2001 From: Roberto Louro Magueta Date: Fri, 9 Jul 2021 11:34:01 +0000 Subject: [PATCH] Revert "Fix is_xlsch_in_slot" This reverts commit 7821a12998df2cbb0c0d348a925f50d005bd87a6 --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c index d9e9b9d8f3..e32e01cc89 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c @@ -341,7 +341,7 @@ void schedule_nr_SRS(module_id_t module_idP, frame_t frameP, sub_frame_t subfram bool is_xlsch_in_slot(uint64_t bitmap, sub_frame_t slot) { if (slot>64) return false; //quickfix for FR2 where there are more than 64 slots (bitmap to be removed) - return (bitmap & (1 << (slot % 64))) != 0; + return (bitmap >> slot) & 0x01; } void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,