|
ns-3
|
the interface for Wifi's error models More...
#include <error-rate-model.h>


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. | |
the interface for Wifi's error models
| double ns3::ErrorRateModel::CalculateSnr | ( | WifiMode | txMode, |
| double | ber | ||
| ) | const |
| txMode | a specific transmission mode |
| ber | a target ber |
References NS_ASSERT.
Referenced by ns3::YansWifiPhy::CalculateSnr().
| TypeId ns3::ErrorRateModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::ErrorRateModel.
This object is accessible through the following paths with Config::Set and Config::Connect:
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().