A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-phy-common.cc File Reference
#include "wifi-phy-common.h"
#include "wifi-mode.h"
#include "wifi-net-device.h"
#include "ns3/he-configuration.h"
#include "ns3/ht-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.
 
uint16_t ns3::ConvertGuardIntervalToNanoSeconds (WifiMode mode, const Ptr< WifiNetDevice > device)
 Convert the guard interval to nanoseconds based on the WifiMode.
 
uint16_t ns3::GetMaximumChannelWidth (WifiModulationClass modulation)
 Get the maximum channel width in MHz allowed for the given modulation class.
 
WifiModulationClass ns3::GetModulationClassForPreamble (WifiPreamble preamble)
 Return the modulation class corresponding to the given preamble type.
 
WifiModulationClass ns3::GetModulationClassForStandard (WifiStandard standard)
 Return the modulation class corresponding to a given standard.
 
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).
 
WifiPreamble ns3::GetPreambleForTransmission (WifiModulationClass modulation, bool useShortPreamble)
 Return the preamble to be used for the transmission.
 
bool ns3::IsAllowedControlAnswerModulationClass (WifiModulationClass modClassReq, WifiModulationClass modClassAnswer)
 Return whether the modulation class of the selected mode for the control answer frame is allowed.
 
bool ns3::IsDlMu (WifiPreamble preamble)
 Return true if a preamble corresponds to a downlink multi-user transmission.
 
bool ns3::IsEht (WifiPreamble preamble)
 Return true if a preamble corresponds to an EHT transmission.
 
bool ns3::IsMu (WifiPreamble preamble)
 Return true if a preamble corresponds to a multi-user transmission.
 
bool ns3::IsUlMu (WifiPreamble preamble)
 Return true if a preamble corresponds to a uplink multi-user transmission.