A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
dsss-error-rate-model.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2010 The Boeing Company
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Gary Pei <guangyu.pei@boeing.com>
18
*/
19
20
#ifndef DSSS_ERROR_RATE_MODEL_H
21
#define DSSS_ERROR_RATE_MODEL_H
22
23
#include <cstdint>
24
25
namespace
ns3
26
{
27
28
#ifdef HAVE_GSL
32
struct
FunctionParameters
33
{
34
double
beta;
35
double
n;
36
};
37
46
double
IntegralFunction(
double
x
,
void
*
params
);
47
#endif
48
72
class
DsssErrorRateModel
73
{
74
public
:
82
static
double
DqpskFunction
(
double
x
);
91
static
double
GetDsssDbpskSuccessRate
(
double
sinr, uint64_t nbits);
100
static
double
GetDsssDqpskSuccessRate
(
double
sinr, uint64_t nbits);
110
static
double
GetDsssDqpskCck5_5SuccessRate
(
double
sinr, uint64_t nbits);
120
static
double
GetDsssDqpskCck11SuccessRate
(
double
sinr, uint64_t nbits);
121
#ifdef HAVE_GSL
122
static
double
SymbolErrorProb16Cck(
double
e2);
123
static
double
SymbolErrorProb256Cck(
double
e1);
124
#else
125
126
protected
:
128
static
const
double
WLAN_SIR_PERFECT
;
130
static
const
double
WLAN_SIR_IMPOSSIBLE
;
131
#endif
132
};
133
134
}
// namespace ns3
135
136
#endif
/* DSSS_ERROR_RATE_MODEL_H */
ns3::DsssErrorRateModel
an implementation of DSSS error rate model
Definition:
dsss-error-rate-model.h:73
ns3::DsssErrorRateModel::GetDsssDqpskSuccessRate
static double GetDsssDqpskSuccessRate(double sinr, uint64_t nbits)
Return the chunk success rate of the differential encoded QPSK.
Definition:
dsss-error-rate-model.cc:61
ns3::DsssErrorRateModel::WLAN_SIR_PERFECT
static const double WLAN_SIR_PERFECT
WLAN perfect.
Definition:
dsss-error-rate-model.h:128
ns3::DsssErrorRateModel::GetDsssDbpskSuccessRate
static double GetDsssDbpskSuccessRate(double sinr, uint64_t nbits)
Return the chunk success rate of the differential BPSK.
Definition:
dsss-error-rate-model.cc:52
ns3::DsssErrorRateModel::GetDsssDqpskCck5_5SuccessRate
static double GetDsssDqpskCck5_5SuccessRate(double sinr, uint64_t nbits)
Return the chunk success rate of the differential encoded QPSK for 5.5Mbps data rate.
Definition:
dsss-error-rate-model.cc:70
ns3::DsssErrorRateModel::GetDsssDqpskCck11SuccessRate
static double GetDsssDqpskCck11SuccessRate(double sinr, uint64_t nbits)
Return the chunk success rate of the differential encoded QPSK for 11Mbps data rate.
Definition:
dsss-error-rate-model.cc:104
ns3::DsssErrorRateModel::WLAN_SIR_IMPOSSIBLE
static const double WLAN_SIR_IMPOSSIBLE
WLAN impossible.
Definition:
dsss-error-rate-model.h:130
ns3::DsssErrorRateModel::DqpskFunction
static double DqpskFunction(double x)
A function DQPSK.
Definition:
dsss-error-rate-model.cc:44
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
two-ray-to-three-gpp-ch-calibration.params
params
Fit Fluctuating Two Ray model to the 3GPP TR 38.901 using the Anderson-Darling goodness-of-fit ##.
Definition:
two-ray-to-three-gpp-ch-calibration.py:514
two-ray-to-three-gpp-ch-calibration.x
x
Definition:
two-ray-to-three-gpp-ch-calibration.py:603
src
wifi
model
non-ht
dsss-error-rate-model.h
Generated on Sun Mar 3 2024 17:11:11 for ns-3 by
1.9.1