Hi,
In traditional network to use Droptail/Queue i see using 
                $ns duplex-link $n0 $n2 5Mb 2ms DropTail
and i wireless network i see
        set val(chan)           Channel/WirelessChannel    ;# channel type
        set val(prop)           Propagation/TwoRayGround   ;# radio-propagation 
model
        set val(netif)          Phy/WirelessPhy            ;# network interface 
type
        set val(mac)            Mac/802_11                 ;# MAC type
        set val(ifq)            Queue/DropTail/PriQueue    ;# interface queue 
type
        set val(ll)             LL                         ;# link layer type
        set val(ant)            Antenna/OmniAntenna        ;# antenna model
        set val(ifqlen)         50                         ;# max packet in ifq
        set val(nn)             25                         ;# number of 
mobilenodes
        set val(rp)             MANUAL                     ;# routing protocol
        set val(x) 100
        set val(y) 100
when configure node call
        $ns_ node-config -adhocRouting $val(rp) \
                         -llType $val(ll) \
                         -macType $val(mac) \
                         -ifqType $val(ifq) \
                         -ifqLen $val(ifqlen) \
                         -antType $val(ant) \
                         -propType $val(prop) \
                         -phyType $val(netif) \
                         -topoInstance $topo \
                         -agentTrace ON \
                         -routerTrace ON \
                         -macTrace ON \
                         -movementTrace OFF     
        
anything else to user Droptail/Queue in wireless work and how to
calculate bandwidth for wireless network.
Please help me. I need it soon.
Thanks.

Reply via email to