wlan_qos_2client_1app_ack.test 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. %description:
  2. This test compares the INET wireless model against the NS3 wireless model.
  3. The test scenario contains 2 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. *.cliHost[1].wlan[0].mac.ctn[0].rng-0 = 17
  18. *.cliHost[1].wlan[0].mac.ctn[1].rng-0 = 16
  19. *.cliHost[1].wlan[0].mac.ctn[2].rng-0 = 15
  20. *.cliHost[1].wlan[0].mac.ctn[3].rng-0 = 14
  21. **.useFullAckTimeout = true
  22. *.withQos = true
  23. *.numClients = 2
  24. *.numApps = 1
  25. *.serverYPos = 11m
  26. *.appStartTime = 0.5s
  27. *.appStartDelta = 0.0s
  28. *.sendInterval = 0.0001s
  29. %postrun-command: grep TX: test.out | sort
  30. %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"
  31. %postrun-command: grep TX: postrun-command\(2\).out | sort
  32. %postrun-command: diff -s postrun-command\(1\).out postrun-command\(3\).out ; echo ""
  33. %contains: postrun-command(4).out
  34. Files postrun-command(1).out and postrun-command(3).out are identical
  35. %contains: postrun-command(1).out
  36. node = 1
  37. %contains: postrun-command(1).out
  38. node = 2
  39. %contains: postrun-command(1).out
  40. ac = AC_VO
  41. %not-contains: postrun-command(1).out
  42. ac = AC_VI
  43. %contains: postrun-command(1).out
  44. duration = 44000000