Commit 05138c04 authored by Robert Schmidt's avatar Robert Schmidt

Scheduler: introduce BIT() macro

parent 6f04f8e0
...@@ -359,8 +359,9 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP, ...@@ -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); nr_rrc_trigger(&ctxt, 0 /*CC_id*/, frame, slot >> *scc->ssbSubcarrierSpacing);
} }
const uint64_t dlsch_in_slot_bitmap = (1 << 1) | (1 << 3); #define BIT(x) (1 << (x))
const uint64_t ulsch_in_slot_bitmap = (1 << 8); const uint64_t dlsch_in_slot_bitmap = BIT(1) | BIT(3);
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][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 memset(RC.nrmac[module_idP]->cce_list[bwp_id][1],0,MAX_NUM_CCE*sizeof(int)); // coresetid 1
......
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