From f5658619b887ea9064a2c00e51b834bb307aa5ca Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 7 Jul 2022 17:11:57 +0100 Subject: [PATCH] lib,rlc: ack_sn does not count as a positive or negative acknowledgment. do not stop t-PollRetransmit for it --- lib/src/rlc/rlc_am_nr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/rlc/rlc_am_nr.cc b/lib/src/rlc/rlc_am_nr.cc index da27b2587..7c0c1f2a6 100644 --- a/lib/src/rlc/rlc_am_nr.cc +++ b/lib/src/rlc/rlc_am_nr.cc @@ -810,7 +810,7 @@ void rlc_am_nr_tx::handle_control_pdu(uint8_t* payload, uint32_t nof_bytes) * - if t-PollRetransmit is running: * - stop and reset t-PollRetransmit. */ - if (tx_mod_base_nr(st.poll_sn) <= tx_mod_base_nr(status.ack_sn)) { + if (tx_mod_base_nr(st.poll_sn) < tx_mod_base_nr(status.ack_sn)) { if (poll_retransmit_timer.is_running()) { RlcDebug("Received ACK or NACK for POLL_SN=%d. Stopping t-PollRetransmit", st.poll_sn); poll_retransmit_timer.stop();