[ns] obtaining queuing delay from MAC 802.11 send() function?
shshah@cairo.cs.uiuc.edu
shshah@cairo.cs.uiuc.edu
Mon Apr 8 18:45:03 2002
On Mon, 8 Apr 2002 shshah@cairo.cs.uiuc.edu wrote:
>
> Hi,
>
> I would like to obtain an estimate of queuing delay of a particular flow
> being transmitted over MAC 802.11 from within the MAC 802.11 send
> functions. How should I go about doing this? I tried using ch->timestamp()
> where ch is a pointer to the common header structure, but I'm unable to
> understandly exactly what the common header variable ts_ stores.
Sorry to follow up to my own post, but to further clarify, I want to know
the queuing delay experienced by a packet before it is transmitted using
the 802.11 send() function. I tried using ch->timestamp() for each packet
being sent (since it is indicated in the NS Manual that the variable
ts_ can be used for estimating queuing delay) but I was unable to
interpret exactly what this returns.
Regards,
Samarth.