This class defines all functions to create spectrum model for lte. More...
#include "lte-spectrum-value-helper.h"
Static Public Member Functions | |
| static Ptr< SpectrumValue > | CreateNoisePowerSpectralDensity (uint16_t earfcn, uint8_t bandwidth, double noiseFigure) | 
| create a SpectrumValue that models the power spectral density of AWGN  More... | |
| static Ptr< SpectrumValue > | CreateNoisePowerSpectralDensity (double noiseFigure, Ptr< SpectrumModel > spectrumModel) | 
| create a SpectrumValue that models the power spectral density of AWGN  More... | |
| static Ptr< SpectrumValue > | CreateTxPowerSpectralDensity (uint16_t earfcn, uint8_t bandwidth, double powerTx, std::vector< int > activeRbs) | 
| create a spectrum value representing the power spectral density of a signal to be transmitted.  More... | |
| static Ptr< SpectrumValue > | CreateTxPowerSpectralDensity (uint16_t earfcn, uint8_t bandwidth, double powerTx, std::map< int, double > powerTxMap, std::vector< int > activeRbs) | 
| create a spectrum value representing the power spectral density of a signal to be transmitted.  More... | |
| static double | GetCarrierFrequency (uint16_t earfcn) | 
| Calculates the carrier frequency from the E-UTRA Absolute Radio Frequency Channel Number (EARFCN) according to 3GPP TS 36.101 section 5.7.3 "Carrier frequency and EARFCN".  More... | |
| static double | GetChannelBandwidth (uint8_t txBandwidthConf) | 
| static double | GetDownlinkCarrierFrequency (uint16_t earfcn) | 
| Calculates the dowlink carrier frequency from the E-UTRA Absolute Radio Frequency Channel Number (EARFCN) using the formula in 3GPP TS 36.101 section 5.7.3 "Carrier frequency and EARFCN".  More... | |
| static Ptr< SpectrumModel > | GetSpectrumModel (uint16_t earfcn, uint8_t bandwidth) | 
| static double | GetUplinkCarrierFrequency (uint16_t earfcn) | 
| Calculates the uplink carrier frequency from the E-UTRA Absolute Radio Frequency Channel Number (EARFCN) using the formula in 3GPP TS 36.101 section 5.7.3 "Carrier frequency and EARFCN".  More... | |
This class defines all functions to create spectrum model for lte.
Definition at line 36 of file lte-spectrum-value-helper.h.
      
  | 
  static | 
create a SpectrumValue that models the power spectral density of AWGN
| earfcn | the carrier frequency (EARFCN) at which reception is made | 
| bandwidth | the Transmission Bandwidth Configuration in number of resource blocks | 
| noiseFigure | the noise figure in dB w.r.t. a reference temperature of 290K | 
Definition at line 299 of file lte-spectrum-value-helper.cc.
References GetSpectrumModel(), and NS_LOG_FUNCTION.
Referenced by ns3::LteEnbPhy::DoInitialize(), and ns3::LteUePhy::DoSetDlBandwidth().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
create a SpectrumValue that models the power spectral density of AWGN
| noiseFigure | the noise figure in dB w.r.t. a reference temperature of 290K | 
| spectrumModel | the SpectrumModel instance to be used | 
Definition at line 307 of file lte-spectrum-value-helper.cc.
References NS_LOG_FUNCTION.
      
  | 
  static | 
create a spectrum value representing the power spectral density of a signal to be transmitted.
See 3GPP TS 36.101 for a definition of most of the parameters described here.
| earfcn | the carrier frequency (EARFCN) of the transmission | 
| bandwidth | the Transmission Bandwidth Configuration in number of resource blocks | 
| powerTx | the total power in dBm over the whole bandwidth | 
| activeRbs | the list of Active Resource Blocks (PRBs) | 
Definition at line 235 of file lte-spectrum-value-helper.cc.
References GetSpectrumModel(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by ns3::LteUePhy::CreateTxPowerSpectralDensity(), ns3::LteEnbPhy::CreateTxPowerSpectralDensity(), and ns3::LteEnbPhy::CreateTxPowerSpectralDensityWithPowerAllocation().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
create a spectrum value representing the power spectral density of a signal to be transmitted.
See 3GPP TS 36.101 for a definition of most of the parameters described here.
| earfcn | the carrier frequency (EARFCN) of the transmission | 
| bandwidth | the Transmission Bandwidth Configuration in number of resource blocks | 
| powerTx | the total power in dBm over the whole bandwidth | 
| powerTxMap | the map of power in dBm for each RB, if map contain power for RB, powerTx is not used for this RB, otherwise powerTx is set for this RB | 
| activeRbs | the list of Active Resource Blocks (PRBs) | 
Definition at line 259 of file lte-spectrum-value-helper.cc.
References GetSpectrumModel(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.
 Here is the call graph for this function:
      
  | 
  static | 
Calculates the carrier frequency from the E-UTRA Absolute Radio Frequency Channel Number (EARFCN) according to 3GPP TS 36.101 section 5.7.3 "Carrier frequency and EARFCN".
| earfcn | the EARFCN | 
Definition at line 101 of file lte-spectrum-value-helper.cc.
References GetDownlinkCarrierFrequency(), GetUplinkCarrierFrequency(), and NS_LOG_FUNCTION.
Referenced by GetSpectrumModel(), and ns3::LteHelper::InstallSingleEnbDevice().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
| txBandwidthConf | the tranmission bandwidth configuration in number of resource blocks | 
Definition at line 151 of file lte-spectrum-value-helper.cc.
References NS_FATAL_ERROR, and NS_LOG_FUNCTION.
      
  | 
  static | 
Calculates the dowlink carrier frequency from the E-UTRA Absolute Radio Frequency Channel Number (EARFCN) using the formula in 3GPP TS 36.101 section 5.7.3 "Carrier frequency and EARFCN".
| earfcn | the EARFCN | 
Definition at line 117 of file lte-spectrum-value-helper.cc.
References ns3::EutraChannelNumbers::fDlLow, ns3::g_eutraChannelNumbers, ns3::EutraChannelNumbers::nOffsDl, NS_LOG_ERROR, NS_LOG_FUNCTION, NS_LOG_LOGIC, and NUM_EUTRA_BANDS.
Referenced by GetCarrierFrequency().
 Here is the caller graph for this function:
      
  | 
  static | 
| earfcn | the carrier frequency (EARFCN) at which reception is made | 
| bandwidth | the Transmission Bandwidth Configuration in number of resource blocks | 
Definition at line 200 of file lte-spectrum-value-helper.cc.
References ns3::BandInfo::fc, ns3::BandInfo::fh, ns3::BandInfo::fl, GetCarrierFrequency(), ns3::SpectrumModel::GetUid(), NS_ASSERT_MSG, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by CreateNoisePowerSpectralDensity(), CreateTxPowerSpectralDensity(), and ns3::RadioEnvironmentMapHelper::DelayedInstall().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Calculates the uplink carrier frequency from the E-UTRA Absolute Radio Frequency Channel Number (EARFCN) using the formula in 3GPP TS 36.101 section 5.7.3 "Carrier frequency and EARFCN".
| earfcn | the EARFCN | 
Definition at line 134 of file lte-spectrum-value-helper.cc.
References ns3::EutraChannelNumbers::fUlLow, ns3::g_eutraChannelNumbers, ns3::EutraChannelNumbers::nOffsUl, NS_LOG_ERROR, NS_LOG_FUNCTION, NS_LOG_LOGIC, and NUM_EUTRA_BANDS.
Referenced by GetCarrierFrequency().
 Here is the caller graph for this function: