nr,phy,gnb: enable PUSCH debug logging

master
Francisco 3 years ago committed by Francisco Paisana
parent 1b595b6eff
commit 2b41efaa23

@ -238,9 +238,15 @@ bool slot_worker::work_ul()
std::array<char, 512> str;
srsran_gnb_ul_pusch_info(&gnb_ul, &pusch.sch, &pusch_info.pusch_data, str.data(), (uint32_t)str.size());
if (logger.debug.enabled()) {
std::array<char, 2048> str_extra;
srsran_sch_cfg_nr_info(&pusch.sch, str_extra.data(), (uint32_t)str_extra.size());
logger.info("PUSCH: %s\n%s", str.data(), str_extra.data());
} else {
logger.info("PUSCH: %s", str.data());
}
}
}
return true;
}

Loading…
Cancel
Save