gNB->prach_pdu_indication_list[0].symbol_index=prach_pdu->prach_start_symbol;// FIXME to be changed for multi-ssb (this is only the start symbol of first occasion)
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);
LOG_I(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(ra->state==RA_IDLE){
intloop=0;
LOG_D(MAC,"Frame %d, Subframe %d: Activating RA process \n",frameP,slotP);
AssertFatal(ra->state!=RA_IDLE,"RA is not active for RA %X\n",ra->rnti);
LOG_D(MAC,"[gNB %d][RAPROC] Frame %d, Subframe %d : CC_id %d RA is active, Msg3 in (%d,%d)\n",module_idP,frameP,slotP,CC_id,ra->Msg3_frame,ra->Msg3_slot);
//pusch_pdu->tx_direct_current_location;//The uplink Tx Direct Current location for the carrier. Only values in the value range of this field between 0 and 3299, which indicate the subcarrier index within the carrier corresponding 1o the numerology of the corresponding uplink BWP and value 3300, which indicates "Outside the carrier" and value 3301, which indicates "Undetermined position within the carrier" are used. [TS38.331, UplinkTxDirectCurrentBWP IE]
pusch_pdu->uplink_frequency_shift_7p5khz=0;
//Resource Allocation in time domain
pusch_pdu->start_symbol_index=2;
pusch_pdu->nr_of_symbols=12;
pusch_pdu->start_symbol_index=12;
pusch_pdu->nr_of_symbols=2;
//Optional Data only included if indicated in pduBitmap