should set retry bit in rts and acks.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon, 08 Sep 2008 14:39:59 -0700
changeset 3659 653395340b5c
parent 3658 f44b66348690
child 3660 0ae474317c28
should set retry bit in rts and acks.
src/devices/wifi/mac-low.cc
--- a/src/devices/wifi/mac-low.cc	Mon Sep 08 14:37:54 2008 -0700
+++ b/src/devices/wifi/mac-low.cc	Mon Sep 08 14:39:59 2008 -0700
@@ -917,6 +917,7 @@
   rts.SetType (WIFI_MAC_CTL_RTS);
   rts.SetDsNotFrom ();
   rts.SetDsNotTo ();
+  rts.SetNoRetry ();
   rts.SetNoMoreFragments ();
   rts.SetAddr1 (m_currentHdr.GetAddr1 ());
   rts.SetAddr2 (m_self);
@@ -1064,6 +1065,7 @@
   cts.SetDsNotFrom ();
   cts.SetDsNotTo ();
   cts.SetNoMoreFragments ();
+  cts.SetNoRetry ();
   cts.SetAddr1 (source);
   duration -= GetCtsDuration (source, rtsTxMode);
   duration -= GetSifs ();