--- 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