wlan_nonqos_2client_4app_ack.test 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. %description:
  2. This test compares the INET wireless model against the NS3 wireless model.
  3. This scenario contains 2 adhoc non-QoS client that runs 4 UDP applications.
  4. The server is expected to send wlan acknowledges to the client.
  5. %testprog: opp_run
  6. %inifile: omnetpp.ini
  7. [General]
  8. network = Ns3Test
  9. ned-path = .;../../../../../src;../../lib
  10. include ../../lib/ns3test.ini
  11. sim-time-limit = 1s
  12. # random sequences must be the same as in NS3
  13. *.srvHost.wlan[0].mac.ctn[0].rng-0 = 1
  14. *.cliHost[0].wlan[0].mac.ctn[0].rng-0 = 7
  15. *.cliHost[1].wlan[0].mac.ctn[0].rng-0 = 13
  16. **.useFullAckTimeout = true
  17. *.withQos = false
  18. *.numClients = 2
  19. *.numApps = 4
  20. *.serverYPos = 11m
  21. *.appStartTime = 0.5s
  22. *.appStartDelta = 0.0s
  23. *.sendInterval = 0.0001s
  24. %postrun-command: grep TX: test.out | sort
  25. %postrun-command: pwd ; cd ../../ns3; ./waf --run "examples/wireless/inet-wireless-udp --withQos=false --numClients=2 --numApps=4 --serverYPos=11 --appStartTime=0.5 --appStartDelta=0.0 --sendInterval=0.0001 --simulationTime=1"
  26. %postrun-command: grep TX: postrun-command\(2\).out | sort
  27. %postrun-command: diff -s postrun-command\(1\).out postrun-command\(3\).out ; echo ""
  28. %contains: postrun-command(4).out
  29. Files postrun-command(1).out and postrun-command(3).out are identical
  30. %contains: postrun-command(1).out
  31. node = 1
  32. %contains: postrun-command(1).out
  33. node = 2
  34. %contains: postrun-command(1).out
  35. ac = NA
  36. %not-contains: postrun-command(1).out
  37. ac = AC_VO
  38. %contains: postrun-command(1).out
  39. duration = 44000000