include omnetpp.ini [Config IterationPacketSize] sim-time-limit = 1s #abstract-config = true (requires omnet 7) *.wifiHost1.app[0].messageLength = ${packetSize=100,200,300,400,500,750,1000,1500,2000,3000,4000,5000,6000}B **.fragmentationThreshold = int((${packetSize} + 8 + 20 + 8 + 15) / 16) * 1B + 24B + 4B # (APP + UDP + IP + LLC) / 16 rounded up + (MAC header + MAC trailer) **.mtu = 12250B [Config PacketSizeDCFnofrag] extends = IterationPacketSize **.fragmentationThreshold = 2250B [Config PacketSizeDCFfrag] #extends = DCFnofrag extends = IterationPacketSize [Config PacketSizeHCFfrag] extends = IterationPacketSize **.fragmentationThreshold = int((${packetSize} + 8 + 20 + 8 + 15) / 16) * 1B + 26B + 4B # (APP + UDP + IP + LLC) / 16 rounded up + (MAC header + MAC trailer) *.*.wlan[*].mac.qosStation = true *.*.wlan[*].mac.hcf.isBlockAckSupported = false **.wlan[*].classifier.typename = "QosClassifier" **.mac.hcf.originatorMacDataService.msduAggregationPolicy.typename = "" *.wifiHost1.app[0].destPort = 4000 *.wifiHost2.app[0].localPort = 4000 [Config PacketSizeHCFfragblockack] extends = PacketSizeHCFfrag **.fragmentationThreshold = int((${packetSize} + 8 + 20 + 8 + 15) / 16) * 1B + 26B + 4B # (APP + UDP + IP + LLC) / 16 rounded up + (MAC header + MAC trailer) *.*.wlan[*].mac.hcf.isBlockAckSupported = true [Config IterationTxPower] sim-time-limit = 10s #abstract-config = true (requires omnet 7) *.wifiHost*.wlan[*].radio.transmitter.power = ${txPower=0.06..0.16 step 0.005}mW [Config TxPowerDCFnofrag] extends = IterationTxPower **.fragmentationThreshold = 2250B [Config TxPowerDCFfrag] extends = IterationTxPower **.fragmentationThreshold = 250B [Config TxPowerHCFfrag] extends = IterationTxPower **.fragmentationThreshold = 250B *.*.wlan[*].mac.qosStation = true *.*.wlan[*].mac.hcf.isBlockAckSupported = false **.wlan[*].classifier.typename = "QosClassifier" **.mac.hcf.originatorMacDataService.msduAggregationPolicy.typename = "" *.wifiHost1.app[0].destPort = 4000 *.wifiHost2.app[0].localPort = 4000 [Config TxPowerHCFfragblockack] extends = TxPowerHCFfrag, IterationTxPower *.*.wlan[*].mac.hcf.isBlockAckSupported = true [Config ThresholdIteration] sim-time-limit = 10s #abstract-config = true (requires omnet 7) **.fragmentationThreshold = ${threshold=100..1000 step 100}B **.mtu = 12500B *.wifiHost1.app[0].messageLength = 1000Byte #[Config ThresholdDCFnofrag] #**.fragmentationThreshold = ${threshold=1250}B # #*.wifiHost1.app[0].messageLength = 1000Byte [Config ThresholdDCFfrag] extends = ThresholdIteration [Config ThresholdHCFfrag] extends = ThresholdIteration *.*.wlan[*].mac.qosStation = true **.wlan[*].classifier.typename = "QosClassifier" **.mac.hcf.originatorMacDataService.msduAggregationPolicy.typename = "" [Config ThresholdHCFfragblockack] extends = ThresholdHCFfrag,ThresholdIteration **.maxBlockAckPolicyFrameLength = 2000B *.*.wlan[*].mac.hcf.isBlockAckSupported = true [Config OnlyPacketSizeIteration] sim-time-limit = 10s #abstract-config = true (requires omnet 7) *.wifiHost1.app[0].messageLength = ${packetSize=100,200,300,400,500,750,1000,1500,2000,2500}B **.mtu = 12500B [Config OnlyPacketSizeDCFnofrag] extends = OnlyPacketSizeIteration **.fragmentationThreshold = 2250B [Config OnlyPacketSizeDCFfrag] extends = OnlyPacketSizeIteration **.fragmentationThreshold = 250B [Config OnlyPacketSizeHCFfrag] extends = OnlyPacketSizeIteration **.fragmentationThreshold = 250B *.*.wlan[*].mac.qosStation = true **.wlan[*].classifier.typename = "QosClassifier" **.mac.hcf.originatorMacDataService.msduAggregationPolicy.typename = "" [Config OnlyPacketSizeHCFfragblockack] extends = OnlyPacketSizeHCFfrag,OnlyPacketSizeIteration #expected-result = "ERROR" **.maxBlockAckPolicyFrameLength = 2000B *.*.wlan[*].mac.hcf.isBlockAckSupported = true