[Ns-developers] WifiRemoteStation::PrepareForQueue

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Jan 27 00:12:56 PST 2009


On Sun, 2009-01-25 at 18:17 +0100, Mirko Banchi wrote:

> i'm implementing 802.11n MSDU aggregation (A-MSDU) in NS-3. For
> aggregated packets, when i should call WifiRemoteStation::PrepareForQueue?
> Is it right to call this function when aggregated packet is ready for
> transmission or it's right to call it just before queuing a packet which
> could be part of a A-MSDU?

If remember correctly, this method should be invoked right after or
before adding a packet in the queue and this has nothing to do with
whether or not you will use aggregation when the packet will be
dequeued.

> When i call EdcaTxopN::Queue, aggregation isn't done yet. It's done when
> access to the channel is notified.

yes, this sounds about right.

Mathieu



More information about the Ns-developers mailing list