From c0546b86344f8cc5604329d05d84db6f3be2b159 Mon Sep 17 00:00:00 2001 From: Robert Falkenberg Date: Fri, 22 Apr 2022 13:22:46 +0200 Subject: [PATCH] lib,rlc_am_nr: increase verbosity on invalid ACK --- lib/src/rlc/rlc_am_nr.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/rlc/rlc_am_nr.cc b/lib/src/rlc/rlc_am_nr.cc index bd151af6d..e05ae4cf2 100644 --- a/lib/src/rlc/rlc_am_nr.cc +++ b/lib/src/rlc/rlc_am_nr.cc @@ -768,7 +768,8 @@ void rlc_am_nr_tx::handle_control_pdu(uint8_t* payload, uint32_t nof_bytes) ? status.ack_sn : status.nacks[0].nack_sn; // Stop processing ACKs at the first NACK, if it exists. if (tx_mod_base_nr(stop_sn) > tx_mod_base_nr(st.tx_next)) { - RlcError("Received ACK or NACK larger than TX_NEXT. Ignoring status report"); + RlcError("Received ACK or NACK with SN=%d larger than TX_NEXT=%d. Ignoring status report", stop_sn, st.tx_next); + info_state(); return; } for (uint32_t sn = st.tx_next_ack; tx_mod_base_nr(sn) < tx_mod_base_nr(stop_sn); sn = (sn + 1) % mod_nr) {