LOG_I(PHY,"[gNB %d][Rx %d] TDoA for PRS symbol %2d ==> %d / %d samples, peak channel power %.1f dB\n",gNB_id,rxAnt,l,tdoa[l]-(frame_params->ofdm_symbol_size>>1),frame_params->ofdm_symbol_size,10*log10(ch_pwr[l]));
&prs_meas[rxAnt][l].dl_toa,
&ch_pwr);
LOG_I(PHY,"[gNB %d][Rx %d][sfn %d][slot %d] ToA for PRS symbol %2d ==> %d / %d samples, peak channel power %.1f dB\n",gNB_id,rxAnt,proc->frame_rx,proc->nr_slot_rx,l,prs_meas[rxAnt][l].dl_toa-(frame_params->ofdm_symbol_size>>1),frame_params->ofdm_symbol_size,10*log10(ch_pwr));
//prs measurements
prs_meas[rxAnt][l].gNB_id=0;
prs_meas[rxAnt][l].timestamp=0;
prs_meas[rxAnt][l].sfn=proc->frame_rx;
prs_meas[rxAnt][l].slot=proc->nr_slot_rx;
prs_meas[rxAnt][l].symbol=l;
prs_meas[rxAnt][l].rxAnt_idx=rxAnt;
prs_meas[rxAnt][l].snr=0;
prs_meas[rxAnt][l].dl_aoa=0;
}// for rxAnt
}//for l
...
...
@@ -436,6 +445,10 @@ int nr_prs_channel_estimation(uint8_t gNB_id,