improve log messages for CA

This commit is contained in:
Francisco Paisana 2020-07-01 11:25:48 +01:00
parent 3fde53a6b7
commit d7a0fe4060
3 changed files with 3 additions and 1 deletions

View File

@ -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");
}
}
}

View File

@ -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()) {

View File

@ -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;