@@ -429,10 +437,10 @@ int nr_prs_channel_estimation(uint8_t gNB_id,
{
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;
prs_meas[rxAnt]->snr=snr/(float)num_pilots;
prs_meas[rxAnt]->rsrp=rsrp/(float)num_pilots;
//reset channel pointer
ch_tmp=(int16_t*)ch_tmp_buf;
...
...
@@ -463,9 +471,9 @@ int nr_prs_channel_estimation(uint8_t gNB_id,
// Place PRS channel estimates in FFT shifted format