ns-3
ns3::ErrorRateModel Class Reference

the interface for Wifi's error models More...

#include <error-rate-model.h>

Inheritance diagram for ns3::ErrorRateModel:
Collaboration diagram for ns3::ErrorRateModel:

List of all members.

Public Member Functions

double CalculateSnr (WifiMode txMode, double ber) const
virtual double GetChunkSuccessRate (WifiMode mode, double snr, uint32_t nbits) const =0

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::ErrorRateModel.

Detailed Description

the interface for Wifi's error models


Member Function Documentation

double ns3::ErrorRateModel::CalculateSnr ( WifiMode  txMode,
double  ber 
) const
Parameters:
txModea specific transmission mode
bera target ber
Returns:
the snr which corresponds to the requested ber.

References NS_ASSERT.

Referenced by ns3::YansWifiPhy::CalculateSnr().

This method returns the TypeId associated to ns3::ErrorRateModel.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::ErrorRateModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::ErrorRateModel

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Object.

Reimplemented in ns3::YansErrorRateModel, and ns3::NistErrorRateModel.

References ns3::TypeId::SetParent().


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