omnetpp.ini 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. [General]
  2. tkenv-plugin-path = ../../../etc/plugins
  3. cmdenv-express-mode = false
  4. #record-eventlog = true
  5. #debug-on-errors = true
  6. **.constraintAreaMinX = 0m
  7. **.constraintAreaMinY = 0m
  8. **.constraintAreaMinZ = 0m
  9. **.constraintAreaMaxX = 400m
  10. **.constraintAreaMaxY = 400m
  11. **.constraintAreaMaxZ = 0m
  12. # MAC settings
  13. **.wlan*.bitrate = 18Mbps
  14. **.mac.maxQueueSize = 14
  15. **.mac.rtsThresholdBytes = 3000B
  16. **.mac.retryLimit = 7
  17. **.mac.cwMinData = 31
  18. **.mac.cwMinBroadcast = 31
  19. # Radio
  20. **.radio.transmitter.power = 20mW
  21. **.radio.receiver.sensitivity = -85dBm
  22. **.radio.receiver.snirThreshold = 4dB
  23. **.wlan.macType = "Ieee80211CompatibleMac"
  24. [Config AggregationTest1] # n clients continuously send packets to an AP
  25. network = AggregationTest
  26. # AP
  27. **.ap.wlan.mac.address = "10:00:00:00:00:00"
  28. **.cliHost[*].wlan.mac.address = "auto"
  29. **.mgmt.accessPointAddress = "10:00:00:00:00:00"
  30. **.mgmt.frameCapacity = 10
  31. # cli
  32. **.cli.reqLength = 1000B
  33. **.cli.respLength = 0
  34. **.cli.destAddress = "10:00:00:00:00:00"
  35. **.cli.sendInterval = 0.5ms
  36. AggregationTest.numCli = 3
  37. [Config AggregationTest2] # One client continuously sends packets to multiple clients through an AP.
  38. network = AggregationTest2
  39. num-rngs = 2
  40. **.udpApp[*].rng-0 = 1
  41. **.arpType = "GlobalARP"
  42. **.*.wlan[*].macType = "Ieee80211CompatibleMac"
  43. **.addDefaultRoutes = false
  44. # Sender
  45. **.sender*.numUdpApps = 1
  46. **.sender*.udpApp[0].typename = "UDPBasicApp"
  47. **.sender*.udpApp[0].destAddresses = "sink1 sink2"
  48. **.sender*.udpApp[0].destPort = 1000
  49. **.sender*.udpApp[0].messageLength = 100B
  50. **.sender*.udpApp[0].sendInterval = 1ms
  51. **.sender*.udpApp[0].stopTime = 300s
  52. **.sender*.udpApp[0].startTime = 1s
  53. # Sink
  54. **.sink*.numUdpApps = 1
  55. **.sink*.udpApp[0].typename = "UDPBasicApp"
  56. **.sink*.udpApp[0].destAddresses = "" # They don't send packets.
  57. **.sink*.udpApp[0].destPort = 1000
  58. **.sink*.udpApp[0].localPort = 1000
  59. **.sink*.udpApp[0].messageLength = 1000B
  60. **.sink*.udpApp[0].sendInterval = 10ms
  61. **.sink*.udpApp[0].stopTime = 300s
  62. # Aggregation is turned off. RTS threshold is never reached since the packets
  63. # are 1000 bytes long. In spite of this fact, this scenario has the worst throughput
  64. # performance.
  65. [Config WithoutAggregation]
  66. extends = AggregationTest1
  67. # Aggregation is turned on and rtsThreshold has the default value. RTS threshold is
  68. # reached for all A-MSDU frames but it still has better throughput than WithoutAggregation
  69. # config.
  70. [Config WithAggregation]
  71. extends = AggregationTest1
  72. **.wlan.mac.aMsduAggregatorModuleType = "MsduAggregation"
  73. **.wlan.mac.msduAggregator.aggregationPolicyType = "BasicMsduAggregationPolicy"
  74. **.wlan.mac.msduAggregator.aggregationPolicy.qOsCheck = false
  75. # Aggregation is turned on and rtsThreshold is greater than the default maxAMsduSize so it
  76. # never initiates RTS/CTS exchange. This config has the highest throughput.
  77. [Config WithAggregationAndWithHighRTSThreshold]
  78. extends = AggregationTest1
  79. **.wlan.mac.aMsduAggregatorModuleType = "MsduAggregation"
  80. **.wlan.mac.msduAggregator.aggregationPolicyType = "BasicMsduAggregationPolicy"
  81. **.wlan.mac.msduAggregator.aggregationPolicy.qOsCheck = false
  82. **.mac.rtsThresholdBytes = 5000B
  83. [Config UDPWithoutAggregation]
  84. extends = AggregationTest2
  85. [Config UDPWithAggregation]
  86. extends = AggregationTest2
  87. **.*.wlan[*].mac.aMsduAggregatorModuleType = "MsduAggregation"
  88. **.wlan.mac.msduAggregator.aggregationPolicyType = "BasicMsduAggregationPolicy"
  89. **.wlan.mac.msduAggregator.aggregationPolicy.qOsCheck = false