%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 expected to send wlan acknowledges to the client. %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 = 11m *.appStartTime = 0.5s *.appStartDelta = 0.0s *.sendInterval = 0.0001s %postrun-command: grep TX: test.out | sort %postrun-command: pwd ; cd ../../ns3; ./waf --run "examples/wireless/inet-wireless-udp --withQos=true --numClients=2 --numApps=1 --serverYPos=11 --appStartTime=0.5 --appStartDelta=0.0 --sendInterval=0.0001 --simulationTime=1" %postrun-command: grep TX: postrun-command\(2\).out | sort %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 %contains: postrun-command(1).out duration = 44000000