nr,gnb,sched: small fixes in sched sib allocation logging

master
Francisco 3 years ago committed by Francisco Paisana
parent aba3ac9ddf
commit 89ca761680

@ -183,7 +183,6 @@ void log_sched_bwp_result(srslog::basic_logger& logger,
"SCHED: SI{}, cc={}, prbs={}, pdsch_slot={}",
pdcch.dci.sii == 0 ? "B" : " message",
res_grid.cfg->cc,
pdcch.dci.ctx.rnti,
srsran::interval<uint32_t>{start_idx, end_idx},
pdcch_slot);
si_count++;
@ -191,9 +190,13 @@ void log_sched_bwp_result(srslog::basic_logger& logger,
}
if (fmtbuf.size() > 0) {
if (pdcch.dci.ctx.rnti_type == srsran_rnti_type_si) {
logger.debug("%s", srsran::to_c_str(fmtbuf));
} else {
logger.info("%s", srsran::to_c_str(fmtbuf));
}
}
}
for (const pdcch_ul_t& pdcch : bwp_slot.dl.phy.pdcch_ul) {
fmt::memory_buffer fmtbuf;
if (pdcch.dci.ctx.rnti_type == srsran_rnti_type_c) {

@ -203,7 +203,7 @@ void si_sched::run_slot(bwp_slot_allocator& bwp_alloc)
si.win_start.clear();
si.n_tx++;
if (si.n == 0) {
logger.debug("SCHED: Allocated SIB1, len=%d.", si.n, si.len_bytes);
logger.debug("SCHED: Allocated SIB1, len=%d.", si.len_bytes);
} else {
logger.debug("SCHED: Allocated SI message idx=%d, len=%d.", si.n, si.len_bytes);
}

Loading…
Cancel
Save