From b687f58ff0c7b93937c604d759c1116edefdf586 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 15 Nov 2021 14:10:33 +0100 Subject: [PATCH] ue,cc_worker: print coreset info in debug mode --- srsue/src/phy/nr/cc_worker.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/srsue/src/phy/nr/cc_worker.cc b/srsue/src/phy/nr/cc_worker.cc index 8fbcaeb9a..7b1f81663 100644 --- a/srsue/src/phy/nr/cc_worker.cc +++ b/srsue/src/phy/nr/cc_worker.cc @@ -156,6 +156,14 @@ void cc_worker::decode_pdcch_dl() logger.info("PDCCH: cc=%d, %s", cc_idx, str.data()); } + if (logger.debug.enabled()) { + // log coreset info + srsran_coreset_t* coreset = &ue_dl.cfg.coreset[dci_rx[i].ctx.coreset_id]; + std::array coreset_str; + srsran_coreset_to_str(coreset, coreset_str.data(), coreset_str.size()); + logger.info("PDCCH: coreset=%d, %s", cc_idx, coreset_str.data()); + } + // Enqueue UL grants phy.set_dl_pending_grant(cfg, dl_slot_cfg, dci_rx[i]); }