[Ns-bugs] [Bug 556] DcfManager does not handle AckTimeout properly when there are multiple queues

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon Jun 8 04:39:23 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=556


Mathieu Lacage <mathieu.lacage at sophia.inria.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #18 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr>  2009-06-08 07:39:23 EDT ---
changeset b2654e0f071d

The patch I finally pushed gets rid of the GetTimeStep calls and, instead,
modifies wifi-mac.cc: the problem was simply that all these values were
expected to be rounded to microseconds

diff -r 3135a5c24358 -r b2654e0f071d src/devices/wifi/wifi-mac.cc
--- a/src/devices/wifi/wifi-mac.cc      Mon Jun 08 09:43:47 2009 +0200
+++ b/src/devices/wifi/wifi-mac.cc      Mon Jun 08 13:37:30 2009 +0200
@@ -63,7 +63,7 @@
   */
   Time ctsTimeout = GetDefaultSifs ();
   ctsTimeout += GetDefaultCtsAckDelay ();
-  ctsTimeout += GetDefaultMaxPropagationDelay () * Scalar (2);
+  ctsTimeout += MicroSeconds (GetDefaultMaxPropagationDelay ().GetMicroSeconds
() * 2);
   ctsTimeout += GetDefaultSlot ();
   return ctsTimeout;
 }


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list