Implements WifiSpectrumValue for the 2.4 GHz ISM band only, with a 5 MHz spectrum resolution. More...
#include "wifi-spectrum-value-helper.h"
Public Member Functions | |
virtual | ~WifiSpectrumValue5MhzFactory () |
virtual Ptr< SpectrumValue > | CreateConstant (double psd) |
Creates a SpectrumValue instance which has a constant value for all frequencies. More... | |
virtual Ptr< SpectrumValue > | CreateRfFilter (uint32_t channel) |
Creates a pectrumValue instance which represents the frequency response of the RF filter which is used by a wifi device to receive signals when tuned to a particular channel. More... | |
virtual Ptr< SpectrumValue > | CreateTxPowerSpectralDensity (double txPower, uint32_t channel) |
Creates a SpectrumValue instance which represents the TX Power Spectral Density of a wifi device corresponding to the provided parameters. More... | |
![]() | |
virtual | ~WifiSpectrumValueHelper () |
Implements WifiSpectrumValue for the 2.4 GHz ISM band only, with a 5 MHz spectrum resolution.
Definition at line 85 of file wifi-spectrum-value-helper.h.
|
virtual |
Definition at line 33 of file wifi-spectrum-value-helper.cc.
|
virtual |
Creates a SpectrumValue instance which has a constant value for all frequencies.
psd | the constant value |
Implements ns3::WifiSpectrumValueHelper.
Definition at line 61 of file wifi-spectrum-value-helper.cc.
References ns3::g_WifiSpectrumModel5Mhz.
Referenced by SpectrumIdealPhyTestCase::DoRun().
|
virtual |
Creates a pectrumValue instance which represents the frequency response of the RF filter which is used by a wifi device to receive signals when tuned to a particular channel.
channel | the number of the channel |
Implements ns3::WifiSpectrumValueHelper.
Definition at line 104 of file wifi-spectrum-value-helper.cc.
References ns3::g_WifiSpectrumModel5Mhz, and NS_ASSERT.
|
virtual |
Creates a SpectrumValue instance which represents the TX Power Spectral Density of a wifi device corresponding to the provided parameters.
txPower | the total TX power in W |
channel | the number of the channel |
Implements ns3::WifiSpectrumValueHelper.
Definition at line 70 of file wifi-spectrum-value-helper.cc.
References third::channel, ns3::g_WifiSpectrumModel5Mhz, and NS_ASSERT.
Referenced by SpectrumIdealPhyTestCase::DoRun().