Commit 6fa5a6cf authored by Francesco Mani's avatar Francesco Mani

bugfix

parent 03b38ca8
...@@ -219,7 +219,7 @@ void nr_fill_dci(PHY_VARS_gNB *gNB, ...@@ -219,7 +219,7 @@ void nr_fill_dci(PHY_VARS_gNB *gNB,
} }
dlsch = gNB->dlsch[dlsch_id][0]; dlsch = gNB->dlsch[dlsch_id][0];
int num_slots_tdd = (gNB->frame_parms.p_tdd_UL_DL_Configuration->dl_UL_TransmissionPeriodicity/10000) * gNB->frame_parms.slots_per_frame; int num_slots_tdd = (gNB->frame_parms.slots_per_frame)>>(7-gNB->gNB_config.tdd_table.tdd_period.value);
int harq_pid = slot % num_slots_tdd; int harq_pid = slot % num_slots_tdd;
dlsch->slot_tx[slot] = 1; dlsch->slot_tx[slot] = 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