From 245f685bf8626d74786b694e498a14cacda31f91 Mon Sep 17 00:00:00 2001 From: Levente Meszaros Date: Tue, 10 Dec 2024 15:25:42 +0100 Subject: [PATCH] Examples/showcases: Added sameTransmissionStartTimeCheck = "ignore" where required. --- examples/wireless/dynamic/omnetpp.ini | 3 +++ examples/wireless/hiddennode/omnetpp.ini | 3 +++ examples/wireless/hosttohost/omnetpp.ini | 3 +++ examples/wireless/qos/omnetpp.ini | 2 ++ examples/wireless/synchronized/omnetpp.ini | 5 +++-- examples/wireless/throughput/omnetpp.ini | 3 +++ showcases/wireless/crosstalk/omnetpp.ini | 3 +++ showcases/wireless/hiddennode/omnetpp.ini | 1 + 8 files changed, 21 insertions(+), 2 deletions(-) diff --git a/examples/wireless/dynamic/omnetpp.ini b/examples/wireless/dynamic/omnetpp.ini index f572a9490c5..e974ef451a9 100644 --- a/examples/wireless/dynamic/omnetpp.ini +++ b/examples/wireless/dynamic/omnetpp.ini @@ -18,6 +18,9 @@ network = DynamicRadioNetwork *.*Node.mobility.typename = "StationaryMobility" **.mobility.initFromDisplayString = false +# radio medium +*.radioMedium.sameTransmissionStartTimeCheck = "ignore" + # ping app (host[0] pinged by others) **.destinationNode.numApps = 0 **.sourceNode[*].numApps = 1 diff --git a/examples/wireless/hiddennode/omnetpp.ini b/examples/wireless/hiddennode/omnetpp.ini index 28a539c53ce..21ce32f6f8b 100644 --- a/examples/wireless/hiddennode/omnetpp.ini +++ b/examples/wireless/hiddennode/omnetpp.ini @@ -3,6 +3,9 @@ sim-time-limit = 5s network = HiddenNode description = "It is a wireless network for simulating the hidden node problem" +# radio medium +*.radioMedium.sameTransmissionStartTimeCheck = "ignore" + **.A.wlan.radio.receiver.energyDetection = -80dBm **.A.wlan.radio.receiver.sensitivity = -70dBm **.C.wlan.radio.receiver.energyDetection = -80dBm diff --git a/examples/wireless/hosttohost/omnetpp.ini b/examples/wireless/hosttohost/omnetpp.ini index 148e10bdbf1..7cb443c9ef0 100644 --- a/examples/wireless/hosttohost/omnetpp.ini +++ b/examples/wireless/hosttohost/omnetpp.ini @@ -22,6 +22,9 @@ network = Throughput **.cliHost[4].mobility.startAngle = 240deg **.cliHost[5].mobility.startAngle = 300deg +# radio medium +*.radioMedium.sameTransmissionStartTimeCheck = "ignore" + # access point **.ap.wlan[*].address = "10:00:00:00:00:00" **.srvHost.wlan.address = "20:00:00:00:00:00" diff --git a/examples/wireless/qos/omnetpp.ini b/examples/wireless/qos/omnetpp.ini index 0b2bbbe508e..fc95f877311 100644 --- a/examples/wireless/qos/omnetpp.ini +++ b/examples/wireless/qos/omnetpp.ini @@ -83,3 +83,5 @@ sim-time-limit = 10s extends = MacQos **.isBlockAckSupported = true +# radio medium +*.radioMedium.sameTransmissionStartTimeCheck = "ignore" diff --git a/examples/wireless/synchronized/omnetpp.ini b/examples/wireless/synchronized/omnetpp.ini index 0294c77a3f6..ff07bc7f959 100644 --- a/examples/wireless/synchronized/omnetpp.ini +++ b/examples/wireless/synchronized/omnetpp.ini @@ -20,12 +20,13 @@ network = Synchronized *.node[*].app[0].joinLocalMulticastGroups = true **.node[*].app[*].sendInterval = 20ms -#wlan - [Config Synchronized] sim-time-limit = 2s **.node[*].app[0].startTime = 20ms +# radio medium +*.radioMedium.sameTransmissionStartTimeCheck = "ignore" + [Config NonSynchronized] sim-time-limit = 2s **.node[*].app[0].startTime = uniform(20ms, 40ms) diff --git a/examples/wireless/throughput/omnetpp.ini b/examples/wireless/throughput/omnetpp.ini index 6da3eda7169..a5771ac8846 100644 --- a/examples/wireless/throughput/omnetpp.ini +++ b/examples/wireless/throughput/omnetpp.ini @@ -36,3 +36,6 @@ sim-time-limit = 10s description = "3 hosts to AP" Throughput.numCli = 3 +# radio medium +*.radioMedium.sameTransmissionStartTimeCheck = "ignore" + diff --git a/showcases/wireless/crosstalk/omnetpp.ini b/showcases/wireless/crosstalk/omnetpp.ini index a84d09a4482..be5960c631d 100644 --- a/showcases/wireless/crosstalk/omnetpp.ini +++ b/showcases/wireless/crosstalk/omnetpp.ini @@ -1,6 +1,9 @@ [General] #abstract-config = true (requires omnet 7) +# radio medium settings +*.radioMedium.sameTransmissionStartTimeCheck = "ignore" + # arp settings **.arp.typename = "GlobalArp" diff --git a/showcases/wireless/hiddennode/omnetpp.ini b/showcases/wireless/hiddennode/omnetpp.ini index 0ac70ed08d1..52aeff0337e 100644 --- a/showcases/wireless/hiddennode/omnetpp.ini +++ b/showcases/wireless/hiddennode/omnetpp.ini @@ -48,6 +48,7 @@ sim-time-limit = 5s *.hostB.app[0].localPort = 5000 # physical environment +*.radioMedium.sameTransmissionStartTimeCheck = "ignore" *.radioMedium.obstacleLoss.typename = "IdealObstacleLoss" [Config WallOnRtsOff]