From d7a0fe4060d584b2ab016ba29da54919665e4686 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Wed, 1 Jul 2020 11:25:48 +0100 Subject: [PATCH] improve log messages for CA --- srsenb/src/stack/mac/scheduler_ue.cc | 2 +- srsenb/src/stack/rrc/rrc_ue.cc | 1 + srsue/src/phy/phy.cc | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/srsenb/src/stack/mac/scheduler_ue.cc b/srsenb/src/stack/mac/scheduler_ue.cc index 8499f8084..5a22e0b7e 100644 --- a/srsenb/src/stack/mac/scheduler_ue.cc +++ b/srsenb/src/stack/mac/scheduler_ue.cc @@ -1326,7 +1326,7 @@ void cc_sched_ue::set_dl_cqi(uint32_t tti_tx_dl, uint32_t dl_cqi_) if (ue_cc_idx > 0 and active != cfg->supported_cc_list[ue_cc_idx].active) { if (dl_cqi_rx) { active = cfg->supported_cc_list[ue_cc_idx].active; - log_h->info("SCell index=%d is now %s\n", ue_cc_idx, active ? "active" : "inactive"); + log_h->info("SCHED: SCell index=%d is now %s\n", ue_cc_idx, active ? "active" : "inactive"); } } } diff --git a/srsenb/src/stack/rrc/rrc_ue.cc b/srsenb/src/stack/rrc/rrc_ue.cc index 22daf1ce6..67175e823 100644 --- a/srsenb/src/stack/rrc/rrc_ue.cc +++ b/srsenb/src/stack/rrc/rrc_ue.cc @@ -995,6 +995,7 @@ int rrc::ue::fill_scell_to_addmod_list(asn1::rrc::rrc_conn_recfg_r8_ies_s* conn_ 0) { return SRSLTE_SUCCESS; } + parent->rrc_log->info("SCells activatived for rnti=0x%x\n", rnti); const cell_info_common* pcell_cfg = get_ue_cc_cfg(UE_PCELL_CC_IDX); if (pcell_cfg->cell_cfg.scell_list.empty()) { diff --git a/srsue/src/phy/phy.cc b/srsue/src/phy/phy.cc index f5e26b85e..695f13ce9 100644 --- a/srsue/src/phy/phy.cc +++ b/srsue/src/phy/phy.cc @@ -269,6 +269,7 @@ void phy::set_activation_deactivation_scell(uint32_t cmd) /* Implements 3GPP 36.321 section 6.1.3.8. Activation/Deactivation MAC Control Element*/ log_h->console("SCELL Activation / Deactivation CMD: %x\n", cmd); + log_h->info("SCELL Activation / Deactivation CMD: %x\n", cmd); for (uint32_t i = 1; i < SRSLTE_MAX_CARRIERS; i++) { bool activated = ((cmd >> i) & 0x1) == 0x1;