sched_nr: change wording when logging UE access to unknown RNTI

streamline with RRC logs for same event, facilitate parsing an
accept list entry in KPI analyzer
master
Andre Puschmann 3 years ago
parent 52106be3d5
commit dcf178a8a5

@ -124,7 +124,7 @@ public:
for (ue_event_t& ev : current_slot_ue_events) { for (ue_event_t& ev : current_slot_ue_events) {
auto ue_it = ues.find(ev.rnti); auto ue_it = ues.find(ev.rnti);
if (ue_it == ues.end()) { if (ue_it == ues.end()) {
sched_logger.warning("SCHED: \"%s\" called for inexistent rnti=0x%x.", ev.event_name, ev.rnti); sched_logger.warning("SCHED: \"%s\" called for unknown rnti=0x%x.", ev.event_name, ev.rnti);
ev.rnti = SRSRAN_INVALID_RNTI; ev.rnti = SRSRAN_INVALID_RNTI;
} else if (ue_it->second->has_ca()) { } else if (ue_it->second->has_ca()) {
// events specific to existing UEs with CA // events specific to existing UEs with CA
@ -152,7 +152,7 @@ public:
} }
auto ue_it = ues.find(ev.rnti); auto ue_it = ues.find(ev.rnti);
if (ue_it == ues.end()) { if (ue_it == ues.end()) {
sched_logger.warning("SCHED: \"%s\" called for inexistent rnti=0x%x.", ev.event_name, ev.rnti); sched_logger.warning("SCHED: \"%s\" called for unknown rnti=0x%x.", ev.event_name, ev.rnti);
ev.rnti = SRSRAN_INVALID_RNTI; ev.rnti = SRSRAN_INVALID_RNTI;
} else if (not ue_it->second->has_ca() and ue_it->second->carriers[cc] != nullptr) { } else if (not ue_it->second->has_ca() and ue_it->second->carriers[cc] != nullptr) {
ev.callback(*ue_it->second, evlogger); ev.callback(*ue_it->second, evlogger);
@ -165,7 +165,7 @@ public:
if (ue_it != ues.end() and ue_it->second->carriers[cc] != nullptr) { if (ue_it != ues.end() and ue_it->second->carriers[cc] != nullptr) {
ev.callback(*ue_it->second->carriers[cc], evlogger); ev.callback(*ue_it->second->carriers[cc], evlogger);
} else { } else {
sched_logger.warning("SCHED: \"%s\" called for inexistent rnti=0x%x,cc=%d.", ev.event_name, ev.rnti, ev.cc); sched_logger.warning("SCHED: \"%s\" called for unknown rnti=0x%x,cc=%d.", ev.event_name, ev.rnti, ev.cc);
} }
} }
} }

@ -226,7 +226,7 @@ void ue::new_slot(slot_point pdcch_slot)
slot_ue ue::make_slot_ue(slot_point pdcch_slot, uint32_t cc) slot_ue ue::make_slot_ue(slot_point pdcch_slot, uint32_t cc)
{ {
srsran_assert(carriers[cc] != nullptr, "make_slot_ue() called for inexistent rnti=0x%x,cc=%d", rnti, cc); srsran_assert(carriers[cc] != nullptr, "make_slot_ue() called for unknown rnti=0x%x,cc=%d", rnti, cc);
return slot_ue(*carriers[cc], pdcch_slot); return slot_ue(*carriers[cc], pdcch_slot);
} }

Loading…
Cancel
Save