diff --git a/srsue/src/stack/mac_nr/dl_harq_nr.cc b/srsue/src/stack/mac_nr/dl_harq_nr.cc index c0466aaea..14a99b9a6 100644 --- a/srsue/src/stack/mac_nr/dl_harq_nr.cc +++ b/srsue/src/stack/mac_nr/dl_harq_nr.cc @@ -77,7 +77,7 @@ void dl_harq_entity_nr::new_grant_dl(const mac_nr_grant_dl_t& grant, mac_interfa proc_ptr = &bcch_proc; } else { if (grant.pid >= cfg.nof_procs) { - logger.error("Invalid PID: %d", grant.pid); + logger.error("Grant for invalid HARQ PID=%d", grant.pid); return; } proc_ptr = harq_procs.at(grant.pid).get(); @@ -105,7 +105,7 @@ void dl_harq_entity_nr::tb_decoded(const mac_nr_grant_dl_t& grant, mac_interface bcch_proc.tb_decoded(grant, std::move(result)); } else { if (grant.pid >= cfg.nof_procs) { - logger.error("Invalid PID: %d", grant.pid); + logger.error("Decoded TB for invalid HARQ PID=%d", grant.pid); return; } harq_procs.at(grant.pid)->tb_decoded(grant, std::move(result)); diff --git a/srsue/src/stack/mac_nr/ul_harq_nr.cc b/srsue/src/stack/mac_nr/ul_harq_nr.cc index 8a20da657..fd3f090bb 100644 --- a/srsue/src/stack/mac_nr/ul_harq_nr.cc +++ b/srsue/src/stack/mac_nr/ul_harq_nr.cc @@ -60,7 +60,7 @@ void ul_harq_entity_nr::new_grant_ul(const mac_interface_phy_nr::mac_nr_grant_ul mac_interface_phy_nr::tb_action_ul_t* action) { if (grant.pid >= harq_procs.size()) { - logger.error("Invalid PID: %d", grant.pid); + logger.error("UL grant for invalid HARQ PID=%d", grant.pid); return; } @@ -99,7 +99,7 @@ void ul_harq_entity_nr::new_grant_ul(const mac_interface_phy_nr::mac_nr_grant_ul int ul_harq_entity_nr::get_current_tbs(uint32_t pid) { if (pid >= harq_procs.size()) { - logger.error("Invalid PID: %d", pid); + logger.error("Invalid HARQ PID=%d", pid); return 0; } return harq_procs.at(pid).get_current_tbs();