@@ -416,6 +420,7 @@ int nr_prs_channel_estimation(uint8_t gNB_id,
...
@@ -416,6 +420,7 @@ int nr_prs_channel_estimation(uint8_t gNB_id,
&ch_pwr);
&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));
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));
sprintf(payload,"[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 measurements
prs_meas[rxAnt][l].gNB_id=0;
prs_meas[rxAnt][l].gNB_id=0;
prs_meas[rxAnt][l].timestamp=0;
prs_meas[rxAnt][l].timestamp=0;
...
@@ -425,6 +430,17 @@ int nr_prs_channel_estimation(uint8_t gNB_id,
...
@@ -425,6 +430,17 @@ int nr_prs_channel_estimation(uint8_t gNB_id,