nfapi_uint8_tlv_tnum_root_sequences;//Number of root sequences for a particular FD occasion that are required to generate the necessary number of preambles
nfapi_uint16_tlv_tk1;//Frequency offset (from UL bandwidth part) for each FD. [38.211, sec 6.3.3.2] Value: from 0 to 272
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)
gNB->prach_pdu_indication_list[i].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,"Getting Total PRACH info from index %d absoluteFrequencyPointA %u mu %u frame_type %u start_symbol %u N_t_slot %u N_dur %u N_RA_sfn = %u\n",
LOG_D(MAC,"Getting Total PRACH info from index %d (col %lu ) absoluteFrequencyPointA %u mu %u frame_type %u start_symbol %u N_t_slot %u N_dur %u N_RA_sfn = %u\n",
dl_config_pdu->ssb_pdu.ssb_pdu_rel15.SsbBlockIndex=ssb_index;//SSB index for each SSB
AssertFatal(cc->ServingCellConfigCommon->downlinkConfigCommon!=NULL,"scc->downlinkConfigCommonL is null\n");
AssertFatal(cc->ServingCellConfigCommon->downlinkConfigCommon->frequencyInfoDL!=NULL,"scc->downlinkConfigCommon->frequencyInfoDL is null\n");
AssertFatal(cc->ServingCellConfigCommon->downlinkConfigCommon->frequencyInfoDL->absoluteFrequencySSB!=NULL,"scc->downlinkConfigCommon->frequencyInfoDL->absoluteFrequencySSB is null\n");
dl_config_pdu->ssb_pdu.ssb_pdu_rel15.ssbOffsetPointA=/*cfg->ssb_table.ssb_offset_point_a.value;*/ssb_offset0/(ratio*12)-10;// absoluteFrequencySSB is the center of SSB