LOG_I(PHY,"[UE %d] AbsoluteSubFrame %d.%d, received (rar) timing_advance %d\n",ue->Mod_id,proc->frame_rx, proc->nr_tti_rx, ue->timing_advance);
#endif
*/
// TBR todo handle TA application as per ch 4.2 TS 38.213
LOG_D(PHY,"[UE %d] Frame %d Slot %d, Received (RAR) timing advance command %d new value is %u \n",ue->Mod_id,proc->frame_rx,proc->nr_tti_rx,ta_command,ue->timing_advance);
// ue->prach_resources[eNB_id]->ra_PreambleIndex, dlsch0->harq_processes[0]->b); // alter the 'b' buffer so it contains only the selected RAR header and RAR payload
LOG_D(PHY,"[UE %d][RAPROC] Frame %d subframe %d Invoking MAC for RAR (current preamble %d)\n",module_id,frame_rx,nr_tti_rx,prach_resources->ra_PreambleIndex);
LOG_D(MAC,"[gNB %d][RAPROC] CC_id %d Frame %d, Subframe %d Initiating RA procedure for preamble index %d\n",module_idP,CC_id,frameP,slotP,preamble_index);
/*#if (RRC_VERSION >= MAKE_VERSION(13, 0, 0))
if (prach_ParametersListCE_r13 && prach_ParametersListCE_r13->list.count < rach_resource_type) {
LOG_E(MAC,"[gNB %d][RAPROC] CC_id %d Received impossible PRACH resource type %d,