A Discrete-Event Network Simulator
API
TestInterferenceHelper Class Reference
+ Inheritance diagram for TestInterferenceHelper:
+ Collaboration diagram for TestInterferenceHelper:

Additional Inherited Members

- Public Member Functions inherited from ns3::InterferenceHelper
 InterferenceHelper ()
 
 ~InterferenceHelper ()
 
Ptr< EventAdd (Ptr< const WifiPpdu > ppdu, WifiTxVector txVector, Time duration, RxPowerWattPerChannelBand rxPower)
 Add the PPDU-related signal to interference helper. More...
 
void AddBand (WifiSpectrumBand band)
 Add a frequency band. More...
 
void AddForeignSignal (Time duration, RxPowerWattPerChannelBand rxPower)
 Add a non-Wifi signal to interference helper. More...
 
struct InterferenceHelper::SnrPer CalculateHtPhyHeaderSnrPer (Ptr< Event > event, WifiSpectrumBand band) const
 Calculate the SNIR at the start of the HT PHY header and accumulate all SNIR changes in the SNIR vector. More...
 
struct InterferenceHelper::SnrPer CalculateNonHtPhyHeaderSnrPer (Ptr< Event > event, WifiSpectrumBand band) const
 Calculate the SNIR at the start of the non-HT PHY header and accumulate all SNIR changes in the SNIR vector. More...
 
struct InterferenceHelper::SnrPer CalculatePayloadSnrPer (Ptr< Event > event, uint16_t channelWidth, WifiSpectrumBand band, uint16_t staId, std::pair< Time, Time > relativeMpduStartStop) const
 Calculate the SNIR at the start of the payload and accumulate all SNIR changes in the SNIR vector for each MPDU of an A-MPDU. More...
 
double CalculateSnr (Ptr< Event > event, uint16_t channelWidth, uint8_t nss, WifiSpectrumBand band) const
 Calculate the SNIR for the event (starting from now until the event end). More...
 
void EraseEvents (void)
 Erase all events. More...
 
Time GetEnergyDuration (double energyW, WifiSpectrumBand band) const
 
Ptr< ErrorRateModelGetErrorRateModel (void) const
 Return the error rate model. More...
 
void NotifyRxEnd ()
 Notify that RX has ended. More...
 
void NotifyRxStart ()
 Notify that RX has started. More...
 
void RemoveBands (void)
 Remove the frequency bands. More...
 
void SetErrorRateModel (const Ptr< ErrorRateModel > rate)
 Set the error rate model for this interference helper. More...
 
void SetNoiseFigure (double value)
 Set the noise figure. More...
 
void SetNumberOfReceiveAntennas (uint8_t rx)
 Set the number of RX antennas in the receiver corresponding to this interference helper. More...
 
- Protected Member Functions inherited from ns3::InterferenceHelper
double CalculateChunkSuccessRate (double snir, Time duration, WifiMode mode, WifiTxVector txVector) const
 Calculate the success rate of the chunk given the SINR, duration, and Wi-Fi mode. More...
 
double CalculateSnr (double signal, double noiseInterference, uint16_t channelWidth, uint8_t nss) const
 Calculate SNR (linear ratio) from the given signal power and noise+interference power. More...
 

Detailed Description

Definition at line 298 of file wifi-error-rate-models-test.cc.


The documentation for this class was generated from the following file: