AssertFatal((prs_cfg->CombSize==2)||(prs_cfg->CombSize==4),"[%s] DL PRS CombSize other than 2 and 4 are NOT supported currently. Exiting!!!",__FUNCTION__);
AssertFatal((prs_cfg->CombSize==2)||(prs_cfg->CombSize==4),"[%s] DL PRS CombSize other than 2 and 4 are NOT supported currently. Exiting!!!",__FUNCTION__);
}
}
// average out the SNR and RSRP computed
prs_meas[rxAnt]->snr=snr/(float)num_pilots;
prs_meas[rxAnt]->rsrp=rsrp/(float)num_pilots;
//reset channel pointer
//reset channel pointer
ch_tmp=(int16_t*)ch_tmp_buf;
ch_tmp=(int16_t*)ch_tmp_buf;
...
@@ -451,12 +462,10 @@ int nr_prs_channel_estimation(uint8_t gNB_id,
...
@@ -451,12 +462,10 @@ int nr_prs_channel_estimation(uint8_t gNB_id,
#endif
#endif
// Place PRS channel estimates in FFT shifted format
// Place PRS channel estimates in FFT shifted format