enb/ue: turn various warning messages into info

turn events that may happen in the normal life of a eNB/UE
into info rather than warning to allow strict
warning/error checking in tests.
master
Codebot 4 years ago committed by Andre Puschmann
parent eea6f0f11b
commit 43082e8d6a

@ -120,7 +120,7 @@ void pdcp::add_bearer(uint32_t lcid, pdcp_config_t cfg)
valid_lcids_cached.insert(lcid);
}
} else {
pdcp_log->warning("Bearer %s already configured. Reconfiguration not supported\n", rrc->get_rb_name(lcid).c_str());
pdcp_log->info("Bearer %s already configured.\n", rrc->get_rb_name(lcid).c_str());
}
}

@ -74,8 +74,7 @@ void rrc::ue::activity_timer_expired()
{
if (parent) {
if (parent->rrc_log) {
parent->rrc_log->warning(
"Activity timer for rnti=0x%x expired after %d ms\n", rnti, activity_timer.time_elapsed());
parent->rrc_log->info("Activity timer for rnti=0x%x expired after %d ms\n", rnti, activity_timer.time_elapsed());
}
if (parent->s1ap->user_exists(rnti)) {

@ -291,7 +291,7 @@ void dl_harq_entity::dl_harq_process::dl_tb_process::new_grant_dl(mac_interface_
action->tb[tid].rv = cur_grant.tb[tid].rv;
action->tb[tid].softbuffer.rx = &softbuffer;
} else {
Warning("DL PID %d: Received duplicate TB%d. Discarding and retransmitting ACK (n_retx=%d, reset=%s)\n",
Info("DL PID %d: Received duplicate TB%d. Discarding and retransmitting ACK (n_retx=%d, reset=%s)\n",
pid,
tid,
n_retx,

@ -614,14 +614,14 @@ void rrc::radio_link_failure_process()
if (state == RRC_STATE_CONNECTED) {
if (security_is_activated) {
rrc_log->warning("Detected Radio-Link Failure with active AS security. Starting ConnectionReestablishment...\n");
rrc_log->info("Detected Radio-Link Failure with active AS security. Starting ConnectionReestablishment...\n");
start_con_restablishment(reest_cause_e::other_fail);
} else {
rrc_log->warning("Detected Radio-Link Failure with AS security deactivated. Going to IDLE...\n");
rrc_log->info("Detected Radio-Link Failure with AS security deactivated. Going to IDLE...\n");
start_go_idle();
}
} else {
rrc_log->warning("Detected Radio-Link Failure while RRC_IDLE. Ignoring it.\n");
rrc_log->info("Detected Radio-Link Failure while RRC_IDLE. Ignoring it.\n");
}
}

Loading…
Cancel
Save