bug 389: Beacon is sent after DIFS+Backoff instead of PIFS
authorKirill V. Andreev <kirillano@yandex.ru>
Thu, 23 Oct 2008 21:27:28 +0200
changeset 3777 e676513eacbd
parent 3776 362d7e1c12a6
child 3778 78c4c41557f3
bug 389: Beacon is sent after DIFS+Backoff instead of PIFS
src/devices/wifi/nqap-wifi-mac.cc
--- a/src/devices/wifi/nqap-wifi-mac.cc	Thu Oct 23 11:51:15 2008 -0700
+++ b/src/devices/wifi/nqap-wifi-mac.cc	Thu Oct 23 21:27:28 2008 +0200
@@ -76,6 +76,9 @@
   m_dca->SetTxFailedCallback (MakeCallback (&NqapWifiMac::TxFailed, this));
 
   m_beaconDca = CreateObject<DcaTxop> ();
+  m_beaconDca->SetAifsn(1);
+  m_beaconDca->SetMinCw(0);
+  m_beaconDca->SetMaxCw(0);
   m_beaconDca->SetLow (m_low);
   m_beaconDca->SetManager (m_dcfManager);
 }