asserting if the otherSIB slot is not downlink
This commit is contained in:
@@ -708,6 +708,9 @@ static void other_sib_sched_control(module_id_t module_idP,
|
|||||||
int payload_idx)
|
int payload_idx)
|
||||||
{
|
{
|
||||||
gNB_MAC_INST *gNB_mac = RC.nrmac[module_idP];
|
gNB_MAC_INST *gNB_mac = RC.nrmac[module_idP];
|
||||||
|
AssertFatal(is_dl_slot(slot, &gNB_mac->frame_structure),
|
||||||
|
"Trying to schedule otherSIB in slot %d which is not DL. Wrong Configuration\n",
|
||||||
|
slot);
|
||||||
NR_ServingCellConfigCommon_t *scc = gNB_mac->common_channels[0].ServingCellConfigCommon;
|
NR_ServingCellConfigCommon_t *scc = gNB_mac->common_channels[0].ServingCellConfigCommon;
|
||||||
int n_slots_frame = gNB_mac->frame_structure.numb_slots_frame;
|
int n_slots_frame = gNB_mac->frame_structure.numb_slots_frame;
|
||||||
NR_beam_alloc_t beam = beam_allocation_procedure(&gNB_mac->beam_info, frame, slot, beam_index, n_slots_frame);
|
NR_beam_alloc_t beam = beam_allocation_procedure(&gNB_mac->beam_info, frame, slot, beam_index, n_slots_frame);
|
||||||
|
|||||||
Reference in New Issue
Block a user