Commit ae8c8cf5 authored by ChiehChun's avatar ChiehChun

Check slot is DL slot to pre-schedule UL data

parent 2a70fcea
...@@ -685,6 +685,10 @@ void nr_schedule_ulsch(module_id_t module_id, ...@@ -685,6 +685,10 @@ void nr_schedule_ulsch(module_id_t module_id,
int num_slots_per_tdd, int num_slots_per_tdd,
int ul_slots, int ul_slots,
uint64_t ulsch_in_slot_bitmap) { uint64_t ulsch_in_slot_bitmap) {
if (is_xlsch_in_slot(ulsch_in_slot_bitmap, slot % num_slots_per_tdd)) {
LOG_D(MAC, "Current slot %d is NOT DL slot, cannot schedule DCI0 for UL data\n", slot);
return;
}
RC.nrmac[module_id]->pre_processor_ul( RC.nrmac[module_id]->pre_processor_ul(
module_id, frame, slot, num_slots_per_tdd, ulsch_in_slot_bitmap); module_id, frame, slot, num_slots_per_tdd, ulsch_in_slot_bitmap);
......
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