From 9b48ec2c9c90fc90e32d8bea5724c8bd03bd9055 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Mon, 8 Sep 2008 14:39:59 -0700 Subject: [PATCH] should set retry bit in rts and acks. --- src/devices/wifi/mac-low.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/devices/wifi/mac-low.cc b/src/devices/wifi/mac-low.cc index 27cf1b633..35eeb6636 100644 --- a/src/devices/wifi/mac-low.cc +++ b/src/devices/wifi/mac-low.cc @@ -917,6 +917,7 @@ MacLow::SendRtsForPacket (void) 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 @@ MacLow::SendCtsAfterRts (Mac48Address source, Time duration, WifiMode rtsTxMode, cts.SetDsNotFrom (); cts.SetDsNotTo (); cts.SetNoMoreFragments (); + cts.SetNoRetry (); cts.SetAddr1 (source); duration -= GetCtsDuration (source, rtsTxMode); duration -= GetSifs ();