Bug 841 - Multicast transmission breaks with QoS Wifi
authorBruno Ranieri <Yrrsinn@googlemail.com>
Sat, 17 Apr 2010 12:02:53 +0200
changeset 6242 803b7efd0117
parent 6241 d9a65be745f0
child 6243 a597d6d2da85
Bug 841 - Multicast transmission breaks with QoS Wifi
src/devices/wifi/edca-txop-n.cc
src/devices/wifi/qsta-wifi-mac.cc
--- a/src/devices/wifi/edca-txop-n.cc	Sat Apr 17 11:37:15 2010 +0200
+++ b/src/devices/wifi/edca-txop-n.cc	Sat Apr 17 12:02:53 2010 +0200
@@ -362,7 +362,7 @@
     }
   MacLowTransmissionParameters params;
   params.DisableOverrideDurationId ();
-  if (m_currentHdr.GetAddr1 ().IsBroadcast ()) 
+  if (m_currentHdr.GetAddr1 ().IsGroup ()) 
     {
       params.DisableRts ();
       params.DisableAck ();
--- a/src/devices/wifi/qsta-wifi-mac.cc	Sat Apr 17 11:37:15 2010 +0200
+++ b/src/devices/wifi/qsta-wifi-mac.cc	Sat Apr 17 12:02:53 2010 +0200
@@ -569,7 +569,7 @@
   NS_LOG_FUNCTION (this);
   NS_ASSERT (!hdr->IsCtl ());
   if (hdr->GetAddr1 () != GetAddress () &&
-      !hdr->GetAddr1 ().IsBroadcast ())
+      !hdr->GetAddr1 ().IsGroup ())
     {
       NS_LOG_LOGIC ("packet is not for us");
     }