inet-3.6.4/src/inet/linklayer/ieee80211/mac/contention/Contention.cc
// TODO: we should call it when internal collision occurs after backoff optimization
we should call it when internal collision occurs after backoff optimization
we should call it when internal collision occurs after backoff optimization
void Contention::revokeBackoffOptimization()
{
    scheduledTransmissionTime += backoffOptimizationDelta;
    backoffOptimizationDelta = SIMTIME_ZERO;
    cancelTransmissionRequest();
    computeRemainingBackoffSlots();
    scheduleTransmissionRequest();
}
void Contention :: revokeBackoffOptimization ( ) { scheduledTransmissionTime += backoffOptimizationDelta ; backoffOptimizationDelta = SIMTIME_ZERO ; cancelTransmissionRequest ( ) ; computeRemainingBackoffSlots ( ) ; scheduleTransmissionRequest ( ) ; }
TODO: we should call it when internal collision occurs after backoff optimization
TODO : we should call it when internal collision occurs after backoff optimization