src/devices/wifi/mac-low.cc
changeset 4263 fec2f830d015
parent 4079 210d64d11998
child 4264 9d2e96c4e6e4
--- a/src/devices/wifi/mac-low.cc	Wed Feb 25 12:27:00 2009 -0500
+++ b/src/devices/wifi/mac-low.cc	Sat Feb 28 16:25:24 2009 -0800
@@ -840,6 +840,10 @@
    */
   Time txDuration = m_phy->CalculateTxDuration (packet->GetSize (), txMode, WIFI_PREAMBLE_LONG);
   Simulator::Schedule (txDuration, &MacLow::NotifyNav, this, *hdr, txMode, WIFI_PREAMBLE_LONG);
+  /*
+   * Tell the phy when we expect the packet has completely been sent -- for tracing
+   */
+  Simulator::Schedule (txDuration, &WifiPhy::SendDone, m_phy, packet);
 }
 
 void