omnetpp.ini 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. [General]
  2. network = LevelofDetail
  3. sim-time-limit = 100s
  4. tkenv-plugin-path = ../../../etc/plugins
  5. description = "host1 pinging host0"
  6. cmdenv-express-mode = true
  7. **.vector-recording = false
  8. *.numHosts = 2
  9. **.arpType = "GlobalARP"
  10. **.constraintAreaMinX = 0m
  11. **.constraintAreaMinY = 0m
  12. **.constraintAreaMinZ = 0m
  13. **.constraintAreaMaxX = 1000m
  14. **.constraintAreaMaxY = 400m
  15. **.constraintAreaMaxZ = 0m
  16. # mobility
  17. **.host*.mobilityType = "StationaryMobility"
  18. **.host*.mobility.initFromDisplayString = false
  19. **.host[0].mobility.initialX = 100m
  20. **.host[0].mobility.initialY = 200m
  21. **.host[1].mobility.initialY = 200m
  22. **.host[*].mobility.initialZ = 0m
  23. # ping app (host[0] pinged by others)
  24. *.host[0].numPingApps = 0
  25. *.host[*].numPingApps = 1
  26. *.host[*].pingApp[*].destAddr = "host[0]"
  27. **.wlan[*].radio.transmitter.power = 0.1mW
  28. **.wlan[*].radio.receiver.sensitivity = -109dBm
  29. **.wlan[*].radio.receiver.snirThreshold = 1dB
  30. # TODO: this showcase should not use 802.11 NIC and all, switch to CsmaCaMac with new packet API
  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. **.wlan[*].bitrate = ${bitrate=$fecType == "" ? 36Mbps : 18Mbps} # we want to have the same 36Mbps gross bitrate (applying 1/2 code rate)
  44. **.wlan[*].mac.controlBitrate = 1Mbps # TODO: delete this line when switched to 802.11
  45. ## Transmitter
  46. **.wlan[*].radio.transmitterType = "APSKLayeredTransmitter"
  47. **.wlan[*].radio.transmitter.encoderType = "APSKEncoder"
  48. **.wlan[*].radio.transmitter.modulatorType = "APSKModulator"
  49. # scrambler
  50. #**.wlan[*].radio.transmitter.scramblerType = "TODO"
  51. **.wlan[*].radio.transmitter.scrambler.seed = "1011101"
  52. **.wlan[*].radio.transmitter.scrambler.generatorPolynomial = "0001001"
  53. # FEC
  54. **.wlan[*].radio.transmitter.encoder.fecEncoder.transferFunctionMatrix = "1 3"
  55. **.wlan[*].radio.transmitter.encoder.fecEncoder.constraintLengthVector = "2"
  56. **.wlan[*].radio.transmitter.encoder.fecEncoder.puncturingMatrix = "1; 1"
  57. **.wlan[*].radio.transmitter.encoder.fecEncoder.punctureK = 1
  58. **.wlan[*].radio.transmitter.encoder.fecEncoder.punctureN = 2
  59. # interleaver
  60. # **.wlan[*].radio.transmitter.encoder.interleaverType = "TODO"
  61. ## Receiver
  62. **.wlan[*].radio.receiverType = "APSKLayeredReceiver"
  63. **.wlan[*].radio.receiver.errorModelType = "APSKLayeredErrorModel"
  64. **.wlan[*].radio.receiver.decoderType = "APSKDecoder"
  65. **.wlan[*].radio.receiver.demodulatorType = "APSKDemodulator"
  66. # descrambler
  67. #**.wlan[*].radio.receiver.scramblerType = "TODO"
  68. **.wlan[*].radio.receiver.descrambler.seed = "1011101"
  69. **.wlan[*].radio.receiver.descrambler.generatorPolynomial = "0001001"
  70. # FEC
  71. **.wlan[*].radio.receiver.decoder.fecDecoder.transferFunctionMatrix = "1 3"
  72. **.wlan[*].radio.receiver.decoder.fecDecoder.constraintLengthVector = "2"
  73. **.wlan[*].radio.receiver.decoder.fecDecoder.puncturingMatrix = "1; 1"
  74. **.wlan[*].radio.receiver.decoder.fecDecoder.punctureK = 1
  75. **.wlan[*].radio.receiver.decoder.fecDecoder.punctureN = 2
  76. # Deinterleaver
  77. # **.wlan[*].radio.receiver.decoder.deinterleaverType = "TODO"