AssertFatal(1==0,"unknown prach format %x\n",prachFormat);
break;
}
dftlen=2048>>mu;
}
// Do forward transform
if(LOG_DEBUGFLAG(PRACH)){
LOG_D(PHY,"rx_prach: Doing PRACH FFT for nb_rx:%d Ncp:%d\n",ru->nb_rx,Ncp);
}
// Note: Assumes PUSCH SCS @ 30 kHz, take values for formats 0-2 and adjust for others below
intkbar=1;
intK=24;
if(prach_sequence_length==0&&prachFormat==3){
K=4;
kbar=10;
//actually what we should be checking here is how often the current prach crosses a 0.5ms boundary. I am not quite sure for which paramter set this would be the case, so I will ignore it for now and just check if the prach starts on a 0.5ms boundary
if(fp->numerology_index==0){
if(prachStartSymbol==0||prachStartSymbol==7)
Ncp+=16;
}
elseif(prach_sequence_length==1){
// Note: Assumes that PRACH SCS is same as PUSCH SCS