[Ns-bugs] [Bug 555] DCF immediate access bug

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Jun 24 02:44:34 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=555





--- Comment #10 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr>  2009-06-24 05:44:34 EDT ---
(In reply to comment #9)
> (In reply to comment #8)
> > Timo, could you explain what you are trying to test here and why you think that
> > the above is a sequence of events which can happen ?
> 
> Yes, it is true that RequestAccess() is called exactly once for each
> transmission. However it can still happen, that it is called twice at the same
> simulated time point.
> 
> Consider a DcaTxop with two packets Enqueued(), both are put into the queue and
> RequestAccess() is called. When NotifyAccessGranted() is invoked, the first
> packet transmission starts immediately via MacLow. Still in the same procedure
> StartAccessIfNeeded() is called in NotifyAccessGranted() and RequestAccess() is
> signaled for the second packet.
> 
> Thus two RequestAccess() happen the same time, if the medium is idle for the
> first one and transmission can start immediately.
> 

So, if I understand you well, you are saying that, in this case, we bogusly
generate a collision, right ?


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list