A Discrete-Event Network Simulator
API
wifi-phy-common.cc File Reference
#include "wifi-phy-common.h"
#include "wifi-mode.h"
#include "wifi-net-device.h"
#include "ns3/ht-configuration.h"
#include "ns3/he-configuration.h"
+ Include dependency graph for wifi-phy-common.cc:

Go to the source code of this file.

Namespaces

namespace  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...
 
uint16_t ns3::ConvertGuardIntervalToNanoSeconds (WifiMode mode, const Ptr< WifiNetDevice > device)
 Convert the guard interval to nanoseconds based on the WifiMode. More...
 
uint16_t ns3::GetChannelWidthForTransmission (WifiMode mode, uint16_t maxAllowedChannelWidth)
 Return the channel width that is allowed based on the selected mode and the given maximum channel width. More...
 
uint16_t ns3::GetChannelWidthForTransmission (WifiMode mode, uint16_t operatingChannelWidth, uint16_t maxSupportedChannelWidth)
 Return the channel width that is allowed based on the selected mode, the current width of the operating channel and the maximum channel width supported by the receiver. More...
 
WifiModulationClass ns3::GetModulationClassForStandard (WifiStandard standard)
 Return the modulation class corresponding to a given standard. More...
 
Time ns3::GetPpduMaxTime (WifiPreamble preamble)
 Get the maximum PPDU duration (see Section 10.14 of 802.11-2016) for the PHY layers defining the aPPDUMaxTime characteristic (HT, VHT and HE). More...
 
WifiPreamble ns3::GetPreambleForTransmission (WifiModulationClass modulation, bool useShortPreamble)
 Return the preamble to be used for the transmission. More...
 
bool ns3::IsAllowedControlAnswerModulationClass (WifiModulationClass modClassReq, WifiModulationClass modClassAnswer)
 Return whether the modulation class of the selected mode for the control answer frame is allowed. More...
 
bool ns3::IsDlMu (WifiPreamble preamble)
 Return true if a preamble corresponds to a downlink multi-user transmission. More...
 
bool ns3::IsMu (WifiPreamble preamble)
 Return true if a preamble corresponds to a multi-user transmission. More...
 
bool ns3::IsUlMu (WifiPreamble preamble)
 Return true if a preamble corresponds to a uplink multi-user transmission. More...