[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] priority queues for wireless node ?



Hello,

Can someone please tell me if this is possible in NS? 

I have a wireless node sending 4 different prioirty packet flow to
the same destination node via an intermediate base station.
I like the packets to be served according to their priority. [eg. 
if  packets of priority 0 and priority 1 arrives at the base station 
simultaneously, I want the base station to send priority 0 packet
first before it sends out prioity 1 packet].  

According to chapter 16: Mobile Networking in NS, there's an IFQ 
between LL and MAC.  As packets are handed down from LL, can IFQ
distinguish the different prioity packets, insert each priority packets
in
a differnt queue, and then send the packets out accordingly? [all
priority 0
packet in queue #0 will be emptied before all priority 1 packet in queue
#1,
and all priority 1 packet in queue #1 will be emptied before all
priority 2 packet
in queue #2, and so on]

I saw a similar problem with wired node posted in
 http://www.isi.edu/nsnam/archive/ns-users/webarch/current/msg00776.html
but the link to the solution:
http://www.cin.ufpe.br/~cak/ns/cbq_example.tcl
is not found. 

Any pointers/advice is greatly appreciated!

Thank you.

-Susan