wlan_qos_1client_1app_ack.test 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. %description:
  2. This test compares the INET wireless model against the NS3 wireless model.
  3. The test scenario contains 1 adhoc EDCA QoS client. The client runs 1 UDP voice
  4. application only. 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. *.srvHost.wlan[0].mac.ctn[0].rng-0 = 1
  13. *.cliHost[0].wlan[0].mac.ctn[0].rng-0 = 11
  14. *.cliHost[0].wlan[0].mac.ctn[1].rng-0 = 10
  15. *.cliHost[0].wlan[0].mac.ctn[2].rng-0 = 9
  16. *.cliHost[0].wlan[0].mac.ctn[3].rng-0 = 8
  17. **.useFullAckTimeout = true
  18. *.withQos = true
  19. *.numClients = 1
  20. *.numApps = 1
  21. *.serverYPos = 11m
  22. *.appStartTime = 0.5s
  23. *.appStartDelta = 0s
  24. *.sendInterval = 0.0001s
  25. %postrun-command: grep TX: test.out
  26. %postrun-command: pwd ; cd ../../ns3; ./waf --run "examples/wireless/inet-wireless-udp --withQos=true --numClients=1 --numApps=1 --serverYPos=11 --appStartTime=0.5 --appStartDelta=0.0 --sendInterval=0.0001 --simulationTime=1"
  27. %postrun-command: grep TX: postrun-command\(2\).out
  28. %postrun-command: diff -s postrun-command\(1\).out postrun-command\(3\).out ; echo ""
  29. %contains: postrun-command(4).out
  30. Files postrun-command(1).out and postrun-command(3).out are identical
  31. %contains: postrun-command(1).out
  32. node = 1
  33. %not-contains: postrun-command(1).out
  34. node = 2
  35. %contains: postrun-command(1).out
  36. ac = AC_VO
  37. %not-contains: postrun-command(1).out
  38. ac = AC_VI
  39. %contains: postrun-command(1).out
  40. duration = 44000000