ue_dl_nr: debug to print PDCCH received symbols

This commit is contained in:
Andre Puschmann 2021-11-09 20:47:02 +01:00
parent 36a287edd8
commit 279d82aa31
1 changed files with 10 additions and 0 deletions

View File

@ -293,6 +293,16 @@ static int ue_dl_nr_find_dci_ncce(srsran_ue_dl_nr_t* q,
return SRSRAN_ERROR;
}
#if 0
static uint32_t num_pdcch = 0;
char tmpstr[64];
snprintf(tmpstr, 64, "pdcch_symbols%d.dat", num_pdcch);
printf("save %d syms to %s\n", q->pdcch.M / 4, tmpstr);
srsran_vec_save_file(tmpstr, q->pdcch.symbols, q->pdcch.M / 4 * sizeof(cf_t));
// srsran_vec_fprint_c(stdout, q->pdcch.symbols, q->pdcch.M/4);
num_pdcch++;
#endif
// Save information
pdcch_info->result = *pdcch_res;