the NAV should be updated only when the packet is _not_ addressed to us. (see section 9.2.5.4)
--- a/src/devices/wifi/mac-low.cc Wed Feb 20 19:40:36 2008 +0100
+++ b/src/devices/wifi/mac-low.cc Fri Feb 22 23:16:51 2008 +0100
@@ -687,7 +687,7 @@
}
// XXX Note that we should also handle CF_END specially here
// but we don't for now because we do not generate them.
- else if (hdr.GetAddr1 () == m_device->GetSelfAddress ())
+ else if (hdr.GetAddr1 () != m_device->GetSelfAddress ())
{
// see section 9.2.5.4 802.11-1999
bool navUpdated = DoNavStartNow (duration);