omnetpp.ini 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. [General]
  2. network = Layered80211
  3. num-rngs = 3
  4. #debug-on-errors = true
  5. sim-time-limit = 5s
  6. **.vector-recording = false
  7. cmdenv-express-mode = false
  8. #record-eventlog = true
  9. tkenv-plugin-path = ../../../etc/plugins
  10. **.mobility.rng-0 = 1
  11. **.wlan[*].mac.rng-0 = 2
  12. **.constraintAreaMinX = 0m
  13. **.constraintAreaMinY = 0m
  14. **.constraintAreaMinZ = 0m
  15. **.constraintAreaMaxX = 600m
  16. **.constraintAreaMaxY = 400m
  17. **.constraintAreaMaxZ = 0m
  18. **.arpType = "GlobalARP"
  19. # mobility
  20. **.host*.mobilityType = "StationaryMobility"
  21. **.host*.mobility.initFromDisplayString = false
  22. **.host[0].mobility.initialX = 10m
  23. **.host[0].mobility.initialY = 20m
  24. **.host[1].mobility.initialX = 50m
  25. **.host[1].mobility.initialY = 20m
  26. **.host[*].mobility.initialZ = 0m
  27. # ping app (host[0] pinged by others)
  28. *.host[0].numPingApps = 0
  29. *.host[*].numPingApps = 1
  30. *.host[*].pingApp[*].destAddr = "host[0]"
  31. **.pingApp[*].printPing = true
  32. **.wlan[*].mgmt.frameCapacity = 10
  33. **.wlan[*].mac.address = "auto"
  34. **.wlan[*].mac.maxQueueSize = 14
  35. **.wlan[*].mac.rtsThresholdBytes = 3000B
  36. **.wlan[*].mac.retryLimit = 7
  37. **.wlan[*].mac.cwMinData = 7
  38. **.wlan[*].mac.cwMinBroadcast = 31
  39. **.wlan[*].radio.transmitter.power = 0.1mW
  40. **.wlan[*].radio.receiver.sensitivity = -100dBm
  41. **.wlan[*].radio.receiver.snirThreshold = 4dB
  42. **.wlan[*].typename = "Ieee80211Nic"
  43. **.wlan[*].radioType = "APSKScalarRadio"
  44. **.wlan[*].radio.carrierFrequency = 2.4GHz
  45. **.wlan[*].radio.receiver.energyDetection = -90dBm
  46. **.wlan[*].radio.receiver.channelSpacing = 20MHz
  47. **.wlan[*].radio.bandwidth = 20MHz
  48. # MAC
  49. **.wlan[*].mac.controlBitrate = 6Mbps
  50. **.wlan[*].mac.dataBitrate = 36Mbps
  51. **.wlan[*].mac.basicBitrate = 6Mbps
  52. **.wlan[*].mac.multicastBitrate = 24Mbps
  53. [Config LayeredCompliant80211Ping]
  54. description = "host1 pinging host0"
  55. *.numHosts = 2
  56. **.levelOfDetail = "symbol"
  57. **.isCompliant = true
  58. **.wlan[*].radio.transmitterType = "Ieee80211LayeredOFDMTransmitter"
  59. **.wlan[*].radio.receiver.errorModelType = "Ieee80211OFDMErrorModel"
  60. **.wlan[*].radio.receiverType = "Ieee80211LayeredOFDMReceiver"
  61. [Config LayeredNonCompliant80211Ping]
  62. description = "host1 pinging host0"
  63. **.levelOfDetail = "symbol"
  64. *.numHosts = 2
  65. ## Transmitter
  66. **.isCompliant = false
  67. **.wlan[*].radio.transmitterType = "Ieee80211LayeredOFDMTransmitter"
  68. **.wlan[*].radio.transmitter.channelSpacing = 20MHz
  69. **.wlan[*].radio.transmitter.signalEncoderType = "Ieee80211OFDMEncoder"
  70. **.wlan[*].radio.transmitter.signalModulatorType = "Ieee80211OFDMModulator"
  71. **.wlan[*].radio.transmitter.dataEncoderType = "Ieee80211OFDMEncoder"
  72. **.wlan[*].radio.transmitter.dataModulatorType = "Ieee80211OFDMModulator"
  73. **.wlan[*].radio.transmitter.dataEncoder.fecType = "ConvolutionalCoder"
  74. **.wlan[*].radio.transmitter.dataEncoder.scramblerType = "AdditiveScrambler"
  75. **.wlan[*].radio.transmitter.dataEncoder.interleaverType = "Ieee80211OFDMInterleaver"
  76. **.wlan[*].radio.transmitter.signalEncoder.fecType = "ConvolutionalCoder"
  77. **.wlan[*].radio.transmitter.signalEncoder.scramblerType = ""
  78. **.wlan[*].radio.transmitter.signalEncoder.interleaverType = "Ieee80211OFDMInterleaver"
  79. **.wlan[*].radio.transmitter.dataModulator.pilotSubcarrierPolarityVectorOffset = 0
  80. **.wlan[*].radio.transmitter.signalModulator.pilotSubcarrierPolarityVectorOffset = 0
  81. # Transmitter/receiver data scrambler/descrambler
  82. **.wlan[*].radio.**.seed = "1011101"
  83. **.wlan[*].radio.**.generatorPolynomial = "0001001"
  84. # Data interleaver
  85. **.wlan[*].radio.transmitter.dataEncoder.interleaver.numberOfCodedBitsPerSubcarrier = 4
  86. **.wlan[*].radio.transmitter.dataEncoder.interleaver.numberOfCodedBitsPerSymbol = 192
  87. # Signal interleaver
  88. **.wlan[*].radio.transmitter.signalEncoder.interleaver.numberOfCodedBitsPerSubcarrier = 1
  89. **.wlan[*].radio.transmitter.signalEncoder.interleaver.numberOfCodedBitsPerSymbol = 48
  90. # Data FEC
  91. **.wlan[*].radio.transmitter.dataEncoder.fecEncoder.transferFunctionMatrix = "133 171"
  92. **.wlan[*].radio.transmitter.dataEncoder.fecEncoder.constraintLengthVector = "7"
  93. **.wlan[*].radio.transmitter.dataEncoder.fecEncoder.puncturingMatrix = "1 1 0; 1 0 1"
  94. **.wlan[*].radio.transmitter.dataEncoder.fecEncoder.punctureK = 3
  95. **.wlan[*].radio.transmitter.dataEncoder.fecEncoder.punctureN = 4
  96. # Signal FEC
  97. **.wlan[*].radio.transmitter.signalEncoder.fecEncoder.transferFunctionMatrix = "133 171"
  98. **.wlan[*].radio.transmitter.signalEncoder.fecEncoder.constraintLengthVector = "7"
  99. **.wlan[*].radio.transmitter.signalEncoder.fecEncoder.puncturingMatrix = "1; 1"
  100. **.wlan[*].radio.transmitter.signalEncoder.fecEncoder.punctureK = 1
  101. **.wlan[*].radio.transmitter.signalEncoder.fecEncoder.punctureN = 2
  102. # Modulation
  103. **.wlan[*].radio.transmitter.signalModulator.subcarrierModulation = "BPSK"
  104. **.wlan[*].radio.transmitter.signalModulator.subcarrierPolarityVectorOffset = 0
  105. **.wlan[*].radio.transmitter.dataModulator.subcarrierModulation = "QAM-16"
  106. **.wlan[*].radio.transmitter.dataModulator.subcarrierPolarityVectorOffset = 1
  107. ## Receiver
  108. **.wlan[*].radio.receiverType = "Ieee80211LayeredOFDMReceiver"
  109. **.wlan[*].radio.receiver.dataDecoderType = "Ieee80211OFDMDecoder"
  110. **.wlan[*].radio.receiver.errorModelType = "Ieee80211OFDMErrorModel"
  111. **.wlan[*].radio.receiver.signalDecoderType = "Ieee80211OFDMDecoder"
  112. **.wlan[*].radio.receiver.signalDemodulatorType = "Ieee80211OFDMDemodulator"
  113. **.wlan[*].radio.receiver.dataDemodulatorType = "Ieee80211OFDMDemodulator"
  114. **.wlan[*].radio.receiver.dataDecoder.fecType = "ConvolutionalCoder"
  115. **.wlan[*].radio.receiver.dataDecoder.descramblerType = "AdditiveScrambler"
  116. **.wlan[*].radio.receiver.dataDecoder.deinterleaverType = "Ieee80211OFDMInterleaver"
  117. **.wlan[*].radio.receiver.signalDecoder.fecType = "ConvolutionalCoder"
  118. **.wlan[*].radio.receiver.signalDecoder.descramblerType = ""
  119. **.wlan[*].radio.receiver.signalDecoder.deinterleaverType = "Ieee80211OFDMInterleaver"
  120. # Data deinterleaver
  121. **.wlan[*].radio.receiver.dataDecoder.deinterleaver.numberOfCodedBitsPerSubcarrier = 4
  122. **.wlan[*].radio.receiver.dataDecoder.deinterleaver.numberOfCodedBitsPerSymbol = 192
  123. # Signal deinterleaver
  124. **.wlan[*].radio.receiver.signalDecoder.deinterleaver.numberOfCodedBitsPerSubcarrier = 1
  125. **.wlan[*].radio.receiver.signalDecoder.deinterleaver.numberOfCodedBitsPerSymbol = 48
  126. # Data FEC
  127. **.wlan[*].radio.receiver.dataDecoder.fecDecoder.transferFunctionMatrix = "133 171"
  128. **.wlan[*].radio.receiver.dataDecoder.fecDecoder.constraintLengthVector = "7"
  129. **.wlan[*].radio.receiver.dataDecoder.fecDecoder.puncturingMatrix = "1 1 0; 1 0 1"
  130. **.wlan[*].radio.receiver.dataDecoder.fecDecoder.punctureK = 3
  131. **.wlan[*].radio.receiver.dataDecoder.fecDecoder.punctureN = 4
  132. # Signal FEC
  133. **.wlan[*].radio.receiver.signalDecoder.fecDecoder.transferFunctionMatrix = "133 171"
  134. **.wlan[*].radio.receiver.signalDecoder.fecDecoder.constraintLengthVector = "7"
  135. **.wlan[*].radio.receiver.signalDecoder.fecDecoder.puncturingMatrix = "1; 1"
  136. **.wlan[*].radio.receiver.signalDecoder.fecDecoder.punctureK = 1
  137. **.wlan[*].radio.receiver.signalDecoder.fecDecoder.punctureN = 2
  138. # Modulation
  139. **.wlan[*].radio.receiver.signalDemodulator.subcarrierModulation = "BPSK"
  140. **.wlan[*].radio.receiver.dataDemodulator.subcarrierModulation = "QAM-16"
  141. # TODO: validation test.
  142. #[Config LayeredCompliant80211Validation]
  143. #extends = LayeredCompliant80211Ping
  144. #
  145. ## Constraints for valid (complaint) channel spacing and bitrate combinations
  146. #constraint = (($spacing == 5 && $headerBitrate == 1.5) || ($spacing == 10 && $headerBitrate == 3) || ($spacing == 20 && $headerBitrate == 6)) && (($dataBitrate == 12 && ($spacing == 20 || $spacing == 10 || $spacing == 5)) || ($dataBitrate == 24 && ($spacing == 20 || $spacing == 10)) || ($dataBitrate == 36 && $spacing == 20) || ($dataBitrate == 54 && $spacing == 20))
  147. #
  148. ## Mobility
  149. #**.host*.mobilityType = "StationaryMobility"
  150. #**.host*.mobility.initFromDisplayString = false
  151. #**.host[0].mobility.initialX = 100m
  152. #**.host[0].mobility.initialY = 200m
  153. #**.host[1].mobility.initialX = 100m + ${distance=110..300 step 5}m
  154. #**.host[1].mobility.initialY = 200m
  155. #**.host[*].mobility.initialZ = 0m
  156. #**.wlan[*].radio.**.levelOfDetail = ${detail="bit", "symbol"}
  157. #
  158. ## Iterations
  159. #**.channelSpacing = ${spacing=5,10,20}MHz
  160. #**.headerBitrate = ${headerBitrate = 1.5, 3, 6}Mbps
  161. ##**.dataBitrate = ${dataBitrate = 12, 24, 36, 54}Mbps