A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-default-protection-manager.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Stefano Avallone <stavallo@unina.it>
7 */
8
10
11#include "ap-wifi-mac.h"
12#include "sta-wifi-mac.h"
13#include "wifi-mpdu.h"
14#include "wifi-tx-parameters.h"
15
16#include "ns3/boolean.h"
17#include "ns3/eht-frame-exchange-manager.h"
18#include "ns3/emlsr-manager.h"
19#include "ns3/erp-ofdm-phy.h"
20#include "ns3/log.h"
21
22#include <algorithm>
23#include <type_traits>
24
25namespace ns3
26{
27
28NS_LOG_COMPONENT_DEFINE("WifiDefaultProtectionManager");
29
31
34{
35 static TypeId tid =
36 TypeId("ns3::WifiDefaultProtectionManager")
38 .SetGroupName("Wifi")
39 .AddConstructor<WifiDefaultProtectionManager>()
40 .AddAttribute("EnableMuRts",
41 "If enabled, always protect a DL/UL MU frame exchange with MU-RTS/CTS.",
42 BooleanValue(false),
45 .AddAttribute("SingleRtsPerTxop",
46 "If enabled, a protection mechanism (RTS or MU-RTS) is normally used no "
47 "more than once in a TXOP, regardless of the destination of the data "
48 "frame (unless required for specific purposes, such as transmitting an "
49 "Initial Control Frame to an EMLSR client).",
50 BooleanValue(false),
53 .AddAttribute("SkipMuRtsBeforeBsrp",
54 "If enabled, MU-RTS is not used to protect the transmission of a BSRP "
55 "Trigger Frame.",
56 BooleanValue(true),
59 return tid;
60}
61
66
71
72std::unique_ptr<WifiProtection>
74{
75 NS_LOG_FUNCTION(this << *mpdu << &txParams);
76
77 const auto& hdr = mpdu->GetHeader();
78
79 if (hdr.IsPsPoll())
80 {
81 NS_ASSERT(!txParams.m_protection);
82 return std::make_unique<WifiNoProtection>();
83 }
84
85 // Call a separate method that handles MU-RTS/CTS protection in case of DL MU PPDU containing
86 // more than one PSDU or in case the MPDU being added is addressed to an EMLSR client or in
87 // case the protection method is already MU-RTS/CTS.
88 const auto& psduInfoMap = txParams.GetPsduInfoMap();
89 auto dlMuPpdu = txParams.m_txVector.IsDlMu() && psduInfoMap.size() > 1;
90 auto isEmlsrDestination = GetWifiRemoteStationManager()->GetEmlsrEnabled(hdr.GetAddr1());
91
92 if (dlMuPpdu || isEmlsrDestination ||
93 (txParams.m_protection && txParams.m_protection->method == WifiProtection::MU_RTS_CTS))
94 {
95 return TryAddMpduToMuPpdu(mpdu, txParams);
96 }
97
98 // No protection for TB PPDUs (the soliciting Trigger Frame can be protected by an MU-RTS)
99 if (txParams.m_txVector.IsUlMu())
100 {
101 if (txParams.m_protection)
102 {
103 NS_ASSERT(txParams.m_protection->method == WifiProtection::NONE);
104 return nullptr;
105 }
106 return std::make_unique<WifiNoProtection>();
107 }
108
109 // if this is a Trigger Frame, call a separate method
110 if (hdr.IsTrigger())
111 {
112 return TryUlMuTransmission(mpdu, txParams);
113 }
114
115 // if the current protection method (if any) is already RTS/CTS or CTS-to-Self,
116 // it will not change by adding an MPDU
117 if (txParams.m_protection && (txParams.m_protection->method == WifiProtection::RTS_CTS ||
118 txParams.m_protection->method == WifiProtection::CTS_TO_SELF))
119 {
120 return nullptr;
121 }
122
123 // if a protection method is set, it must be NONE
124 NS_ASSERT(!txParams.m_protection || txParams.m_protection->method == WifiProtection::NONE);
125
126 std::unique_ptr<WifiProtection> protection;
127 protection = GetPsduProtection(hdr, txParams);
128
129 // return the newly computed method if none was set or it is not NONE
130 if (!txParams.m_protection || protection->method != WifiProtection::NONE)
131 {
132 return protection;
133 }
134 // the protection method has not changed
135 return nullptr;
136}
137
138std::unique_ptr<WifiProtection>
140 const WifiTxParameters& txParams)
141{
142 NS_LOG_FUNCTION(this << *msdu << &txParams);
143
144 // if the current protection method is already RTS/CTS, CTS-to-Self or MU-RTS/CTS,
145 // it will not change by aggregating an MSDU
146 NS_ASSERT(txParams.m_protection);
147 if (txParams.m_protection->method == WifiProtection::RTS_CTS ||
148 txParams.m_protection->method == WifiProtection::CTS_TO_SELF ||
149 txParams.m_protection->method == WifiProtection::MU_RTS_CTS)
150 {
151 return nullptr;
152 }
153
154 NS_ASSERT(txParams.m_protection->method == WifiProtection::NONE);
155
156 // No protection for TB PPDUs and DL MU PPDUs containing more than one PSDU
157 if (txParams.m_txVector.IsUlMu() ||
158 (txParams.m_txVector.IsDlMu() && txParams.GetPsduInfoMap().size() > 1))
159 {
160 return nullptr;
161 }
162
163 std::unique_ptr<WifiProtection> protection;
164 protection = GetPsduProtection(msdu->GetHeader(), txParams);
165
166 // the protection method may still be none
167 if (protection->method == WifiProtection::NONE)
168 {
169 return nullptr;
170 }
171
172 // the protection method has changed
173 return protection;
174}
175
176std::unique_ptr<WifiProtection>
178 const WifiTxParameters& txParams) const
179{
180 NS_LOG_FUNCTION(this << hdr << &txParams);
181
182 // a non-initial fragment does not need to be protected, unless it is being retransmitted
183 if (hdr.GetFragmentNumber() > 0 && !hdr.IsRetry())
184 {
185 return std::make_unique<WifiNoProtection>();
186 }
187
188 // no need to use protection if destination already received an RTS in this TXOP or
189 // SingleRtsPerTxop is true and a protection mechanism has been already used in this TXOP
190 if (const auto& protectedStas = m_mac->GetFrameExchangeManager(m_linkId)->GetProtectedStas();
191 protectedStas.contains(hdr.GetAddr1()) || (m_singleRtsPerTxop && !protectedStas.empty()))
192 {
193 return std::make_unique<WifiNoProtection>();
194 }
195
196 // when an EMLSR client starts an UL TXOP on a link while the MediumSyncDelay timer is running
197 // or on a link on which the main PHY is not operating, it needs to send an RTS frame
198 bool emlsrNeedRts = false;
199
200 if (auto staMac = DynamicCast<StaWifiMac>(m_mac))
201 {
202 auto emlsrManager = staMac->GetEmlsrManager();
203
204 emlsrNeedRts = emlsrManager && staMac->IsEmlsrLink(m_linkId) &&
205 (emlsrManager->GetElapsedMediumSyncDelayTimer(m_linkId) ||
206 m_mac->GetLinkForPhy(emlsrManager->GetMainPhyId()) != m_linkId);
207 }
208
209 // check if RTS/CTS is needed
210 if (emlsrNeedRts || GetWifiRemoteStationManager()->NeedRts(hdr, txParams))
211 {
212 auto protection = std::make_unique<WifiRtsCtsProtection>();
213 protection->rtsTxVector =
214 GetWifiRemoteStationManager()->GetRtsTxVector(hdr.GetAddr1(),
215 txParams.m_txVector.GetChannelWidth());
216 protection->ctsTxVector =
217 GetWifiRemoteStationManager()->GetCtsTxVector(hdr.GetAddr1(),
218 protection->rtsTxVector.GetMode());
219 return protection;
220 }
221
222 // check if CTS-to-Self is needed
223 if (GetWifiRemoteStationManager()->NeedCtsToSelf(txParams.m_txVector, hdr))
224 {
225 auto protection = std::make_unique<WifiCtsToSelfProtection>();
226 protection->ctsTxVector = GetWifiRemoteStationManager()->GetCtsToSelfTxVector(
227 txParams.m_txVector.GetChannelWidth());
228 return protection;
229 }
230
231 return std::make_unique<WifiNoProtection>();
232}
233
234std::unique_ptr<WifiProtection>
236 const WifiTxParameters& txParams)
237{
238 NS_LOG_FUNCTION(this << *mpdu << &txParams);
239
240 auto receiver = mpdu->GetHeader().GetAddr1();
241 const auto& psduInfoMap = txParams.GetPsduInfoMap();
242 auto dlMuPpdu = txParams.m_txVector.IsDlMu() && psduInfoMap.size() > 1;
243 auto isEmlsrDestination = GetWifiRemoteStationManager()->GetEmlsrEnabled(receiver);
244 NS_ASSERT(
245 dlMuPpdu || isEmlsrDestination ||
246 (txParams.m_protection && txParams.m_protection->method == WifiProtection::MU_RTS_CTS));
247
248 const auto& protectedStas = m_mac->GetFrameExchangeManager(m_linkId)->GetProtectedStas();
249 const auto isProtected = protectedStas.contains(receiver);
250 // an MU-RTS protects the DL MU PPDU as a whole, hence it is needed if any receiver of the
251 // PPDU is not yet protected, regardless of which receiver the MPDU being added is for
252 const auto anyUnprotected =
253 std::any_of(psduInfoMap.cbegin(), psduInfoMap.cend(), [&protectedStas](const auto& info) {
254 return !protectedStas.contains(info.first);
255 });
256 const auto needMuRts =
257 (txParams.m_protection && txParams.m_protection->method == WifiProtection::MU_RTS_CTS) ||
258 (dlMuPpdu && m_sendMuRts && anyUnprotected &&
259 (!m_singleRtsPerTxop || protectedStas.empty())) ||
260 (isEmlsrDestination && !isProtected);
261
262 if (!needMuRts)
263 {
264 // No protection needed
265 if (txParams.m_protection && txParams.m_protection->method == WifiProtection::NONE)
266 {
267 return nullptr;
268 }
269 return std::make_unique<WifiNoProtection>();
270 }
271
272 WifiMuRtsCtsProtection* protection = nullptr;
273 if (txParams.m_protection && txParams.m_protection->method == WifiProtection::MU_RTS_CTS)
274 {
275 protection = static_cast<WifiMuRtsCtsProtection*>(txParams.m_protection.get());
276 }
277
278 if (txParams.LastAddedIsFirstMpdu(receiver))
279 {
280 // we get here if this is the first MPDU for this receiver.
281 NS_ABORT_MSG_IF(m_mac->GetTypeOfStation() != AP, "HE APs only can send DL MU PPDUs");
282 auto modClass = txParams.m_txVector.GetModulationClass();
283 auto txWidth = modClass == WIFI_MOD_CLASS_DSSS || modClass == WIFI_MOD_CLASS_HR_DSSS
284 ? MHz_u{20}
285 : txParams.m_txVector.GetChannelWidth();
286
287 if (protection != nullptr)
288 {
289 // txParams.m_protection points to an existing WifiMuRtsCtsProtection object.
290 // We have to return a copy of this object including the needed changes
291 protection = new WifiMuRtsCtsProtection(*protection);
292
293 // Add a User Info field for the new receiver
294 // The UL HE-MCS, UL FEC Coding Type, UL DCM, SS Allocation and UL Target RSSI fields
295 // in the User Info field are reserved (Sec. 9.3.1.22.5 of 802.11ax)
296 AddUserInfoToMuRts(protection->muRts, txWidth, receiver);
297 }
298 else
299 {
300 // we have to create a new WifiMuRtsCtsProtection object
301 protection = new WifiMuRtsCtsProtection;
302
303 // initialize the MU-RTS Trigger Frame
304 // The UL Length, GI And HE-LTF Type, MU-MIMO HE-LTF Mode, Number Of HE-LTF Symbols,
305 // UL STBC, LDPC Extra Symbol Segment, AP TX Power, Pre-FEC Padding Factor,
306 // PE Disambiguity, UL Spatial Reuse, Doppler and UL HE-SIG-A2 Reserved subfields in
307 // the Common Info field are reserved. (Sec. 9.3.1.22.5 of 802.11ax)
309 /* 35.2.2.1 MU-RTS Trigger frame transmission (IEEE P802.11be/D7.0):
310 * If a non-AP EHT STA is addressed in an MU-RTS Trigger frame from an EHT AP and any of
311 * the following conditions is met, the User Info field addressed to an EHT STA in the
312 * MU-RTS Trigger frame shall be an EHT variant User Info field:
313 * - The bandwidth of the EHT MU PPDU or non-HT duplicate PPDU carrying the MU-RTS
314 * Trigger frame is 320 MHz.
315 * - The EHT MU PPDU or non-HT duplicate PPDU carrying the MU-RTS Trigger frame is
316 * punctured. Otherwise, the EHT AP may decide whether the User Info field in the MU-RTS
317 * Trigger frame is an HE variant User Info field or an EHT variant User Info field.
318 */
319 const auto& inactiveSubchannels = txParams.m_txVector.GetInactiveSubchannels();
320 const auto isPunctured =
321 std::find(inactiveSubchannels.cbegin(), inactiveSubchannels.cend(), true) !=
322 inactiveSubchannels.cend();
323 const auto muRtsVariant = ((txWidth == MHz_u{320}) || isPunctured)
326 protection->muRts.SetVariant(muRtsVariant);
327 protection->muRts.SetUlBandwidth(txWidth);
328
329 // Add a User Info field for each of the receivers already in the TX params
330 for (const auto& [address, info] : txParams.GetPsduInfoMap())
331 {
332 AddUserInfoToMuRts(protection->muRts, txWidth, address);
333 }
334
335 // compute the TXVECTOR to use to send the MU-RTS Trigger Frame
336 protection->muRtsTxVector =
337 GetWifiRemoteStationManager()->GetRtsTxVector(receiver, txWidth);
338 // The transmitter of an MU-RTS Trigger frame shall not request a non-AP STA to send
339 // a CTS frame response in a 20 MHz channel that is not occupied by the PPDU that
340 // contains the MU-RTS Trigger frame. (Sec. 26.2.6.2 of 802.11ax)
341 protection->muRtsTxVector.SetChannelWidth(txWidth);
342 // OFDM is needed to transmit the PPDU over a bandwidth that is a multiple of 20 MHz
343 const auto modulation = protection->muRtsTxVector.GetModulationClass();
344 if (modulation == WIFI_MOD_CLASS_DSSS || modulation == WIFI_MOD_CLASS_HR_DSSS)
345 {
347 }
348 }
349
350 if (isEmlsrDestination && !isProtected)
351 {
352 // This MU-RTS is an ICF for some EMLSR client
353 auto ehtFem =
354 StaticCast<EhtFrameExchangeManager>(m_mac->GetFrameExchangeManager(m_linkId));
355 ehtFem->SetIcfPaddingAndTxVector(protection->muRts, protection->muRtsTxVector);
356 }
357
358 return std::unique_ptr<WifiMuRtsCtsProtection>(protection);
359 }
360
361 // an MPDU addressed to the same receiver has been already added
362 NS_ASSERT(protection != nullptr);
363
364 // no change is needed
365 return nullptr;
366}
367
368std::unique_ptr<WifiProtection>
370 const WifiTxParameters& txParams)
371{
372 NS_LOG_FUNCTION(this << *mpdu << &txParams);
373 NS_ASSERT(mpdu->GetHeader().IsTrigger());
374
375 CtrlTriggerHeader trigger;
376 mpdu->GetPacket()->PeekHeader(trigger);
377 NS_ASSERT(trigger.GetNUserInfoFields() > 0);
378 auto txWidth = trigger.GetUlBandwidth();
379
380 auto protection = std::make_unique<WifiMuRtsCtsProtection>();
381 // initialize the MU-RTS Trigger Frame
382 // The UL Length, GI And HE-LTF Type, MU-MIMO HE-LTF Mode, Number Of HE-LTF Symbols,
383 // UL STBC, LDPC Extra Symbol Segment, AP TX Power, Pre-FEC Padding Factor,
384 // PE Disambiguity, UL Spatial Reuse, Doppler and UL HE-SIG-A2 Reserved subfields in
385 // the Common Info field are reserved. (Sec. 9.3.1.22.5 of 802.11ax)
386 protection->muRts.SetType(TriggerFrameType::MU_RTS_TRIGGER);
387 protection->muRts.SetVariant(trigger.GetVariant());
388 protection->muRts.SetUlBandwidth(txWidth);
389
390 NS_ABORT_MSG_IF(m_mac->GetTypeOfStation() != AP, "HE APs only can send DL MU PPDUs");
391 const auto& staList = StaticCast<ApWifiMac>(m_mac)->GetStaList(m_linkId);
392
393 const auto& protectedStas = m_mac->GetFrameExchangeManager(m_linkId)->GetProtectedStas();
394 bool allProtected = true;
395 bool isUnprotectedEmlsrDst = false;
396
397 for (const auto& userInfo : trigger)
398 {
399 // Add a User Info field to the MU-RTS for this solicited station
400 // The UL HE-MCS, UL FEC Coding Type, UL DCM, SS Allocation and UL Target RSSI fields
401 // in the User Info field are reserved (Sec. 9.3.1.22.5 of 802.11ax)
402 auto staIt = staList.find(userInfo.GetAid12());
403 NS_ASSERT(staIt != staList.cend());
404 AddUserInfoToMuRts(protection->muRts, txWidth, staIt->second);
405 const auto isProtected = protectedStas.contains(staIt->second);
406 allProtected = allProtected && isProtected;
407
408 isUnprotectedEmlsrDst =
409 isUnprotectedEmlsrDst ||
410 (!isProtected && GetWifiRemoteStationManager()->GetEmlsrEnabled(staIt->second));
411 }
412
413 bool needMuRts =
414 (m_sendMuRts && !allProtected && (!m_singleRtsPerTxop || protectedStas.empty())) ||
415 isUnprotectedEmlsrDst;
416
417 // if we are sending a BSRP TF and SkipMuRtsBeforeBsrpTf is true, do not use MU-RTS (even in
418 // case of unprotected EMLSR, because the BSRP TF is an ICF)
419 needMuRts = needMuRts && (!m_skipMuRtsBeforeBsrp || !trigger.IsBsrp());
420
421 if (!needMuRts)
422 {
423 // No protection needed
424 return std::make_unique<WifiNoProtection>();
425 }
426
427 // compute the TXVECTOR to use to send the MU-RTS Trigger Frame
428 protection->muRtsTxVector =
429 GetWifiRemoteStationManager()->GetRtsTxVector(mpdu->GetHeader().GetAddr1(), txWidth);
430 // The transmitter of an MU-RTS Trigger frame shall not request a non-AP STA to send
431 // a CTS frame response in a 20 MHz channel that is not occupied by the PPDU that
432 // contains the MU-RTS Trigger frame. (Sec. 26.2.6.2 of 802.11ax)
433 protection->muRtsTxVector.SetChannelWidth(txWidth);
434 // OFDM is needed to transmit the PPDU over a bandwidth that is a multiple of 20 MHz
435 const auto modulation = protection->muRtsTxVector.GetModulationClass();
436 if (modulation == WIFI_MOD_CLASS_DSSS || modulation == WIFI_MOD_CLASS_HR_DSSS)
437 {
438 protection->muRtsTxVector.SetMode(ErpOfdmPhy::GetErpOfdmRate6Mbps());
439 }
440 if (isUnprotectedEmlsrDst)
441 {
442 // This MU-RTS is an ICF for some EMLSR client
443 auto ehtFem = StaticCast<EhtFrameExchangeManager>(m_mac->GetFrameExchangeManager(m_linkId));
444 ehtFem->SetIcfPaddingAndTxVector(protection->muRts, protection->muRtsTxVector);
445 }
446
447 return protection;
448}
449
450} // namespace ns3
Headers for Trigger frames.
bool IsBsrp() const
Check if this is a Buffer Status Report Poll Trigger frame.
std::size_t GetNUserInfoFields() const
Get the number of User Info fields in this Trigger Frame.
void SetType(TriggerFrameType type)
Set the Trigger frame type.
MHz_u GetUlBandwidth() const
Get the bandwidth of the solicited HE/EHT TB PPDU.
TriggerFrameVariant GetVariant() const
Get the Common Info field variant.
void SetVariant(TriggerFrameVariant variant)
Set the Common Info field variant.
void SetUlBandwidth(MHz_u bw)
Set the bandwidth of the solicited HE/EHT TB PPDU.
static WifiMode GetErpOfdmRate6Mbps()
Smart pointer class similar to boost::intrusive_ptr.
Definition ptr.h:70
a unique identifier for an interface.
Definition type-id.h:50
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition type-id.cc:1003
WifiDefaultProtectionManager is the default protection manager, which selects the protection method f...
std::unique_ptr< WifiProtection > TryAddMpdu(Ptr< const WifiMpdu > mpdu, const WifiTxParameters &txParams) override
Determine the protection method to use if the given MPDU is added to the current frame.
bool m_sendMuRts
true for sending an MU-RTS to protect DL MU PPDUs
bool m_skipMuRtsBeforeBsrp
whether to skip MU-RTS before BSRP TF
std::unique_ptr< WifiProtection > TryAggregateMsdu(Ptr< const WifiMpdu > msdu, const WifiTxParameters &txParams) override
Determine the protection method to use if the given MSDU is aggregated to the current frame.
bool m_singleRtsPerTxop
true for using protection only once in a TXOP
virtual std::unique_ptr< WifiProtection > TryUlMuTransmission(Ptr< const WifiMpdu > mpdu, const WifiTxParameters &txParams)
Calculate the protection method for the UL MU transmission solicited by the given Trigger Frame.
virtual std::unique_ptr< WifiProtection > GetPsduProtection(const WifiMacHeader &hdr, const WifiTxParameters &txParams) const
Select the protection method for a single PSDU.
virtual std::unique_ptr< WifiProtection > TryAddMpduToMuPpdu(Ptr< const WifiMpdu > mpdu, const WifiTxParameters &txParams)
Calculate the protection method to use if the given MPDU is added to the current DL MU PPDU (represen...
Implements the IEEE 802.11 MAC header.
Mac48Address GetAddr1() const
Return the address in the Address 1 field.
bool IsRetry() const
Return if the Retry bit is set.
uint8_t GetFragmentNumber() const
Return the fragment number of the header.
Ptr< WifiMac > m_mac
MAC which is using this Protection Manager.
void AddUserInfoToMuRts(CtrlTriggerHeader &muRts, MHz_u txWidth, const Mac48Address &receiver) const
Add a User Info field to the given MU-RTS Trigger Frame to solicit a CTS from the station with the gi...
Ptr< WifiRemoteStationManager > GetWifiRemoteStationManager() const
uint8_t m_linkId
ID of the link this Protection Manager is operating on.
This class stores the TX parameters (TX vector, protection mechanism, acknowledgment mechanism,...
const PsduInfoMap & GetPsduInfoMap() const
Get a const reference to the map containing information about PSDUs.
std::unique_ptr< WifiProtection > m_protection
protection method
bool LastAddedIsFirstMpdu(Mac48Address receiver) const
Check if the last added MPDU is the first MPDU for the given receiver.
WifiTxVector m_txVector
TXVECTOR of the frame being prepared.
void SetChannelWidth(MHz_u channelWidth)
Sets the selected channelWidth.
WifiModulationClass GetModulationClass() const
Get the modulation class specified by this TXVECTOR.
MHz_u GetChannelWidth() const
void SetMode(WifiMode mode)
Sets the selected payload transmission mode.
const std::vector< bool > & GetInactiveSubchannels() const
Get the 20 MHz subchannels that are punctured.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
Definition assert.h:55
#define NS_ABORT_MSG_IF(cond, msg)
Abnormal program termination if a condition is true, with a message.
Definition abort.h:99
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition log.h:201
#define NS_LOG_FUNCTION_NOARGS()
Output the name of the function.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition object-base.h:35
@ AP
Definition wifi-mac.h:61
@ WIFI_MOD_CLASS_HR_DSSS
HR/DSSS (Clause 16).
@ WIFI_MOD_CLASS_DSSS
DSSS (Clause 15).
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< const AttributeChecker > MakeBooleanChecker()
Definition boolean.cc:113
double MHz_u
MHz weak type.
Definition wifi-units.h:31
Ptr< T1 > DynamicCast(const Ptr< T2 > &p)
Cast a Ptr.
Definition ptr.h:643
Ptr< T1 > StaticCast(const Ptr< T2 > &p)
Cast a Ptr.
Definition ptr.h:650
Ptr< const AttributeAccessor > MakeBooleanAccessor(T1 a1)
Definition boolean.h:70
WifiMuRtsCtsProtection specifies that MU-RTS/CTS protection method is used.
CtrlTriggerHeader muRts
MU-RTS.
WifiTxVector muRtsTxVector
MU-RTS TXVECTOR.