Skip to content

Commit

Permalink
scenarios/storyboard: fix CCH frequency in Veins config
Browse files Browse the repository at this point in the history
No packets have ever been received by Mac1609_4 because centerFrequency in config.xml
did not match the CCH's frequency hard-coded in Mac1609_4.cc:82

Change-Id: I7381f3c10f3871c8f4dae7c7fb7a9935dc299499
  • Loading branch information
riebl committed Jan 11, 2019
1 parent cff6d7c commit 50cf65b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions scenarios/storyboard/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
<root>
<AnalogueModels>
<AnalogueModel type="SimplePathlossModel">
<parameter name="carrierFrequency" type="double" value="5.90e+9"/>
<parameter name="carrierFrequency" type="double" value="5.89e9" />
</AnalogueModel>
</AnalogueModels>
<Decider type="Decider80211p">
<!-- The center frequency on which the phy listens-->
<parameter name="centerFrequency" type="double" value="5.90e9"/>
<!-- The center frequency on which the PHY listens -->
<!-- NOTE: CCH is hard-coded in Mac1609_4 at 5.89 GHz -->
<parameter name="centerFrequency" type="double" value="5.89e9"/>
</Decider>
</root>
2 changes: 1 addition & 1 deletion scenarios/storyboard/omnetpp.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ network = artery.veins.World

*.node[*].nic.mac1609_4.useAcks = true
*.node[*].nic.mac1609_4.useServiceChannel = false
*.node[*].nic.mac1609_4.txPower = 126mW
*.node[*].nic.mac1609_4.txPower = 200mW
*.node[*].nic.phy80211p.usePropagationDelay = true
*.node[*].nic.phy80211p.sensitivity = -89dBm
*.node[*].nic.phy80211p.useThermalNoise = true
Expand Down

0 comments on commit 50cf65b

Please sign in to comment.