From d6ae2a3e6fd7a1e971645589fc6bce2c50ec5edc Mon Sep 17 00:00:00 2001 From: Manuel Requena Date: Wed, 12 Dec 2012 10:45:49 +0100 Subject: [PATCH] Reset statusPduRequested flag --- src/lte/model/lte-rlc-am.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lte/model/lte-rlc-am.cc b/src/lte/model/lte-rlc-am.cc index 9024d0df1..3e06be773 100644 --- a/src/lte/model/lte-rlc-am.cc +++ b/src/lte/model/lte-rlc-am.cc @@ -172,7 +172,7 @@ void LteRlcAm::DoNotifyTxOpportunity (uint32_t bytes, uint8_t layer, uint8_t harqId) { NS_LOG_FUNCTION (this << m_rnti << (uint32_t) m_lcid << bytes); - + if (bytes <= 2) { // Stingy MAC: Header fix part is 2 bytes, we need more bytes for the data @@ -201,6 +201,9 @@ LteRlcAm::DoNotifyTxOpportunity (uint32_t bytes, uint8_t layer, uint8_t harqId) params.harqProcessId = harqId; m_macSapProvider->TransmitPdu (params); + + m_statusPduRequested = false; + m_statusPduBufferSize = 0; return; } else if ( m_retxBufferSize > 0 ) @@ -1513,6 +1516,7 @@ LteRlcAm::ReassembleAndDeliver (Ptr packet) void LteRlcAm::ExpireReorderingTimer (void) { + NS_LOG_FUNCTION (this); NS_LOG_LOGIC ("Reordering Timer has expired"); // 5.1.3.2.4 Actions when t-Reordering expires @@ -1549,8 +1553,10 @@ LteRlcAm::ExpireReorderingTimer (void) void LteRlcAm::ExpirePollRetransmitTimer (void) { + NS_LOG_FUNCTION (this); NS_LOG_LOGIC ("PollRetransmit Timer has expired"); - NS_LOG_LOGIC ("TODO To Check"); + + }