Commenting out RTT increase on NACK. This part should be redesigned!!!
diff --git a/apps/ccnx-consumer-window.cc b/apps/ccnx-consumer-window.cc
index 1dd8369..3d6f515 100644
--- a/apps/ccnx-consumer-window.cc
+++ b/apps/ccnx-consumer-window.cc
@@ -118,6 +118,7 @@
m_seqMax = floor(1.0 + m_maxSize * 1024.0 * 1024.0 / m_payloadSize);
NS_LOG_DEBUG ("MaxSeqNo: " << m_seqMax);
+ // std::cout << "MaxSeqNo: " << m_seqMax << "\n";
}
diff --git a/apps/ccnx-consumer.cc b/apps/ccnx-consumer.cc
index da88121..d9d1ec8 100644
--- a/apps/ccnx-consumer.cc
+++ b/apps/ccnx-consumer.cc
@@ -188,6 +188,8 @@
uint32_t seq=std::numeric_limits<uint32_t>::max (); //invalid
+ // std::cout << Simulator::Now ().ToDouble (Time::S) << "s max -> " << m_seqMax << "\n";
+
while (m_retxSeqs.size ())
{
seq = *m_retxSeqs.begin ();
@@ -319,7 +321,7 @@
m_retxSeqs.insert (seq);
NS_LOG_INFO ("After: " << m_retxSeqs.size ());
- m_rtt->IncreaseMultiplier (); // Double the next RTO ??
+ // m_rtt->IncreaseMultiplier (); // Double the next RTO ??
ScheduleNextPacket ();
}