Aug 8, 2010

我的工作日记3

没有成功还不知道是什么原因!

ACMP=2Mb_16-8_random
ACMP=2Mb_36-18_random

ACMP simulation 
set data rate = 2 Mbps
Phy/WirelessPhy set RXThresh_ 7.943e-13
Mac/802_11 set dataRate_ 2e6

change ns2.28/tcl/lib/ns-default.tcl
Mac/802_11 set basicRate_ 1.0e6 ;# basic rate by lmz
Mac/802_11 set dataRate_ 2.0e6 ;# data rate by lmz

# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
# New physical parameter, added by Mingzhe Li (lmz)
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.585e-14
Phy/WirelessPhy set RXThresh_ 3.981e-13
Phy/WirelessPhy set bandwidth_ 1e6
Phy/WirelessPhy set Pt_ 0.0316227766
Phy/WirelessPhy set freq_ 2400e+6
Phy/WirelessPhy set L_ 1.0
Phy/WirelessPhy set debug_ false

change ns2.28/tcl/lib/lan/ns-mac.tcl
Mac/802_11 set dataRate_ 2Mb

Aug 7, 2010

我的工作日记2

ACMP=1Mb_16-8_random
ACMP=1Mb_36-18_random
acmp simulation, the number of channel is three
1) 在一个single collision domain 有 16nodes 他们产生 8个flows
2) 在一个single collision domain 有 36nodes 他们产生 18个flows

IEEE=1Mb_16-8_random
IEEE=1Mb_36-18_random
IEEE simulation
1) 在一个single collision domain 有 16nodes 他们产生 8个flows
2) 在一个single collision domain 有 36nodes 他们产生 18个flows

Aug 6, 2010

我的工作日记1

今天决定为AMCP做实验。
下面是几个比较重要的实验变量: 我们决定使用NS的default的变量。
参考:
How to configure the data rate of MAC layer?

1) tcl/lan/ns-mac.tcl
Mac/802_11 set basicRate_ 1Mb ;# set this to 0 if want to use bandwidth_
Mac/802_11 set dataRate_ 1Mb ;# for both control and data pkts

2) tcl/lib/ns-default.tcl
Mac/802_11 set PLCPDataRate_ 1.0e6 ;# 1Mbps


下面列出几个比较有用的link:
Understanding the implementation of IEEE MAC802.11 standarad
Simulate 802.11b Channel within NS2
参数说明
ns-2 modification for 802.11b with Auto Rate Fallback