omnetpp.ini 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. [General]
  2. network = QosThroughput
  3. #debug-on-errors = true
  4. #record-eventlog = true
  5. tkenv-plugin-path = ../../../etc/plugins
  6. **.constraintAreaMinX = 0m
  7. **.constraintAreaMinY = 0m
  8. **.constraintAreaMinZ = 0m
  9. **.constraintAreaMaxX = 400m
  10. **.constraintAreaMaxY = 400m
  11. **.constraintAreaMaxZ = 0m
  12. **.mobility.initFromDisplayString = false
  13. **.cliHost.mobility.initialX = 100m
  14. **.cliHost.mobility.initialY = 100m
  15. **.srvHost.mobility.initialX = 300m
  16. **.srvHost.mobility.initialY = 100m
  17. **.ap.mobility.initialX = 200m
  18. **.ap.mobility.initialY = 200m
  19. **.mobility.initialZ = 0m
  20. #**.numPcapRecorders = 1
  21. #**.pcapRecorder[*].pcapFile = fullPath()+".pcap"
  22. #**.pcapRecorder[*].receivingSignalNames = "packetSentToUpper"
  23. **.opMode = "g(mixed)"
  24. # access point
  25. **.ap.wlan[*].mac.address = "10:00:00:00:00:00"
  26. #**.ap.wlan[*].mgmtType = "Ieee80211MgmtAPSimplified"
  27. #**.wlan[*].mgmtType = "Ieee80211MgmtSTASimplified"
  28. **.mgmt.accessPointAddress = "10:00:00:00:00:00"
  29. #**.mgmt.frameCapacity = 10
  30. #**.mgmt.ssid = "ns3-80211n"
  31. # radio settings
  32. **.radio.transmitter.power = 2000mW
  33. **.radio.receiver.sensitivity = -85dBm
  34. **.radio.receiver.snirThreshold = 4dB
  35. # cli
  36. **.cliHost.numUdpApps = 4
  37. **.cliHost.udpApp[*].typename = "UDPBasicApp"
  38. **.cliHost.udpApp[*].destAddresses = "srvHost"
  39. **.cliHost.udpApp[0].destPort = 21
  40. **.cliHost.udpApp[1].destPort = 80
  41. **.cliHost.udpApp[2].destPort = 4000
  42. **.cliHost.udpApp[3].destPort = 5000
  43. **.cliHost.udpApp[0].packetName = "FTP"
  44. **.cliHost.udpApp[1].packetName = "WWW"
  45. **.cliHost.udpApp[2].packetName = "Video"
  46. **.cliHost.udpApp[3].packetName = "Voice"
  47. **.cliHost.udpApp[*].startTime = 1.0s+this.sendInterval*index/4
  48. **.cliHost.udpApp[*].stopTime = 6.0s
  49. **.cliHost.udpApp[*].messageLength = 100B
  50. **.cliHost.udpApp[*].sendInterval = 0.001s
  51. # srv
  52. **.srvHost.numUdpApps = 4
  53. **.srvHost.udpApp[*].typename = "UDPSink"
  54. **.srvHost.udpApp[0].localPort = 21
  55. **.srvHost.udpApp[1].localPort = 80
  56. **.srvHost.udpApp[2].localPort = 4000
  57. **.srvHost.udpApp[3].localPort = 5000
  58. [Config MacNonQos]
  59. **.wlan[*].macType = "Ieee80211Mac"
  60. **.mac.dcf.maxQueueSize = -1
  61. [Config MacQos]
  62. extends = MacNonQos
  63. **.wlan[*].classifierType = "ExampleQoSClassifier"
  64. **.mac.hcf.maxQueueSize = -1
  65. **.mac.qosStation = true
  66. **.mac.hcf.originatorMacDataService.aMsduAggregationPolicyType = "BasicMsduAggregationPolicy"
  67. [Config MacQosWithoutAggregation]
  68. extends = MacQos
  69. **.mac.hcf.originatorMacDataService.aMsduAggregationPolicyType = ""
  70. [Config MacQosWithRtsCts]
  71. extends = MacQos
  72. **.rtsThreshold = 100B
  73. [Config MacQosWithBlockAck]
  74. extends = MacQos
  75. **.isBlockAckSupported = true