|
|
|
@ -576,19 +576,19 @@ int srsran_ue_dl_nr_decode_pdsch(srsran_ue_dl_nr_t* q,
|
|
|
|
|
return SRSRAN_SUCCESS;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int srsran_ue_dl_nr_pdsch_info(const srsran_ue_dl_nr_t* q,
|
|
|
|
|
uint32_t srsran_ue_dl_nr_pdsch_info(const srsran_ue_dl_nr_t* q,
|
|
|
|
|
const srsran_sch_cfg_nr_t* cfg,
|
|
|
|
|
const srsran_pdsch_res_nr_t res[SRSRAN_MAX_CODEWORDS],
|
|
|
|
|
char* str,
|
|
|
|
|
uint32_t str_len)
|
|
|
|
|
{
|
|
|
|
|
int len = 0;
|
|
|
|
|
uint32_t len = 0;
|
|
|
|
|
|
|
|
|
|
// Append PDSCH info
|
|
|
|
|
len += srsran_pdsch_nr_rx_info(&q->pdsch, cfg, &cfg->grant, res, &str[len], str_len - len);
|
|
|
|
|
|
|
|
|
|
// Append channel estimator info
|
|
|
|
|
len = srsran_print_check(str, str_len, len, "SNR=%+.1f", q->chest.snr_db);
|
|
|
|
|
len += srsran_csi_meas_info_short(&q->dmrs_pdsch.csi, &str[len], str_len - len);
|
|
|
|
|
|
|
|
|
|
return len;
|
|
|
|
|
}
|
|
|
|
|