[Ns-bugs] [Bug 555] DCF immediate access bug
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Jun 24 02:34:41 PDT 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=555
--- Comment #9 from TimoB <timo.bingmann at student.kit.edu> 2009-06-24 05:34:41 EDT ---
(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.
--
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