omnetpp.ini 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [General]
  2. network = Net80211
  3. #record-eventlog = true
  4. #eventlog-message-detail-pattern = *:(not declaredOn(cMessage) and not declaredOn(cNamedObject) and not declaredOn(cObject))
  5. num-rngs = 3
  6. **.mobility.rng-0 = 1
  7. **.wlan[*].mac.rng-0 = 2
  8. #debug-on-errors = true
  9. fingerprint = "168c-b9a6/tplx"
  10. tkenv-plugin-path = ../../../etc/plugins
  11. **.constraintAreaMinX = 0m
  12. **.constraintAreaMinY = 0m
  13. **.constraintAreaMinZ = 0m
  14. **.constraintAreaMaxX = 600m
  15. **.constraintAreaMaxY = 400m
  16. **.constraintAreaMaxZ = 0m
  17. # mobility
  18. **.host*.mobilityType = "MassMobility"
  19. **.host*.mobility.initFromDisplayString = false
  20. **.host*.mobility.changeInterval = truncnormal(2s, 0.5s)
  21. **.host*.mobility.changeAngleBy = normal(0deg, 30deg)
  22. **.host*.mobility.speed = truncnormal(20mps, 8mps)
  23. **.host*.mobility.updateInterval = 100ms
  24. # ping app (host[0] pinged by others)
  25. *.host[0].numPingApps = 0
  26. *.host[*].numPingApps = 2
  27. *.host[*].pingApp[*].destAddr = "host[0]"
  28. **.pingApp[0].startTime = uniform(1s,5s)
  29. **.pingApp[1].startTime = 5s+uniform(1s,5s)
  30. **.pingApp[*].printPing = true
  31. # nic settings
  32. **.wlan[*].bitrate = 2Mbps
  33. **.wlan[*].mgmt.frameCapacity = 10
  34. **.wlan[*].mac.address = "auto"
  35. **.wlan[*].mac.maxQueueSize = 14
  36. **.wlan[*].mac.rtsThresholdBytes = 3000B
  37. **.wlan[*].mac.retryLimit = 7
  38. **.wlan[*].mac.cwMinData = 7
  39. **.wlan[*].mac.cwMinBroadcast = 31
  40. **.wlan[*].radio.transmitter.power = 2mW
  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