A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
80211b.c File Reference
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_sf_bessel.h>
+ Include dependency graph for 80211b.c:

Go to the source code of this file.

Classes

struct  fn_parameters
 fn_parameter_t structure More...
 

Macros

#define max(a, b)   ((a) > (b) ? (a) : (b))
 
#define min(a, b)   ((a) < (b) ? (a) : (b))
 
#define WLAN_SIR_impossible   0.1
 
#define WLAN_SIR_perfect   10.0
 

Functions

double DbToNoneDb (double x)
 
double DQPSKFunction (double x)
 
double f (double x, void *params)
 
double Get80211bDsssDbpskBer (double sinr)
 
double Get80211bDsssDbpskBerIeee (double EcNc)
 
double Get80211bDsssDqpskBer (double sinr)
 
double Get80211bDsssDqpskBerIeee (double EcNc)
 
double Get80211bDsssDqpskCCK11BerIeee (double EcNc)
 
double Get80211bDsssDqpskCCK5_5BerIeee (double EcNc)
 
double NoneDbToDb (double x)
 
double p_e1 (double e1)
 
double p_e2 (double e2)
 
double QFunction (double x)
 

Macro Definition Documentation

◆ max

#define max (   a,
 
)    ((a) > (b) ? (a) : (b))

Definition at line 42 of file 80211b.c.

◆ min

#define min (   a,
 
)    ((a) < (b) ? (a) : (b))

Definition at line 41 of file 80211b.c.

◆ WLAN_SIR_impossible

#define WLAN_SIR_impossible   0.1

Definition at line 44 of file 80211b.c.

◆ WLAN_SIR_perfect

#define WLAN_SIR_perfect   10.0

Definition at line 43 of file 80211b.c.

Function Documentation

◆ DbToNoneDb()

double DbToNoneDb ( double  x)

Definition at line 107 of file 80211b.c.

◆ DQPSKFunction()

double DQPSKFunction ( double  x)

Definition at line 119 of file 80211b.c.

Referenced by Get80211bDsssDqpskBer().

+ Here is the caller graph for this function:

◆ f()

double f ( double  x,
void *  params 
)

Definition at line 70 of file 80211b.c.

References f().

Referenced by ns3::Callback< R, UArgs >::Callback(), LteEarfcnTestCase::LteEarfcnTestCase(), SpectrumConverterTestSuite::SpectrumConverterTestSuite(), SpectrumValueTestSuite::SpectrumValueTestSuite(), ns3::static_SpectrumModel300Khz300GhzLog_initializer::static_SpectrumModel300Khz300GhzLog_initializer(), ns3::EpcTft::Add(), ns3::Callback< R, UArgs >::BindImpl(), ns3::FriisSpectrumPropagationLossModel::CalculateLoss(), ns3::ShowProgress::CheckProgress(), ns3::QueueDisc::Classify(), ComputeSnr(), CreateTxPowerSpectralDensity(), OverallGainAverageTest::CreateTxPowerSpectralDensity(), ns3::tests::MatrixArrayTestCase< T >::DoRun(), LteEarfcnTestCase::DoRun(), LteEarfcnDlTestCase::DoRun(), LteEarfcnUlTestCase::DoRun(), WriteModeCreateTestCase::DoRun(), ReadModeCreateTestCase::DoRun(), FileHeaderTestCase::DoRun(), RecordHeaderTestCase::DoRun(), ReadFileTestCase::DoRun(), DiffTestCase::DoRun(), f(), ns3::RandomRoomPositionAllocator::GetNext(), ns3::WifiSpectrumValueHelper::GetSpectrumModel(), ns3::LteSpectrumValueHelper::GetSpectrumModel(), ns3::MakeEvent(), ns3::operator<<(), p_e2(), PhyStateTrace(), RemainingEnergyTrace(), ns3::Simulator::Schedule(), ns3::Simulator::ScheduleDestroy(), ns3::Simulator::ScheduleNow(), ns3::Simulator::ScheduleWithContext(), ns3::aodv::RrepHeader::SetAckRequired(), ns3::aodv::RoutingProtocol::SetBroadcastEnable(), ns3::aodv::RreqHeader::SetDestinationOnly(), ns3::aodv::RoutingProtocol::SetDestinationOnlyFlag(), ns3::dsdv::RoutingProtocol::SetEnableBufferFlag(), ns3::dsdv::RoutingProtocol::SetEnableRAFlag(), ns3::dsr::DsrPassiveBuffEntry::SetFragmentOffset(), ns3::ThreeGppPropagationLossModel::SetFrequency(), ns3::ThreeGppChannelModel::SetFrequency(), ns3::TwoRaySpectrumPropagationLossModel::SetFrequency(), ns3::aodv::RoutingProtocol::SetGratuitousReplyFlag(), ns3::aodv::RreqHeader::SetGratuitousRrep(), ns3::aodv::RoutingProtocol::SetHelloEnable(), ns3::aodv::RerrHeader::SetNoDelete(), ns3::LrWpanSpectrumValueHelper::SetNoiseFactor(), ns3::AnimationInterface::SetOutputFile(), ns3::SpectrumAnalyzer::SetRxSpectrumModel(), ns3::WifiHelper::SetSelectQueueCallback(), ns3::aodv::RreqHeader::SetUnknownSeqno(), ns3::dsdv::RoutingProtocol::SetWSTFlag(), ns3::AnimationInterface::WriteN(), and ns3::AnimationInterface::WriteXmlAnim().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Get80211bDsssDbpskBer()

double Get80211bDsssDbpskBer ( double  sinr)

Definition at line 146 of file 80211b.c.

◆ Get80211bDsssDbpskBerIeee()

double Get80211bDsssDbpskBerIeee ( double  EcNc)

Definition at line 127 of file 80211b.c.

References min, QFunction(), WLAN_SIR_impossible, and WLAN_SIR_perfect.

+ Here is the call graph for this function:

◆ Get80211bDsssDqpskBer()

double Get80211bDsssDqpskBer ( double  sinr)

Definition at line 173 of file 80211b.c.

References DQPSKFunction().

+ Here is the call graph for this function:

◆ Get80211bDsssDqpskBerIeee()

double Get80211bDsssDqpskBerIeee ( double  EcNc)

Definition at line 154 of file 80211b.c.

References min, QFunction(), WLAN_SIR_impossible, and WLAN_SIR_perfect.

+ Here is the call graph for this function:

◆ Get80211bDsssDqpskCCK11BerIeee()

double Get80211bDsssDqpskCCK11BerIeee ( double  EcNc)

Definition at line 203 of file 80211b.c.

References min, QFunction(), WLAN_SIR_impossible, and WLAN_SIR_perfect.

+ Here is the call graph for this function:

◆ Get80211bDsssDqpskCCK5_5BerIeee()

double Get80211bDsssDqpskCCK5_5BerIeee ( double  EcNc)

Definition at line 182 of file 80211b.c.

References min, QFunction(), WLAN_SIR_impossible, and WLAN_SIR_perfect.

+ Here is the call graph for this function:

◆ NoneDbToDb()

double NoneDbToDb ( double  x)

Definition at line 113 of file 80211b.c.

◆ p_e1()

double p_e1 ( double  e1)

Definition at line 101 of file 80211b.c.

References p_e2().

+ Here is the call graph for this function:

◆ p_e2()

double p_e2 ( double  e2)

Definition at line 80 of file 80211b.c.

References f().

Referenced by p_e1().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QFunction()

double QFunction ( double  x)

Definition at line 64 of file 80211b.c.

Referenced by Get80211bDsssDbpskBerIeee(), Get80211bDsssDqpskBerIeee(), Get80211bDsssDqpskCCK11BerIeee(), and Get80211bDsssDqpskCCK5_5BerIeee().

+ Here is the caller graph for this function: