omnetpp.ini.ftl 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. [General]
  2. network = ${targetTypeName}
  3. tkenv-plugin-path = ../../../etc/plugins
  4. #debug-on-errors = true
  5. **.mobility.constraintAreaMinX = 0m
  6. **.mobility.constraintAreaMinY = 0m
  7. **.mobility.constraintAreaMaxX = ${ numAccessPoints?number * 300 - 100 }m
  8. **.mobility.constraintAreaMaxY = 400m
  9. **.debug = false
  10. **.coreDebug = false
  11. # channel physical parameters
  12. *.channelControl.carrierFrequency = 2.4GHz
  13. *.channelControl.pMax = 2.0mW
  14. *.channelControl.sat = -110dBm
  15. *.channelControl.alpha = 2
  16. *.channelControl.numChannels = ${numAccessPoints?number + 2}
  17. # access point
  18. <#list 1..numAccessPoints?number as i>
  19. **.ap${i}.wlan[*].mac.address = "1${i-1}:00:00:00:00:00"
  20. **.ap${i}.wlan[*].mgmt.ssid = "AP${i}"
  21. **.ap${i}.wlan[*].radio.channelNumber = ${i+1}
  22. </#list>
  23. **.ap*.wlan[*].mgmt.beaconInterval = 100ms
  24. **.wlan[*].mgmt.numAuthSteps = 4
  25. **.mgmt.frameCapacity = 10
  26. # mobility
  27. **.host*.mobilityType = "LinearMobility"
  28. **.host*.mobility.speed = 20 mps
  29. **.host*.mobility.angle = 0
  30. **.host*.mobility.acceleration = 0
  31. **.host*.mobility.updateInterval = 100ms
  32. # wireless channels
  33. **.host.wlan[*].radio.channelNumber = 0 # just initially -- it'll scan
  34. # wireless configuration
  35. **.wlan[*].bitrate = 2Mbps
  36. **.wlan[*].agent.activeScan = true
  37. **.wlan[*].agent.channelsToScan = "" # "" means all
  38. **.wlan[*].agent.probeDelay = 0.1s
  39. **.wlan[*].agent.minChannelTime = 0.15s
  40. **.wlan[*].agent.maxChannelTime = 0.3s
  41. **.wlan[*].agent.authenticationTimeout = 5s
  42. **.wlan[*].agent.associationTimeout = 5s
  43. **.wlan[*].mac.address = "auto"
  44. **.wlan[*].mac.maxQueueSize = 14
  45. **.wlan[*].mac.rtsThresholdBytes = 4000B
  46. **.wlan[*].mac.retryLimit = 7
  47. **.wlan[*].mac.cwMinData = 7
  48. **.wlan[*].mac.cwMinMulticast = 31
  49. **.radio.transmitterPower = 2.0mW
  50. **.radio.thermalNoise = -110dBm
  51. **.radio.sensitivity = -85dBm
  52. **.radio.pathLossAlpha = 2
  53. **.radio.snirThreshold = 4dB