Commit 1e00319d authored by Robert Schmidt's avatar Robert Schmidt

Enable more slots in DL (in theory: both TDD periods)

We cannot really enable slots in both TDD periods, because the way we
receive HARQ feedback is not ready and OAI-UE does not seem to support
it.

Note: the slots to "enable" depend on the TDD configuration, so instead
of configuring it statically, we should read it from the configuration
file.
parent 049db2eb
......@@ -359,8 +359,9 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
nr_rrc_trigger(&ctxt, 0 /*CC_id*/, frame, slot >> *scc->ssbSubcarrierSpacing);
}
const uint64_t dlsch_in_slot_bitmap = (1 << 1) | (1 << 2);
const uint64_t ulsch_in_slot_bitmap = (1 << 8);
#define BIT(x) (1 << (x))
const uint64_t dlsch_in_slot_bitmap = BIT(1) | BIT(2) | BIT(3) | BIT(4);
const uint64_t ulsch_in_slot_bitmap = BIT(8);
memset(RC.nrmac[module_idP]->cce_list[bwp_id][0],0,MAX_NUM_CCE*sizeof(int)); // coreset0
memset(RC.nrmac[module_idP]->cce_list[bwp_id][1],0,MAX_NUM_CCE*sizeof(int)); // coresetid 1
......@@ -420,7 +421,7 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
}
// This schedules the DCI for Downlink and PDSCH
if (is_xlsch_in_slot(dlsch_in_slot_bitmap, slot) && slot < 10)
if (is_xlsch_in_slot(dlsch_in_slot_bitmap, slot))
nr_schedule_ue_spec(module_idP, frame, slot);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment