--- In [email protected], Ravi Mishra <ravics...@...> wrote: > > else if ((congInd->congestionStatus == > delay_build_up_AIS_IEsAIS_TnlCongestionStatus) || (congInd->congestionStatus > == frame_loss_AIS_IEsAIS_TnlCongestionStatus)) > { > > if(mac->congestionCounter[congInd->macDflow] < > mac->stepsOfCongestionCounter) > { > if(mac->congestionCounter[congInd->macDflow] >0) > if(mac->congestionTimerInstance[congInd->macDflow]){ > timerStopInst > (mac->congestionTimerInstance[congInd->macDflow]); > > mac->congestionTimerInstance[congInd->macDflow]=NULL; > } > > mac->congestionCounter[congInd->macDflow] += 1 ; > >
Add the following here: assert(!mac->congestionTimerInstance[congInd->macDflow]); If that goes off, then it proves my suspicion - you are losing timers in the following statement: > mac->congestionTimerInstance[congInd->macDflow]=timerStartInst_ms (vtask, > MAC_CONG_CTRL,mac->congestionTimerDuration, (void*)congInd->macDflow);
