Added PDSCH debug trace in slot worker

master
Xavier Arteaga 3 years ago committed by Xavier Arteaga
parent 184f51486e
commit 64885a6741

@ -305,9 +305,16 @@ bool slot_worker::work_dl()
if (logger.info.enabled()) {
std::array<char, 512> str = {};
srsran_gnb_dl_pdsch_info(&gnb_dl, &pdsch.sch, str.data(), (uint32_t)str.size());
if (logger.debug.enabled()) {
std::array<char, 1024> str_extra = {};
srsran_sch_cfg_nr_info(&pdsch.sch, str_extra.data(), (uint32_t)str_extra.size());
logger.info("PDSCH: cc=%d %s tti_tx=%d\n%s", cell_index, str.data(), dl_slot_cfg.idx, str_extra.data());
} else {
logger.info("PDSCH: cc=%d %s tti_tx=%d", cell_index, str.data(), dl_slot_cfg.idx);
}
}
}
// Put NZP-CSI-RS
for (srsran_csi_rs_nzp_resource_t& pdsch : dl_sched.nzp_csi_rs) {

Loading…
Cancel
Save