wlan_qos_2client_4app_ack.test 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 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. *.cliHost[1].wlan[0].mac.ctn[0].rng-0 = 17
  19. *.cliHost[1].wlan[0].mac.ctn[1].rng-0 = 16
  20. *.cliHost[1].wlan[0].mac.ctn[2].rng-0 = 15
  21. *.cliHost[1].wlan[0].mac.ctn[3].rng-0 = 14
  22. **.useFullAckTimeout = true
  23. *.withQos = true
  24. *.numClients = 2
  25. *.numApps = 4
  26. *.serverYPos = 11m
  27. *.appStartTime = 0.5s
  28. *.appStartDelta = 0.0s
  29. *.sendInterval = 0.0001s
  30. %postrun-command: grep TX: test.out | sort
  31. %postrun-command: pwd ; cd ../../ns3; ./waf --run "examples/wireless/inet-wireless-udp --withQos=true --numClients=2 --numApps=4 --serverYPos=11 --appStartTime=0.5 --appStartDelta=0.0 --sendInterval=0.0001 --simulationTime=1"
  32. %postrun-command: grep TX: postrun-command\(2\).out | sort
  33. %postrun-command: diff -s postrun-command\(1\).out postrun-command\(3\).out ; echo ""
  34. %contains: postrun-command(4).out
  35. Files postrun-command(1).out and postrun-command(3).out are identical
  36. %contains: postrun-command(1).out
  37. node = 1
  38. %contains: postrun-command(1).out
  39. node = 2
  40. %contains: postrun-command(1).out
  41. ac = AC_VO
  42. %contains: postrun-command(1).out
  43. ac = AC_VI
  44. %contains: postrun-command(1).out
  45. duration = 44000000