1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- %description:
- This test compares the INET wireless model against the NS3 wireless model.
- The test scenario contains 2 adhoc EDCA QoS client. The client runs 1 UDP voice
- application only. The server is out of range.
- TODO: this test fails because without ACKs occasionally a signal arrives at the
- other node just at the moment when it starts sending another and the two simulators
- handle this case differently
- %testprog: opp_run
- %inifile: omnetpp.ini
- [General]
- network = Ns3Test
- ned-path = .;../../../../../src;../../lib
- include ../../lib/ns3test.ini
- sim-time-limit = 1s
- *.srvHost.wlan[0].mac.ctn[0].rng-0 = 1
- *.cliHost[0].wlan[0].mac.ctn[0].rng-0 = 11
- *.cliHost[0].wlan[0].mac.ctn[1].rng-0 = 10
- *.cliHost[0].wlan[0].mac.ctn[2].rng-0 = 9
- *.cliHost[0].wlan[0].mac.ctn[3].rng-0 = 8
- *.cliHost[1].wlan[0].mac.ctn[0].rng-0 = 17
- *.cliHost[1].wlan[0].mac.ctn[1].rng-0 = 16
- *.cliHost[1].wlan[0].mac.ctn[2].rng-0 = 15
- *.cliHost[1].wlan[0].mac.ctn[3].rng-0 = 14
- **.useFullAckTimeout = true
- *.withQos = true
- *.numClients = 2
- *.numApps = 1
- *.serverYPos = 3000m
- *.appStartTime = 0.5s
- *.appStartDelta = 0.0s
- *.sendInterval = 0.0001s
- %postrun-command: grep TX: test.out
- %postrun-command: pwd ; cd ../../ns3; ./waf --run "examples/wireless/inet-wireless-udp --withQos=true --numClients=2 --numApps=1 --serverYPos=3000 --appStartTime=0.5 --appStartDelta=0.0 --sendInterval=0.0001 --simulationTime=1"
- %postrun-command: grep TX: postrun-command\(2\).out
- %postrun-command: diff -s postrun-command\(1\).out postrun-command\(3\).out ; echo ""
- %contains: postrun-command(4).out
- Files postrun-command(1).out and postrun-command(3).out are identical
- %contains: postrun-command(1).out
- node = 1
- %contains: postrun-command(1).out
- node = 2
- %contains: postrun-command(1).out
- ac = AC_VO
- %not-contains: postrun-command(1).out
- ac = AC_VI
- %not-contains: postrun-command(1).out
- duration = 44000000
|