//[khalid] missing DCI format should be 10 for 6-1A
dl_config_pdu->mpdcch_pdu.mpdcch_pdu_rel13.resource_block_coding = getRIV(6, 0, 6); // Note: still to be checked if it should not be (getRIV(N_RB_DL,first_rb,6)) : Check nFAPI specifications and what is done L1 with this parameter
dl_config_pdu->mpdcch_pdu.mpdcch_pdu_rel13.mcs = UE_list->UE_template[CC_id][UE_id].oldmcs1[harq_pid]; // adjust according to size of RAR, 208 bits with N1A_PRB=3
dl_config_pdu->mpdcch_pdu.mpdcch_pdu_rel13.pdsch_reptition_levels = 4; // fix to 4 for now
dl_config_pdu->mpdcch_pdu.mpdcch_pdu_rel13.resource_block_coding = getRIV(6, 0, 6); // Note: still to be checked if it should not be (getRIV(N_RB_DL,first_rb,6)) : Check nFAPI specifications and what is done L1 with this parameter
dl_config_pdu->mpdcch_pdu.mpdcch_pdu_rel13.mcs = 4; // adjust according to size of RAR, 208 bits with N1A_PRB=3
dl_config_pdu->mpdcch_pdu.mpdcch_pdu_rel13.pdsch_reptition_levels = 4; // fix to 4 for now
AssertFatal(UE_template->physicalConfigDedicated->ext4->epdcch_Config_r11!=NULL,"UE_template->physicalConfigDedicated->ext4->epdcch_Config_r11 is null\n");
"UE_template->physicalConfigDedicated->ext4 is null\n");
// if there is information on bsr of DCCH, DTCH or if there is UL_SR, or if there is a packet to retransmit, or we want to schedule a periodic feedback every 10 frames
AssertFatal(UE_template->physicalConfigDedicated->ext4->epdcch_Config_r11!=NULL,"UE_template->physicalConfigDedicated->ext4->epdcch_Config_r11 is null\n");
"UE_template->physicalConfigDedicated->ext4 is null\n");
"UE_template->physicalConfigDedicated->ext4->epdcch_Config_r11 is null\n");
T_INT(rnti),
T_INT(frameP),
T_INT(subframeP),
T_INT(harq_pid),
T_INT(UE_template->mcs_UL[harq_pid]),
T_INT(0),
T_INT(6),
T_INT(round_UL));
AssertFatal(UE_template->physicalConfigDedicated!=NULL,"UE_template->physicalConfigDedicated is null\n");
AssertFatal(UE_template->physicalConfigDedicated->ext4!=NULL,"UE_template->physicalConfigDedicated->ext4 is null\n");
AssertFatal(UE_template->physicalConfigDedicated->ext4->epdcch_Config_r11!=NULL,"UE_template->physicalConfigDedicated->ext4->epdcch_Config_r11 is null\n");