an implementation of DSSS error rate model More...
#include "dsss-error-rate-model.h"
Static Public Member Functions | |
static double | DqpskFunction (double x) |
A function DQPSK. | |
static double | GetDsssDbpskSuccessRate (double sinr, uint64_t nbits) |
Return the chunk success rate of the differential BPSK. | |
static double | GetDsssDqpskCck11SuccessRate (double sinr, uint64_t nbits) |
Return the chunk success rate of the differential encoded QPSK for 11Mbps data rate. | |
static double | GetDsssDqpskCck5_5SuccessRate (double sinr, uint64_t nbits) |
Return the chunk success rate of the differential encoded QPSK for 5.5Mbps data rate. | |
static double | GetDsssDqpskSuccessRate (double sinr, uint64_t nbits) |
Return the chunk success rate of the differential encoded QPSK. | |
Static Protected Attributes | |
static const double | WLAN_SIR_IMPOSSIBLE = 0.1 |
WLAN impossible. | |
static const double | WLAN_SIR_PERFECT = 10.0 |
WLAN perfect. | |
an implementation of DSSS error rate model
The 802.11b modulations:
This model is designed to run with highest accuracy using the GNU Scientific Library (GSL), but if GSL is not installed on the platform, will fall back to (slightly less accurate) Matlab-derived models for the CCK modulation types.
More detailed description and validation can be found in http://www.nsnam.org/~pei/80211b.pdf
Definition at line 61 of file dsss-error-rate-model.h.
A function DQPSK.
x | the input variable |
Definition at line 33 of file dsss-error-rate-model.cc.
References NS_LOG_FUNCTION_NOARGS.
Referenced by GetDsssDqpskSuccessRate().
Return the chunk success rate of the differential BPSK.
sinr | the SINR ratio (not dB) of the chunk |
nbits | the size of the chunk |
Definition at line 41 of file dsss-error-rate-model.cc.
References NS_LOG_FUNCTION_NOARGS.
Referenced by WifiErrorRateModelsTestCaseDsss::DoRun(), and ns3::ErrorRateModel::GetChunkSuccessRate().
Return the chunk success rate of the differential encoded QPSK for 11Mbps data rate.
sinr | the SINR ratio (not dB) of the chunk |
nbits | the size of the chunk |
Definition at line 93 of file dsss-error-rate-model.cc.
References NS_LOG_DEBUG, NS_LOG_FUNCTION_NOARGS, NS_LOG_WARN, WLAN_SIR_IMPOSSIBLE, and WLAN_SIR_PERFECT.
Referenced by WifiErrorRateModelsTestCaseDsss::DoRun(), and ns3::ErrorRateModel::GetChunkSuccessRate().
|
static |
Return the chunk success rate of the differential encoded QPSK for 5.5Mbps data rate.
sinr | the SINR ratio (not dB) of the chunk |
nbits | the size of the chunk |
Definition at line 59 of file dsss-error-rate-model.cc.
References NS_LOG_FUNCTION_NOARGS, NS_LOG_WARN, WLAN_SIR_IMPOSSIBLE, and WLAN_SIR_PERFECT.
Referenced by WifiErrorRateModelsTestCaseDsss::DoRun(), and ns3::ErrorRateModel::GetChunkSuccessRate().
Return the chunk success rate of the differential encoded QPSK.
sinr | the SINR ratio (not dB) of the chunk |
nbits | the size of the chunk |
Definition at line 50 of file dsss-error-rate-model.cc.
References DqpskFunction(), and NS_LOG_FUNCTION_NOARGS.
Referenced by WifiErrorRateModelsTestCaseDsss::DoRun(), and ns3::ErrorRateModel::GetChunkSuccessRate().
|
staticprotected |
WLAN impossible.
Definition at line 119 of file dsss-error-rate-model.h.
Referenced by GetDsssDqpskCck11SuccessRate(), and GetDsssDqpskCck5_5SuccessRate().
|
staticprotected |
WLAN perfect.
Definition at line 117 of file dsss-error-rate-model.h.
Referenced by GetDsssDqpskCck11SuccessRate(), and GetDsssDqpskCck5_5SuccessRate().