wlan_qos_1client_4app_ack.test 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 4 different
  4. UDP applications, one for each EDCA queue. The server is expected to send wlan
  5. acknowledges to the client.
  6. %testprog: opp_run
  7. %inifile: omnetpp.ini
  8. [General]
  9. network = Ns3Test
  10. ned-path = .;../../../../../src;../../lib
  11. include ../../lib/ns3test.ini
  12. sim-time-limit = 1s
  13. *.srvHost.wlan[0].mac.ctn[0].rng-0 = 1
  14. *.cliHost[0].wlan[0].mac.ctn[0].rng-0 = 11
  15. *.cliHost[0].wlan[0].mac.ctn[1].rng-0 = 10
  16. *.cliHost[0].wlan[0].mac.ctn[2].rng-0 = 9
  17. *.cliHost[0].wlan[0].mac.ctn[3].rng-0 = 8
  18. **.useFullAckTimeout = true
  19. *.withQos = true
  20. *.numClients = 1
  21. *.numApps = 4
  22. *.serverYPos = 11m
  23. *.appStartTime = 0.5s
  24. *.appStartDelta = 0s
  25. *.sendInterval = 0.0001s
  26. %postrun-command: grep TX: test.out
  27. %postrun-command: pwd ; cd ../../ns3; ./waf --run "examples/wireless/inet-wireless-udp --withQos=true --numClients=1 --numApps=4 --serverYPos=11 --appStartTime=0.5 --appStartDelta=0.0 --sendInterval=0.0001 --simulationTime=1"
  28. %postrun-command: grep TX: postrun-command\(2\).out
  29. %postrun-command: diff -s postrun-command\(1\).out postrun-command\(3\).out ; echo ""
  30. %contains: postrun-command(4).out
  31. Files postrun-command(1).out and postrun-command(3).out are identical
  32. %contains: postrun-command(1).out
  33. node = 1
  34. %not-contains: postrun-command(1).out
  35. node = 2
  36. %contains: postrun-command(1).out
  37. ac = AC_VO
  38. %contains: postrun-command(1).out
  39. ac = AC_VI
  40. %contains: postrun-command(1).out
  41. duration = 44000000