improve log messages for CA

master
Francisco Paisana 5 years ago
parent 3fde53a6b7
commit d7a0fe4060

@ -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 (ue_cc_idx > 0 and active != cfg->supported_cc_list[ue_cc_idx].active) {
if (dl_cqi_rx) { if (dl_cqi_rx) {
active = cfg->supported_cc_list[ue_cc_idx].active; 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");
} }
} }
} }

@ -995,6 +995,7 @@ int rrc::ue::fill_scell_to_addmod_list(asn1::rrc::rrc_conn_recfg_r8_ies_s* conn_
0) { 0) {
return SRSLTE_SUCCESS; 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); const cell_info_common* pcell_cfg = get_ue_cc_cfg(UE_PCELL_CC_IDX);
if (pcell_cfg->cell_cfg.scell_list.empty()) { if (pcell_cfg->cell_cfg.scell_list.empty()) {

@ -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*/ /* 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->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++) { for (uint32_t i = 1; i < SRSLTE_MAX_CARRIERS; i++) {
bool activated = ((cmd >> i) & 0x1) == 0x1; bool activated = ((cmd >> i) & 0x1) == 0x1;

Loading…
Cancel
Save