[ns] Setting RTS Threshold
Sharath
sharath at iitb.ac.in
Sat May 22 12:07:29 PDT 2004
i have a doubt regarding changing the mac parameters... i wanted to switch
off the rts cts mechanism so i used the command
i used the command
Mac/802_11 set RTSThreshold_ $val(whatever)
so when i set the rts theshold to be 262 and below then it works.. ie if
packetsize is below 262 it doesnt use rts cts...
however if i try to set the rts threshold higher than "262" then the
simulation gives an error after some simulation time... I have appended the
error output...am also attaching my tcl file
[root at Inferno ns-work]# ns sjg.tcl -nn 5 -stoptime 10 -packetsize 500
-rtsthreshold 3000
==================System Parameters ===============================
nn=5 stoptime=10 topology x=70 topology y=70
============Exponential Traffic Gen Parameters=========================
Burst = 0s Delay = 0.5s Packetsize = 500 Send Rate =11e6
====================MAC Parameters========================================
Rate = 11e6 RTS Threshold = 3000
=================================================================
num_nodes is set 5
INITIALIZE THE LIST xListHead
Loading mobile node distribution
Starting Simulation ...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 274.9
SORTING LISTS ...DONE!
Scheduler: Event UID not valid!
thanx in advance
regards
sharath
More information about the Ns-users
mailing list