wlan_nonqos_1client_4app_ack.test 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. %description:
  2. This test compares the INET wireless model against the NS3 wireless model.
  3. This scenario contains 1 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. **.useFullAckTimeout = true
  16. *.withQos = false
  17. *.numClients = 1
  18. *.numApps = 4
  19. *.serverYPos = 11m
  20. *.appStartTime = 0.5s
  21. *.appStartDelta = 0s
  22. *.sendInterval = 0.0001s
  23. %postrun-command: grep TX: test.out
  24. %postrun-command: pwd ; cd ../../ns3; ./waf --run "examples/wireless/inet-wireless-udp --withQos=false --numClients=1 --numApps=4 --serverYPos=11 --appStartTime=0.5 --appStartDelta=0.0 --sendInterval=0.0001 --simulationTime=1"
  25. %postrun-command: grep TX: postrun-command\(2\).out
  26. %postrun-command: diff -s postrun-command\(1\).out postrun-command\(3\).out ; echo ""
  27. %contains: postrun-command(4).out
  28. Files postrun-command(1).out and postrun-command(3).out are identical
  29. %contains: postrun-command(1).out
  30. node = 1
  31. %not-contains: postrun-command(1).out
  32. node = 2
  33. %contains: postrun-command(1).out
  34. ac = NA
  35. %not-contains: postrun-command(1).out
  36. ac = AC_VO
  37. %contains: postrun-command(1).out
  38. duration = 44000000