omnetpp.ini 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. [General]
  2. network = QosThroughput
  3. debug-on-errors = true
  4. tkenv-plugin-path = ../../../etc/plugins
  5. #record-eventlog = true
  6. sim-time-limit = 5s
  7. **.arpType = "GlobalARP"
  8. **.constraintAreaMinX = 0m
  9. **.constraintAreaMinY = 0m
  10. **.constraintAreaMinZ = 0m
  11. **.constraintAreaMaxX = 400m
  12. **.constraintAreaMaxY = 400m
  13. **.constraintAreaMaxZ = 0m
  14. **.mobility.initFromDisplayString = false
  15. **.cliHost.mobility.initialX = 100m
  16. **.cliHost.mobility.initialY = 100m
  17. **.srvHost.mobility.initialX = 300m
  18. **.srvHost.mobility.initialY = 100m
  19. **.mobility.initialZ = 0m
  20. # radio settings
  21. **.radio.transmitter.power = 1000mW
  22. # cli
  23. **.cliHost.numUdpApps = 5
  24. **.cliHost.udpApp[*].typename = "UDPBasicApp"
  25. **.cliHost.udpApp[*].destAddresses = "srvHost"
  26. **.cliHost.udpApp[0].destPort = 21
  27. **.cliHost.udpApp[1].destPort = 80
  28. **.cliHost.udpApp[2].destPort = 4000
  29. **.cliHost.udpApp[3].destPort = 5000
  30. **.cliHost.udpApp[4].destPort = 99
  31. **.cliHost.udpApp[0].packetName = "FTP"
  32. **.cliHost.udpApp[1].packetName = "WWW"
  33. **.cliHost.udpApp[2].packetName = "Video"
  34. **.cliHost.udpApp[3].packetName = "Voice"
  35. **.cliHost.udpApp[4].packetName = "nonQos"
  36. **.cliHost.udpApp[*].startTime = 0.5s
  37. **.cliHost.udpApp[*].stopTime = 5.0s
  38. **.cliHost.udpApp[*].messageLength = 1000B
  39. **.cliHost.udpApp[*].sendInterval = 0.0001s
  40. # srv
  41. **.srvHost.numUdpApps = 5
  42. **.srvHost.udpApp[*].typename = "UDPSink"
  43. **.srvHost.udpApp[0].localPort = 21
  44. **.srvHost.udpApp[1].localPort = 80
  45. **.srvHost.udpApp[2].localPort = 4000
  46. **.srvHost.udpApp[3].localPort = 5000
  47. **.srvHost.udpApp[4].localPort = 99
  48. [Config MacNonQos]
  49. **.wlan[*].macType = "Ieee80211Mac"
  50. **.mac.dcf.maxQueueSize = -1
  51. **.mac.ctrl.typename = ${"OptimizedCollisionController","CollisionController"}
  52. [Config MacQos]
  53. extends = MacNonQos
  54. **.wlan[*].classifierType = "ExampleQoSClassifier"
  55. **.mac.hcf.maxQueueSize = -1
  56. **.mac.qosStation = true