Thanks Phil, got it. regards, Avinash
On 3/22/07, Philip Levis <[EMAIL PROTECTED]> wrote:
On Mar 22, 2007, at 12:00 PM, Avinash Sridharan wrote: > So this means for a client the send queue size is one and for the > forwarded packets the send QUEUE size is FORWARD_COUNT ? > > Did I get this right ? since whenever a client forwards a packet > unless the previous packet has been sent out it cannot insert its > own packet in any case right ? > I think you're a bit confused; clients don't forward packets, they generate them. FORWARD_COUNT defines the number of forwarding packets a node can have in its queue. That is, packets it received from another node. CLIENT_COUNT defines the number of generated packets it can have in its queue. That is, the number of packets a higher layer has requested to send to a collection point. If a sending client wants a queue deeper than 1, then they can always put their own queue on top of its single entry in the CTP transmission queue. But the forwarding queue allocation discipline means that this client gets at most 1/Nth of the bandwidth. Phil
-- Phd Dept. of Electrical Engineering University of Southern California http://www-scf.usc.edu/~asridhar
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
