omnetpp.ini 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. [General]
  2. network = MacTest
  3. #cmdenv-output-file = omnetpp.log
  4. cmdenv-express-mode = false
  5. tkenv-plugin-path = ../../../etc/plugins
  6. #debug-on-errors = true
  7. #record-eventlog = true
  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. **.ap.mobility.initialX = 200m
  20. **.ap.mobility.initialY = 200m
  21. **.mobility.initialZ = 0m
  22. **.opMode = "g(mixed)"
  23. **.arpType = "GlobalARP"
  24. **.mtu = 10000B
  25. # access point
  26. **.ap.wlan[*].mac.address = "10:00:00:00:00:00"
  27. **.mgmt.accessPointAddress = "10:00:00:00:00:00"
  28. # radio settings
  29. **.radio.transmitter.power = 2000mW
  30. **.radio.receiver.sensitivity = -85dBm
  31. **.radio.receiver.snirThreshold = 4dB
  32. [Config MacBase]
  33. **.wlan[*].macType = "Ieee80211Mac"
  34. [Config MacEdca]
  35. extends = MacBase
  36. # cli
  37. **.cliHost.numUdpApps = 2
  38. **.cliHost.udpApp[*].typename = "UDPBasicApp"
  39. **.cliHost.udpApp[*].destAddresses = "srvHost"
  40. **.cliHost.udpApp[0].destPort = 21
  41. **.cliHost.udpApp[1].destPort = 5000
  42. **.cliHost.udpApp[0].packetName = "FTP"
  43. **.cliHost.udpApp[1].packetName = "Voice"
  44. **.cliHost.udpApp[*].startTime = 1.0s+this.sendInterval*index/4
  45. **.cliHost.udpApp[*].stopTime = 6.0s
  46. **.cliHost.udpApp[0].messageLength = uniform(500B, 1500B)
  47. **.cliHost.udpApp[1].messageLength = uniform(50B, 4000B)
  48. **.cliHost.udpApp[*].sendInterval = exponential(0.1s)
  49. # srv
  50. **.srvHost.numUdpApps = 2
  51. **.srvHost.udpApp[*].typename = "UDPSink"
  52. **.srvHost.udpApp[0].localPort = 21
  53. **.srvHost.udpApp[1].localPort = 5000
  54. **.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
  55. **.wlan[*].classifierType = "ExampleQoSClassifier"
  56. **.wlan[*].mac.qosStation = true
  57. [Config MacDcf]
  58. extends = MacBase
  59. # cli
  60. **.cliHost.numUdpApps = 1
  61. **.cliHost.udpApp[0].typename = "UDPBasicApp"
  62. **.cliHost.udpApp[0].destAddresses = "srvHost"
  63. **.cliHost.udpApp[0].destPort = 21
  64. **.cliHost.udpApp[0].packetName = "FTP"
  65. **.cliHost.udpApp[0].startTime = 1.0s+this.sendInterval*index/4
  66. **.cliHost.udpApp[0].stopTime = 6.0s
  67. **.cliHost.udpApp[0].messageLength = uniform(500B, 1500B)
  68. **.cliHost.udpApp[0].sendInterval = exponential(0.1s)
  69. # srv
  70. **.srvHost.numUdpApps = 1
  71. **.srvHost.udpApp[0].typename = "UDPSink"
  72. **.srvHost.udpApp[0].localPort = 21
  73. **.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
  74. **.wlan[*].mac.qosStation = false