A Discrete-Event Network Simulator
API
eht-phy.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING
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: Sébastien Deronne <sebastien.deronne@gmail.com>
18 */
19
20#include "eht-phy.h"
21
22#include "eht-ppdu.h"
23
24#include "ns3/interference-helper.h"
25#include "ns3/wifi-phy.h"
26#include "ns3/wifi-psdu.h"
27#include "ns3/wifi-utils.h"
28
29namespace ns3
30{
31
33
34/*******************************************************
35 * EHT PHY (P802.11be/D1.5)
36 *******************************************************/
37
38// clang-format off
39
42 WIFI_PPDU_FIELD_NON_HT_HEADER, // L-SIG + RL-SIG
43 WIFI_PPDU_FIELD_U_SIG, // U-SIG
44 WIFI_PPDU_FIELD_EHT_SIG, // EHT-SIG
45 WIFI_PPDU_FIELD_TRAINING, // EHT-STF + EHT-LTFs
48 WIFI_PPDU_FIELD_NON_HT_HEADER, // L-SIG + RL-SIG
49 WIFI_PPDU_FIELD_U_SIG, // U-SIG
50 WIFI_PPDU_FIELD_TRAINING, // EHT-STF + EHT-LTFs
52};
53
54// clang-format on
55
56EhtPhy::EhtPhy(bool buildModeList /* = true */)
57 : HePhy(false) // don't add HE modes to list
58{
59 NS_LOG_FUNCTION(this << buildModeList);
63 if (buildModeList)
64 {
66 }
67}
68
70{
71 NS_LOG_FUNCTION(this);
72}
73
74void
76{
77 NS_LOG_FUNCTION(this);
78 NS_ASSERT(m_modeList.empty());
80 for (uint8_t index = 0; index <= m_maxSupportedMcsIndexPerSs; ++index)
81 {
82 NS_LOG_LOGIC("Add EhtMcs" << +index << " to list");
83 m_modeList.emplace_back(CreateEhtMcs(index));
84 }
85}
86
88EhtPhy::GetSigMode(WifiPpduField field, const WifiTxVector& txVector) const
89{
90 switch (field)
91 {
93 return GetSigAMode(); // U-SIG is similar to SIG-A
95 return GetSigBMode(txVector); // EHT-SIG is similar to SIG-B
96 default:
97 return HePhy::GetSigMode(field, txVector);
98 }
99}
100
102EhtPhy::GetSigBMode(const WifiTxVector& txVector) const
103{
104 if (txVector.IsDlMu())
105 {
106 return HePhy::GetSigBMode(txVector);
107 }
108 // we get here in case of EHT SU transmission
109 // TODO fix the MCS used for EHT-SIG
110 auto smallestMcs = std::min<uint8_t>(5, txVector.GetMode().GetMcsValue());
111 return VhtPhy::GetVhtMcs(smallestMcs);
112}
113
114Time
115EhtPhy::GetDuration(WifiPpduField field, const WifiTxVector& txVector) const
116{
117 switch (field)
118 {
120 return GetSigADuration(txVector.GetPreambleType()); // U-SIG is similar to SIG-A
122 return GetSigBDuration(txVector); // EHT-SIG is similar to SIG-B
124 [[fallthrough]];
126 return NanoSeconds(0);
127 default:
128 return HePhy::GetDuration(field, txVector);
129 }
130}
131
132Time
134{
135 Time duration = GetDuration(WIFI_PPDU_FIELD_PREAMBLE, txVector) +
138 return duration;
139}
140
141Time
143{
144 Time duration = GetDuration(WIFI_PPDU_FIELD_PREAMBLE, txVector) +
148 return duration;
149}
150
153{
154 return m_ehtPpduFormats;
155}
156
158EhtPhy::BuildPpdu(const WifiConstPsduMap& psdus, const WifiTxVector& txVector, Time ppduDuration)
159{
160 NS_LOG_FUNCTION(this << psdus << txVector << ppduDuration);
161 return Create<EhtPpdu>(psdus,
162 txVector,
164 txVector.GetChannelWidth()),
165 ppduDuration,
167 ObtainNextUid(txVector),
169}
170
173{
174 NS_LOG_FUNCTION(this << field << *event);
175 switch (field)
176 {
178 [[fallthrough]];
180 return EndReceiveSig(event, field);
181 default:
182 return HePhy::DoEndReceiveField(field, event);
183 }
184}
185
188{
189 NS_LOG_FUNCTION(this << *event << status << field);
190 switch (field)
191 {
193 return ProcessSigA(event, status); // U-SIG is similar to SIG-A
195 return ProcessSigB(event, status); // EHT-SIG is similar to SIG-B
196 default:
197 return HePhy::ProcessSig(event, status, field);
198 }
199 return status;
200}
201
204{
205 switch (field)
206 {
208 return U_SIG_FAILURE;
210 return EHT_SIG_FAILURE;
211 default:
212 return HePhy::GetFailureReason(field);
213 }
214}
215
216void
218{
219 for (uint8_t i = 0; i <= 13; ++i)
220 {
221 GetEhtMcs(i);
222 }
223}
224
226EhtPhy::GetEhtMcs(uint8_t index)
227{
228#define CASE(x) \
229 case x: \
230 return GetEhtMcs##x();
231
232 switch (index)
233 {
234 CASE(0)
235 CASE(1)
236 CASE(2)
237 CASE(3)
238 CASE(4)
239 CASE(5)
240 CASE(6)
241 CASE(7)
242 CASE(8)
243 CASE(9)
244 CASE(10)
245 CASE(11)
246 CASE(12)
247 CASE(13)
248 default:
249 NS_ABORT_MSG("Inexistent index (" << +index << ") requested for EHT");
250 return WifiMode();
251 }
252#undef CASE
253}
254
255#define GET_EHT_MCS(x) \
256 WifiMode EhtPhy::GetEhtMcs##x() \
257 { \
258 static WifiMode mcs = CreateEhtMcs(x); \
259 return mcs; \
260 };
261
272GET_EHT_MCS(10)
273GET_EHT_MCS(11)
274GET_EHT_MCS(12)
275GET_EHT_MCS(13)
276#undef GET_EHT_MCS
277
278WifiMode
280{
281 NS_ASSERT_MSG(index <= 13, "EhtMcs index must be <= 13!");
282 return WifiModeFactory::CreateWifiMcs("EhtMcs" + std::to_string(index),
283 index,
285 false,
292}
293
295EhtPhy::GetCodeRate(uint8_t mcsValue)
296{
297 switch (mcsValue)
298 {
299 case 12:
300 return WIFI_CODE_RATE_3_4;
301 case 13:
302 return WIFI_CODE_RATE_5_6;
303 default:
304 return HePhy::GetCodeRate(mcsValue);
305 }
306}
307
308uint16_t
310{
311 switch (mcsValue)
312 {
313 case 12:
314 [[fallthrough]];
315 case 13:
316 return 4096;
317 default:
318 return HePhy::GetConstellationSize(mcsValue);
319 }
320}
321
322uint64_t
323EhtPhy::GetPhyRate(uint8_t mcsValue, uint16_t channelWidth, uint16_t guardInterval, uint8_t nss)
324{
325 WifiCodeRate codeRate = GetCodeRate(mcsValue);
326 uint64_t dataRate = GetDataRate(mcsValue, channelWidth, guardInterval, nss);
327 return HtPhy::CalculatePhyRate(codeRate, dataRate);
328}
329
330uint64_t
331EhtPhy::GetPhyRateFromTxVector(const WifiTxVector& txVector, uint16_t staId /* = SU_STA_ID */)
332{
333 uint16_t bw = txVector.GetChannelWidth();
334 if (txVector.IsMu())
335 {
336 bw = HeRu::GetBandwidth(txVector.GetRu(staId).GetRuType());
337 }
338 return EhtPhy::GetPhyRate(txVector.GetMode(staId).GetMcsValue(),
339 bw,
340 txVector.GetGuardInterval(),
341 txVector.GetNss(staId));
342}
343
344uint64_t
345EhtPhy::GetDataRateFromTxVector(const WifiTxVector& txVector, uint16_t staId /* = SU_STA_ID */)
346{
347 uint16_t bw = txVector.GetChannelWidth();
348 if (txVector.IsMu())
349 {
350 bw = HeRu::GetBandwidth(txVector.GetRu(staId).GetRuType());
351 }
352 return EhtPhy::GetDataRate(txVector.GetMode(staId).GetMcsValue(),
353 bw,
354 txVector.GetGuardInterval(),
355 txVector.GetNss(staId));
356}
357
358uint64_t
359EhtPhy::GetDataRate(uint8_t mcsValue, uint16_t channelWidth, uint16_t guardInterval, uint8_t nss)
360{
361 NS_ASSERT(guardInterval == 800 || guardInterval == 1600 || guardInterval == 3200);
362 NS_ASSERT(nss <= 8);
364 GetUsableSubcarriers(channelWidth),
365 static_cast<uint16_t>(log2(GetConstellationSize(mcsValue))),
367 nss);
368}
369
370uint64_t
372{
373 WifiCodeRate codeRate = GetCodeRate(mcsValue);
374 uint16_t constellationSize = GetConstellationSize(mcsValue);
375 return CalculateNonHtReferenceRate(codeRate, constellationSize);
376}
377
378uint64_t
379EhtPhy::CalculateNonHtReferenceRate(WifiCodeRate codeRate, uint16_t constellationSize)
380{
381 uint64_t dataRate;
382 switch (constellationSize)
383 {
384 case 4096:
385 if (codeRate == WIFI_CODE_RATE_3_4 || codeRate == WIFI_CODE_RATE_5_6)
386 {
387 dataRate = 54000000;
388 }
389 else
390 {
391 NS_FATAL_ERROR("Trying to get reference rate for a MCS with wrong combination of "
392 "coding rate and modulation");
393 }
394 break;
395 default:
396 dataRate = HePhy::CalculateNonHtReferenceRate(codeRate, constellationSize);
397 }
398 return dataRate;
399}
400
401} // namespace ns3
402
403namespace
404{
405
410{
411 public:
413 {
416 }
418
419} // namespace
Constructor class for EHT modes.
Definition: eht-phy.cc:410
static const PpduFormats m_ehtPpduFormats
EHT PPDU formats.
Definition: eht-phy.h:291
static uint64_t CalculateNonHtReferenceRate(WifiCodeRate codeRate, uint16_t constellationSize)
Return the rate (in bps) of the non-HT Reference Rate which corresponds to the supplied code rate and...
Definition: eht-phy.cc:379
PhyFieldRxStatus ProcessSig(Ptr< Event > event, PhyFieldRxStatus status, WifiPpduField field) override
Process SIG-A or SIG-B, perform amendment-specific actions, and provide an updated status of the rece...
Definition: eht-phy.cc:187
static WifiCodeRate GetCodeRate(uint8_t mcsValue)
Return the coding rate corresponding to the supplied EHT MCS index.
Definition: eht-phy.cc:295
Time CalculateNonOfdmaDurationForHeMu(const WifiTxVector &txVector) const override
Definition: eht-phy.cc:142
WifiMode GetSigMode(WifiPpduField field, const WifiTxVector &txVector) const override
Get the WifiMode for the SIG field specified by the PPDU field.
Definition: eht-phy.cc:88
Time CalculateNonOfdmaDurationForHeTb(const WifiTxVector &txVector) const override
Definition: eht-phy.cc:133
static uint16_t GetConstellationSize(uint8_t mcsValue)
Return the constellation size corresponding to the supplied EHT MCS index.
Definition: eht-phy.cc:309
WifiPhyRxfailureReason GetFailureReason(WifiPpduField field) const override
Get the failure reason corresponding to the unsuccessful processing of a given PPDU field.
Definition: eht-phy.cc:203
static uint64_t GetPhyRateFromTxVector(const WifiTxVector &txVector, uint16_t staId=SU_STA_ID)
Return the PHY rate corresponding to the supplied TXVECTOR for the STA-ID.
Definition: eht-phy.cc:331
static WifiMode GetEhtMcs(uint8_t index)
Return the EHT MCS corresponding to the provided index.
Definition: eht-phy.cc:226
void BuildModeList() override
Build mode list.
Definition: eht-phy.cc:75
static void InitializeModes()
Initialize all EHT modes.
Definition: eht-phy.cc:217
static WifiMode CreateEhtMcs(uint8_t index)
Create and return the EHT MCS corresponding to the provided index.
Definition: eht-phy.cc:279
const PpduFormats & GetPpduFormats() const override
Return the PPDU formats of the PHY.
Definition: eht-phy.cc:152
static uint64_t GetDataRateFromTxVector(const WifiTxVector &txVector, uint16_t staId=SU_STA_ID)
Return the data rate corresponding to the supplied TXVECTOR for the STA-ID.
Definition: eht-phy.cc:345
~EhtPhy() override
Destructor for EHT PHY.
Definition: eht-phy.cc:69
EhtPhy(bool buildModeList=true)
Constructor for EHT PHY.
Definition: eht-phy.cc:56
Ptr< WifiPpdu > BuildPpdu(const WifiConstPsduMap &psdus, const WifiTxVector &txVector, Time ppduDuration) override
Build amendment-specific PPDU.
Definition: eht-phy.cc:158
static uint64_t GetNonHtReferenceRate(uint8_t mcsValue)
Calculate the rate in bps of the non-HT Reference Rate corresponding to the supplied HE MCS index.
Definition: eht-phy.cc:371
Time GetDuration(WifiPpduField field, const WifiTxVector &txVector) const override
Get the duration of the PPDU field (or group of fields) used by this entity for the given transmissio...
Definition: eht-phy.cc:115
static uint64_t GetDataRate(uint8_t mcsValue, uint16_t channelWidth, uint16_t guardInterval, uint8_t nss)
Return the data rate corresponding to the supplied EHT MCS index, channel width, guard interval,...
Definition: eht-phy.cc:359
static uint64_t GetPhyRate(uint8_t mcsValue, uint16_t channelWidth, uint16_t guardInterval, uint8_t nss)
Return the PHY rate corresponding to the supplied EHT MCS index, channel width, guard interval,...
Definition: eht-phy.cc:323
WifiMode GetSigBMode(const WifiTxVector &txVector) const override
Definition: eht-phy.cc:102
PhyFieldRxStatus DoEndReceiveField(WifiPpduField field, Ptr< Event > event) override
End receiving a given field, perform amendment-specific actions, and provide the status of the recept...
Definition: eht-phy.cc:172
PHY entity for HE (11ax)
Definition: he-phy.h:68
virtual PhyFieldRxStatus ProcessSigB(Ptr< Event > event, PhyFieldRxStatus status)
Process SIG-B, perform amendment-specific actions, and provide an updated status of the reception.
Definition: he-phy.cc:749
Time GetSigBDuration(const WifiTxVector &txVector) const override
Definition: he-phy.cc:220
static uint64_t CalculateNonHtReferenceRate(WifiCodeRate codeRate, uint16_t constellationSize)
Return the rate (in bps) of the non-HT Reference Rate which corresponds to the supplied code rate and...
Definition: he-phy.cc:1736
static WifiCodeRate GetCodeRate(uint8_t mcsValue)
Return the coding rate corresponding to the supplied HE MCS index.
Definition: he-phy.cc:1624
PhyFieldRxStatus ProcessSig(Ptr< Event > event, PhyFieldRxStatus status, WifiPpduField field) override
Process SIG-A or SIG-B, perform amendment-specific actions, and provide an updated status of the rece...
Definition: he-phy.cc:617
WifiMode GetSigMode(WifiPpduField field, const WifiTxVector &txVector) const override
Get the WifiMode for the SIG field specified by the PPDU field.
Definition: he-phy.cc:117
uint64_t ObtainNextUid(const WifiTxVector &txVector) override
Obtain the next UID for the PPDU to transmit.
Definition: he-phy.cc:1301
static bool IsAllowed(const WifiTxVector &txVector)
Check whether the combination in TXVECTOR is allowed.
Definition: he-phy.cc:1759
static Time GetSymbolDuration(Time guardInterval)
Definition: he-phy.cc:1722
WifiMode GetSigBMode(const WifiTxVector &txVector) const override
Definition: he-phy.cc:146
virtual PhyFieldRxStatus ProcessSigA(Ptr< Event > event, PhyFieldRxStatus status)
Process SIG-A, perform amendment-specific actions, and provide an updated status of the reception.
Definition: he-phy.cc:634
WifiMode GetSigAMode() const override
Definition: he-phy.cc:140
Time GetSigADuration(WifiPreamble preamble) const override
Definition: he-phy.cc:212
static uint16_t GetConstellationSize(uint8_t mcsValue)
Return the constellation size corresponding to the supplied HE MCS index.
Definition: he-phy.cc:1638
@ PSD_NON_HE_PORTION
Non-HE portion of an HE PPDU.
Definition: he-ppdu.h:157
RuType GetRuType() const
Get the RU type.
Definition: he-ru.cc:435
static uint16_t GetBandwidth(RuType ruType)
Get the approximate bandwidth occupied by a RU.
Definition: he-ru.cc:744
static uint64_t CalculatePhyRate(WifiCodeRate codeRate, uint64_t dataRate)
Return the PHY rate corresponding to the supplied code rate and data rate.
Definition: ht-phy.cc:659
uint8_t m_bssMembershipSelector
the BSS membership selector
Definition: ht-phy.h:558
uint8_t m_maxMcsIndexPerSs
the maximum MCS index per spatial stream as defined by the standard
Definition: ht-phy.h:556
static uint64_t CalculateDataRate(Time symbolDuration, uint16_t usableSubCarriers, uint16_t numberOfBitsPerSubcarrier, double codingRate, uint8_t nss)
Calculates data rate from the supplied parameters.
Definition: ht-phy.cc:707
static double GetCodeRatio(WifiCodeRate codeRate)
Convert WifiCodeRate to a ratio, e.g., code ratio of WIFI_CODE_RATE_1_2 is 0.5.
Definition: ht-phy.cc:674
uint8_t m_maxSupportedMcsIndexPerSs
the maximum supported MCS index per spatial stream
Definition: ht-phy.h:557
static uint16_t GetUsableSubcarriers()
Definition: ofdm-phy.cc:633
Ptr< WifiPhy > m_wifiPhy
Pointer to the owning WifiPhy.
Definition: phy-entity.h:963
std::map< WifiPreamble, std::vector< WifiPpduField > > PpduFormats
A map of PPDU field elements per preamble type.
Definition: phy-entity.h:556
std::list< WifiMode > m_modeList
the list of supported modes
Definition: phy-entity.h:967
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:78
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:105
Time GetDuration(WifiPpduField field, const WifiTxVector &txVector) const override
Get the duration of the PPDU field (or group of fields) used by this entity for the given transmissio...
Definition: vht-phy.cc:173
PhyFieldRxStatus EndReceiveSig(Ptr< Event > event, WifiPpduField field)
End receiving the SIG-A or SIG-B, perform VHT-specific actions, and provide the status of the recepti...
Definition: vht-phy.cc:276
static WifiMode GetVhtMcs(uint8_t index)
Return the VHT MCS corresponding to the provided index.
Definition: vht-phy.cc:344
PhyFieldRxStatus DoEndReceiveField(WifiPpduField field, Ptr< Event > event) override
End receiving a given field, perform amendment-specific actions, and provide the status of the recept...
Definition: vht-phy.cc:261
virtual WifiPhyRxfailureReason GetFailureReason(WifiPpduField field) const
Get the failure reason corresponding to the unsuccessful processing of a given PPDU field.
Definition: vht-phy.cc:301
static WifiMode CreateWifiMcs(std::string uniqueName, uint8_t mcsValue, WifiModulationClass modClass, bool isMandatory, CodeRateCallback codeRateCallback, ConstellationSizeCallback constellationSizeCallback, PhyRateCallback phyRateCallback, DataRateCallback dataRateCallback, NonHtReferenceRateCallback nonHtReferenceRateCallback, AllowedCallback isAllowedCallback)
Definition: wifi-mode.cc:318
represent a single transmission mode
Definition: wifi-mode.h:50
uint8_t GetMcsValue() const
Definition: wifi-mode.cc:163
WifiPhyBand GetPhyBand() const
Get the configured Wi-Fi band.
Definition: wifi-phy.cc:996
static void AddStaticPhyEntity(WifiModulationClass modulation, Ptr< PhyEntity > phyEntity)
Add the PHY entity to the map of implemented PHY entities for the given modulation class.
Definition: wifi-phy.cc:745
const WifiPhyOperatingChannel & GetOperatingChannel() const
Get a const reference to the operating channel.
Definition: wifi-phy.cc:1008
uint16_t GetPrimaryChannelCenterFrequency(uint16_t primaryChannelWidth) const
Get the center frequency of the primary channel of the given width.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
uint16_t GetGuardInterval() const
WifiMode GetMode(uint16_t staId=SU_STA_ID) const
If this TX vector is associated with an SU PPDU, return the selected payload transmission mode.
WifiPreamble GetPreambleType() const
HeRu::RuSpec GetRu(uint16_t staId) const
Get the RU specification for the STA-ID.
bool IsDlMu() const
uint8_t GetNss(uint16_t staId=SU_STA_ID) const
If this TX vector is associated with an SU PPDU, return the number of spatial streams.
uint16_t GetChannelWidth() const
#define GET_EHT_MCS(x)
Definition: eht-phy.cc:255
#define CASE(x)
Declaration of ns3::EhtPhy class.
#define EHT_PHY
This defines the BSS membership value for EHT PHY.
Definition: eht-phy.h:37
Declaration of ns3::EhtPpdu class.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
Definition: assert.h:66
#define NS_ASSERT_MSG(condition, message)
At runtime, in debugging builds, if this condition is not true, the program prints the message to out...
Definition: assert.h:86
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
Definition: fatal-error.h:179
#define NS_ABORT_MSG(msg)
Unconditional abnormal program termination with a message.
Definition: abort.h:49
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition: log.h:202
#define NS_LOG_LOGIC(msg)
Use NS_LOG to output a message of level LOG_LOGIC.
Definition: log.h:282
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
auto MakeBoundCallback(R(*fnPtr)(Args...), BArgs &&... bargs)
Make Callbacks with varying number of bound arguments.
Definition: callback.h:768
Time NanoSeconds(uint64_t value)
Construct a Time in the indicated unit.
Definition: nstime.h:1372
WifiPhyRxfailureReason
Enumeration of the possible reception failure reasons.
WifiPpduField
The type of PPDU field (grouped for convenience)
@ U_SIG_FAILURE
@ EHT_SIG_FAILURE
@ WIFI_PREAMBLE_EHT_TB
@ WIFI_PREAMBLE_EHT_MU
@ WIFI_MOD_CLASS_EHT
EHT (Clause 36)
@ WIFI_PPDU_FIELD_SIG_B
SIG-B field.
@ WIFI_PPDU_FIELD_TRAINING
STF + LTF fields (excluding those in preamble for HT-GF)
@ WIFI_PPDU_FIELD_NON_HT_HEADER
PHY header field for DSSS or ERP, short PHY header field for HR/DSSS or ERP, field not present for HT...
@ WIFI_PPDU_FIELD_EHT_SIG
EHT-SIG field.
@ WIFI_PPDU_FIELD_PREAMBLE
SYNC + SFD fields for DSSS or ERP, shortSYNC + shortSFD fields for HR/DSSS or ERP,...
@ WIFI_PPDU_FIELD_U_SIG
U-SIG field.
@ WIFI_PPDU_FIELD_DATA
data field
@ WIFI_PPDU_FIELD_SIG_A
SIG-A field.
class anonymous_namespace{eht-phy.cc}::ConstructorEht g_constructor_eht
the constructor for EHT modes
Every class exported by the ns3 library is enclosed in the ns3 namespace.
const uint16_t WIFI_CODE_RATE_3_4
3/4 coding rate
std::unordered_map< uint16_t, Ptr< const WifiPsdu > > WifiConstPsduMap
Map of const PSDUs indexed by STA-ID.
Callback< R, Args... > MakeCallback(R(T::*memPtr)(Args...), OBJ objPtr)
Build Callbacks for class method members which take varying numbers of arguments and potentially retu...
Definition: callback.h:707
uint16_t WifiCodeRate
These constants define the various convolutional coding rates used for the OFDM transmission modes in...
const uint16_t WIFI_CODE_RATE_5_6
5/6 coding rate
Status of the reception of the PPDU field.
Definition: phy-entity.h:113