Hi All,
I am reading the Mac802_11 code of NS2.31 and got confused when I saw 
DeferTimer is used to defer for DIFS+CW and the same with BackoffTimer. I think 
there maybe some bug to use one timer to do two jobs(defer and backoff) as I 
have already post a message 
inhttp://mailman.isi.edu/pipermail/ns-users/2007-July/060761.html.
I wonder why not to use two separated timers in sequence?
i.e. instead of calling
*mhBackoff_.start(cw_, is_idle(), phymib_.getDIFS());
*mhDefer_.start(phymib_.getDIFS() + rTime);
Why not just call *mhBackoff_.start(cw_, is_idle(), 0)after calling 
*mhDefer_.start(phymib_.getDIFS())?
 
Best regards,
HuangWei

Reply via email to