A Discrete-Event Network Simulator
API
wifi-utils.h File Reference
#include "wifi-mode.h"
#include "ns3/nstime.h"
#include "ns3/uinteger.h"
+ Include dependency graph for wifi-utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

uint16_t ns3::ConvertGuardIntervalToNanoSeconds (WifiMode mode, bool htShortGuardInterval, Time heGuardInterval)
 Convert the guard interval to nanoseconds based on the wifimode. More...
 
double ns3::DbmToW (double dbm)
 Convert from dBm to Watts. More...
 
double ns3::DbToRatio (double db)
 Convert from dB to ratio. More...
 
double ns3::Log2 (double val)
 Return the logarithm of the given value to base 2. More...
 
double ns3::RatioToDb (double ratio)
 Convert from ratio to dB. More...
 
double ns3::WToDbm (double w)
 Convert from Watts to dBm. More...