use the new MacStation::Report*Failed methods.
--- a/src/devices/wifi/dca-txop.cc Wed Dec 12 13:17:04 2007 +0100
+++ b/src/devices/wifi/dca-txop.cc Wed Dec 12 13:36:16 2007 +0100
@@ -431,6 +431,8 @@
m_ctstimeoutTrace (m_ssrc);
if (m_ssrc > Parameters ()->GetMaxSsrc ())
{
+ MacStation *station = m_stations->Lookup (m_currentHdr.GetAddr1 ());
+ station->ReportFinalRtsFailed ();
// to reset the dcf.
m_currentPacket = 0;
m_dcf->ResetCw ();
@@ -476,6 +478,8 @@
m_acktimeoutTrace (m_slrc);
if (m_slrc > Parameters ()->GetMaxSlrc ())
{
+ MacStation *station = m_stations->Lookup (m_currentHdr.GetAddr1 ());
+ station->ReportFinalDataFailed ();
// to reset the dcf.
m_currentPacket = 0;
m_dcf->ResetCw ();