omnetpp.ini 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [General]
  2. network = Lan80211
  3. #cmdenv-output-file = omnetpp.log
  4. #debug-on-errors = true
  5. tkenv-plugin-path = ../../../etc/plugins
  6. #record-eventlog = true
  7. **.constraintAreaMinX = 0m
  8. **.constraintAreaMinY = 0m
  9. **.constraintAreaMinZ = 0m
  10. **.constraintAreaMaxX = 600m
  11. **.constraintAreaMaxY = 400m
  12. **.constraintAreaMaxZ = 0m
  13. # access point
  14. **.ap.wlan[*].mac.address = "10:00:00:00:00:00"
  15. **.host[*].**.mgmt.accessPointAddress = "10:00:00:00:00:00"
  16. **.mgmt.frameCapacity = 10
  17. # mobility
  18. **.host[*].mobilityType = "MassMobility"
  19. **.host[*].mobility.changeInterval = truncnormal(2ms, 0.5ms)
  20. **.host[*].mobility.changeAngleBy = normal(0deg, 30deg)
  21. **.host[*].mobility.speed = truncnormal(20mps, 8mps)
  22. **.host[*].mobility.updateInterval = 100ms
  23. # ping app (host[0] pinged by others)
  24. **.numPingApps = 1
  25. *.host[0].pingApp[0].destAddr = ""
  26. *.host[*].pingApp[0].destAddr = "host[0]"
  27. *.host[*].pingApp[0].sendInterval = 10ms
  28. # nic settings
  29. **.wlan*.bitrate = 2Mbps
  30. **.mac.address = "auto"
  31. **.mac.maxQueueSize = 14
  32. **.mac.rtsThresholdBytes = 3000B
  33. **.wlan[*].mac.retryLimit = 7
  34. **.wlan[*].mac.cwMinData = 7
  35. **.wlan[*].mac.cwMinBroadcast = 31
  36. **.wlan[*].radio.transmitter.power = 2mW
  37. **.wlan[*].radio.transmitter.bitrate = 2Mbps
  38. **.wlan[*].radio.transmitter.headerBitLength = 100b
  39. **.wlan[*].radio.transmitter.carrierFrequency = 2.4GHz
  40. **.wlan[*].radio.transmitter.bandwidth = 2MHz
  41. **.wlan[*].radio.receiver.sensitivity = -85dBm
  42. **.wlan[*].radio.receiver.snirThreshold = 4dB
  43. [Config Ping1]
  44. description = "host1 pinging host0"
  45. *.numHosts = 2
  46. [Config Ping2] # __interactive__
  47. description = "n hosts"
  48. # leave numHosts undefined here