[ns] setting for different parameters

Muhammad Azam Akram thisisazam at yahoo.com
Fri Feb 2 05:53:12 PST 2007


Hi
I am working on wireless ad hoc networks. I am setting total bandwidth = 11 Mbps and application is generating packets at rate of 1.6384 Mbps. But most of the packets are droping because node is not transmitting packets at required rate, infect it is sending packets only at 0.8 Mbps, even if application send packets at rate of more than 1.6384 Mbps. It is working fine with rate below than 0.8 Mbps, for example if an application generate packets at rate of 0.6 Mbps it give same throughput.
I think i am doing any problem in setting up some parameters, due to that reason node is not able to transmit with required rate.
I am sending you complete segment of code related to this problem.
 Can you please see where I am doing mistake.
======================================
 Phy/WirelessPhy set CPThresh_ 10.0
 Phy/WirelessPhy set per_ 0.0   ;#check it
 Phy/WirelessPhy set CSThresh_ 2.5e-10 
 Phy/WirelessPhy set RxThresh_ 2.5e-10 
 
 Phy/WirelessPhy set Rb_ 2*1e6
 Phy/WirelessPhy set Pt_ 0.2818
 Phy/WirelessPhy set freq_ 914e+6
 Phy/WirelessPhy set L_ 1.0
  
 Mac/802_11 set bandwidth_    11Mb 
 Mac/802_11 set basicRate_  11Mb
 Mac/802_11 set dataRate_ 11M
 Mac/802_11 set MinimumBandwidth_ 11mb

 Mac/802_11 set SlotTime_          0.000020 
 Mac/802_11 set SIFS_              0.000010 

 Mac/802_11 set CWMax_        1023

 Mac/802_11 set PreambleLength_  144
 Mac/802_11 set PLCPHeaderLength_ 48
 Mac/802_11 set PLCPDataRate 11e6 
 
 Mac/802_11 set ShortRetryLimit_ 7
 Mac/802_11 set LongRetryLimit_ 4
======================================


Muhammad Azam Akram
MSc Communication & Interactivity
Linköping University,
Linköping, Sweden.
Address: Tröskaregatan 11, 
Lambohov 58333, 
Linköping, Sweden.
Mobile: 00 46 73 569 06 77

 
---------------------------------
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.


More information about the Ns-users mailing list