|
1159 |
void |
1159 |
void |
1160 |
MacLow::NavCounterResetCtsMissed (Time rtsEndRxTime) |
1160 |
MacLow::NavCounterResetCtsMissed (Time rtsEndRxTime) |
1161 |
{ |
1161 |
{ |
1162 |
if (m_phy->GetLastRxStartTime () > rtsEndRxTime) |
1162 |
if (m_phy->GetLastRxStartTime () < rtsEndRxTime) |
1163 |
{ |
1163 |
{ |
1164 |
DoNavResetNow (Seconds (0.0)); |
1164 |
DoNavResetNow (Seconds (0.0)); |
1165 |
} |
1165 |
} |
|
1173 |
(*i)->NavReset (duration); |
1173 |
(*i)->NavReset (duration); |
1174 |
} |
1174 |
} |
1175 |
m_lastNavStart = Simulator::Now (); |
1175 |
m_lastNavStart = Simulator::Now (); |
1176 |
m_lastNavStart = duration; |
1176 |
m_lastNavDuration = duration; |
1177 |
} |
1177 |
} |
1178 |
bool |
1178 |
bool |
1179 |
MacLow::DoNavStartNow (Time duration) |
1179 |
MacLow::DoNavStartNow (Time duration) |