[ns] throughput of 802.11b

2008-05-11 Thread andrew.hy
Hi all, I have tried to run 802.11b in ns2, and I use the following setting: Mac/802_11 setSlotTime_0.20;# 20us Mac/802_11 setSIFS_0.10;# 10us Mac/802_11 setPreambleLength_ 144 ;# 144 bits Mac/802_

[ns] run 802.11b in ns2

2008-04-25 Thread andrew.hy
Hi all, if i want to run 802.11b(11Mb) in ns2, do i just need to make the following changes: Mac/802_11 set bandwidth_ 11Mb Mac/802_11 set dataRate_11Mb Mac/802_11 set basicRate_ 2Mb or do i also need to change the bandwidth of the physical layer Phy/WirelessPhy

[ns] cwnd and rwnd

2008-04-23 Thread andrew.hy
Hi all, For TCP connection in ns2, is cwnd always less than rwnd? If not, how to trace rwnd? Thanks in advance!

[ns] How to trace contention window

2008-04-17 Thread andrew.hy
Hi all, Can anyone help me trace the contention window in wireless scenario. I have tried the following two ways: 1. in the file of "mac-802_11.cc", add "bind("cw", &cw_);" to Mac802_11::Mac802_11() 2. (1) in the file of "mac-802_11.h", add a function "inline void get_cw() {pri

[ns] transport layer protocol of ad-hoc

2008-04-04 Thread andrew.hy
Dear all, Has ns2 implemented any kind of TCP designed for ad-hoc networks, such as TCP-F,TCP-ELFN, or split-tcp? Thanks in advance! andrew

[ns] how to add routing protocol

2007-04-10 Thread andrew.hy
hello everyone,i want to add a new routing protocol in the ns-2,how can i do it?Any suggestion will be greatly appreciated!Thanks in advance!