omnetpp.ini 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. [General]
  2. network = LayeredAPSK
  3. sim-time-limit = 100s
  4. tkenv-plugin-path = ../../../etc/plugins
  5. description = "host1 pinging host0"
  6. cmdenv-express-mode = true
  7. #debug-on-errors = true
  8. **.vector-recording = false
  9. *.numHosts = 2
  10. **.arpType = "GlobalARP"
  11. **.constraintAreaMinX = 0m
  12. **.constraintAreaMinY = 0m
  13. **.constraintAreaMinZ = 0m
  14. **.constraintAreaMaxX = 1000m
  15. **.constraintAreaMaxY = 400m
  16. **.constraintAreaMaxZ = 0m
  17. # mobility
  18. **.host*.mobilityType = "StationaryMobility"
  19. **.host*.mobility.initFromDisplayString = false
  20. **.host[0].mobility.initialX = 100m
  21. **.host[0].mobility.initialY = 200m
  22. **.host[1].mobility.initialY = 200m
  23. **.host[*].mobility.initialZ = 0m
  24. # ping app (host[0] pinged by others)
  25. *.host[0].numPingApps = 0
  26. *.host[*].numPingApps = 1
  27. *.host[*].pingApp[*].destAddr = "host[0]"
  28. **.wlan[*].radio.transmitter.power = 0.1mW
  29. **.wlan[*].radio.receiver.sensitivity = -109dBm
  30. **.wlan[*].radio.receiver.snirThreshold = 1dB
  31. **.wlan[*].typename = "Ieee80211Nic"
  32. **.wlan[*].radioType = "APSKScalarRadio"
  33. **.wlan[*].radio.carrierFrequency = 2.4GHz
  34. **.wlan[*].radio.receiver.energyDetection = -90dBm
  35. **.wlan[*].radio.receiver.channelSpacing = 20MHz
  36. **.wlan[*].radio.bandwidth = 20MHz
  37. ## Iteration
  38. #**.host[1].mobility.initialX = 100m + ${distance=240}m
  39. **.host[1].mobility.initialX = 100m + ${distance=110..610 step 5}m
  40. **.wlan[*].radio.**.levelOfDetail = ${detail="packet", "bit", "symbol"}
  41. **.wlan[*].radio.**.modulation = ${modulation="BPSK", "QPSK", "QAM-16", "QAM-64"}
  42. **.wlan[*].radio.**.fecType = ${fecType="", "ConvolutionalCoder"}
  43. **.bitrate = ${bitrate=$fecType == "" ? 36Mbps : 18Mbps} # we want to have the same 36Mbps gross bitrate (applying 1/2 code rate)
  44. ## Transmitter
  45. **.wlan[*].radio.transmitterType = "APSKLayeredTransmitter"
  46. **.wlan[*].radio.transmitter.encoderType = "APSKEncoder"
  47. **.wlan[*].radio.transmitter.modulatorType = "APSKModulator"
  48. # scrambler
  49. #**.wlan[*].radio.transmitter.scramblerType = "TODO"
  50. **.wlan[*].radio.transmitter.scrambler.seed = "1011101"
  51. **.wlan[*].radio.transmitter.scrambler.generatorPolynomial = "0001001"
  52. # FEC
  53. **.wlan[*].radio.transmitter.encoder.fecEncoder.transferFunctionMatrix = "1 3"
  54. **.wlan[*].radio.transmitter.encoder.fecEncoder.constraintLengthVector = "2"
  55. **.wlan[*].radio.transmitter.encoder.fecEncoder.puncturingMatrix = "1; 1"
  56. **.wlan[*].radio.transmitter.encoder.fecEncoder.punctureK = 1
  57. **.wlan[*].radio.transmitter.encoder.fecEncoder.punctureN = 2
  58. # interleaver
  59. # **.wlan[*].radio.transmitter.encoder.interleaverType = "TODO"
  60. ## Receiver
  61. **.wlan[*].radio.receiverType = "APSKLayeredReceiver"
  62. **.wlan[*].radio.receiver.errorModelType = "APSKLayeredErrorModel"
  63. **.wlan[*].radio.receiver.decoderType = "APSKDecoder"
  64. **.wlan[*].radio.receiver.demodulatorType = "APSKDemodulator"
  65. # descrambler
  66. #**.wlan[*].radio.receiver.scramblerType = "TODO"
  67. **.wlan[*].radio.receiver.descrambler.seed = "1011101"
  68. **.wlan[*].radio.receiver.descrambler.generatorPolynomial = "0001001"
  69. # FEC
  70. **.wlan[*].radio.receiver.decoder.fecDecoder.transferFunctionMatrix = "1 3"
  71. **.wlan[*].radio.receiver.decoder.fecDecoder.constraintLengthVector = "2"
  72. **.wlan[*].radio.receiver.decoder.fecDecoder.puncturingMatrix = "1; 1"
  73. **.wlan[*].radio.receiver.decoder.fecDecoder.punctureK = 1
  74. **.wlan[*].radio.receiver.decoder.fecDecoder.punctureN = 2
  75. # Deinterleaver
  76. # **.wlan[*].radio.receiver.decoder.deinterleaverType = "TODO"
  77. # MAC
  78. **.wlan[*].mac.controlBitrate = 1Mbps
  79. **.wlan[*].mac.dataBitrate = 54Mbps
  80. **.wlan[*].mac.basicBitrate = 54Mbps
  81. **.wlan[*].mac.multicastBitrate = 24Mbps