This commit is contained in:
Jaume Nin
2011-11-30 11:21:01 +01:00
2 changed files with 16 additions and 6 deletions

View File

@@ -222,6 +222,7 @@ LteRlcSm::DoNotifyTxOpportunity (uint32_t bytes)
m_txPdu(m_rnti, m_lcid, bytes);
m_macSapProvider->TransmitPdu (params);
ReportBufferStatus ();
}
void
@@ -232,17 +233,23 @@ LteRlcSm::DoNotifyHarqDeliveryFailure ()
void
LteRlcSm::Start ()
{
NS_LOG_FUNCTION (this);
ReportBufferStatus ();
}
void
LteRlcSm::ReportBufferStatus ()
{
NS_LOG_FUNCTION (this);
LteMacSapProvider::ReportBufferStatusParameters p;
p.rnti = m_rnti;
p.lcid = m_lcid;
p.txQueueSize = 1000000000;
p.txQueueHolDelay = 10000;
p.retxQueueSize = 1000000000;
p.retxQueueHolDelay = 10000;
p.statusPduSize = 1000;
p.txQueueSize = 80000;
p.txQueueHolDelay = 10;
p.retxQueueSize = 0;
p.retxQueueHolDelay = 0;
p.statusPduSize = 0;
m_macSapProvider->ReportBufferStatus (p);
}

View File

@@ -156,6 +156,9 @@ public:
void Start ();
private:
void ReportBufferStatus ();
};