Hi Adi, have a look at the following defaults in ns2:
# COMPARE THE THE DEFAULTS FROM ns-default.tcl # ## Initialize the SharedMedia interface with parameters to make ## it work like the 914MHz Lucent WaveLAN DSSS radio interface #Phy/WirelessPhy set CPThresh_ 10.0 #Phy/WirelessPhy set CSThresh_ 1.559e-11 #Phy/WirelessPhy set RXThresh_ 3.652e-10 #Phy/WirelessPhy set bandwidth_ 2e6 #Phy/WirelessPhy set Pt_ 0.28183815 #Phy/WirelessPhy set freq_ 914e+6 #Phy/WirelessPhy set L_ 1.0 I don't know where or if at all the WirelessPhy bandwidth is used, but in order to mimic 802.11b (which I guess you want to do) you have do do some more changes. (ns2 per default supports a Orinoco card with different specs.) Here is what I found so for, using the list archives: # from http://www.ece.rice.edu/~jpr/ns/docs/ns-802_11b.html # Mac/802_11 set dataRate_ 11Mb ;# 802.11b Network using 11Mbit/s # Mac/802_11 set RTSThreshold_ 3000 ;# Only use RTS/CTS Handshake for packets larger than XXXX bytes (here 3000 bytes, which should never occur, i.e. this effectively turns it off) # Mac/802_11 set PreambleLength_ 72 ;# Short Preamble (apparently used by modern hardware) #Mac/802_11 set PreambleLength_ 144 ;# Long Preamble # Agent/UDP set packetSize_ 1500 ;# the default is set to 1000, which might be to small Hope that gets you started... Claus adi oww wrote: > Hii ns user.. > I have question which bandwidth size for mac 802.11? is 2Mbps as default . > How can I configure this value.. > I wanna set this bandwidth to 11Mbps > > > thanks for your reply... > > > > > > > ________________________________________________________ > Bergabunglah dengan orang-orang yang berwawasan, di di bidang Anda! Kunjungi > Yahoo! Answers saat ini juga di http://id.answers.yahoo.com/ -- Claus Christmann Graduate Research Assistant Georgia Institute of Technology 270 Ferst Drive Atlanta, GA 30332-0150 http://uav.ae.gatech.edu
