[ns] queuing of packets
mobnets at yahoo.com
Wed Feb 25 09:48:57 PST 2004
Thanks for your response but there is one more thing
I want to know. When a node is sleeping, MAC is not
available for packet transmission and hence any packet
that is intended for transmission during this period
is supposed to be queued. But in mac-802_11.cc, the
"send" function has a comment that says
/* drop the packet if the node is in sleep mode
XXX sleep mode can't stop node from sending packets
are we not suppsed to queue the packet instead of
--- Bryan Hogan <bryan at csn.ul.ie> wrote:
> Scheduler::instance().schedule(ll, p, 0.0);
> or similar calls add packets to the queue.
> as for a "specific answer" to "who calls this
> function, from where and
> under what conditions" you'll have to read
> dsragent.cc to see the various condition under which
> a packet is queued.
> Bryan's NS2 DSR FAQ
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
More information about the Ns-users