Bug 1943 - Waveform generator signal duration calc error

This commit is contained in:
Sascha Alexander Jopen
2014-07-04 20:22:47 +02:00
parent 19653b4a77
commit 4078d90539
2 changed files with 2 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ Bugs fixed
- Bug 1930 - Use of invalid reference in OLSR RemoveLinkTuple
- Bug 1932 - NdiscCache entry is not failsafe on double neighbor probing.
- Bug 1937 - FlowMonitor fails to track multiplexed packets
- Bug 1943 - Waveform generator signal duration calc error
Known issues
------------

View File

@@ -194,7 +194,7 @@ WaveformGenerator::GenerateWaveform ()
NS_LOG_FUNCTION (this);
Ptr<SpectrumSignalParameters> txParams = Create<SpectrumSignalParameters> ();
txParams->duration = Time (m_period * m_dutyCycle);
txParams->duration = Time (m_period.GetTimeStep () * m_dutyCycle);
txParams->psd = m_txPowerSpectralDensity;
txParams->txPhy = GetObject<SpectrumPhy> ();
txParams->txAntenna = m_antenna;