A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::WifiDlMuTfMuBar Struct Reference

WifiDlMuTfMuBar specifies that a DL MU PPDU is followed after a SIFS duration by a MU-BAR Trigger Frame (sent as single user frame) soliciting BlockAck frames sent as HE TB PPDUs. More...

#include "wifi-acknowledgment.h"

+ Inheritance diagram for ns3::WifiDlMuTfMuBar:
+ Collaboration diagram for ns3::WifiDlMuTfMuBar:

Classes

struct  BlockAckInfo
 information related to a BlockAck frame sent by a station More...
 

Public Member Functions

 WifiDlMuTfMuBar ()
 
bool CheckQosAckPolicy (Mac48Address receiver, uint8_t tid, WifiMacHeader::QosAckPolicy ackPolicy) const override
 Check whether the given QoS Ack policy can be used for the MPDUs addressed to the given receiver and belonging to the given TID.
 
std::unique_ptr< WifiAcknowledgmentCopy () const override
 Clone this object.
 
void Print (std::ostream &os) const override
 Print the object contents.
 
- Public Member Functions inherited from ns3::WifiAcknowledgment
 WifiAcknowledgment (Method m)
 Constructor.
 
virtual ~WifiAcknowledgment ()
 
virtual std::unique_ptr< WifiAcknowledgmentCopy () const =0
 Clone this object.
 
WifiMacHeader::QosAckPolicy GetQosAckPolicy (Mac48Address receiver, uint8_t tid) const
 Get the QoS Ack policy to use for the MPDUs addressed to the given receiver and belonging to the given TID.
 
virtual void Print (std::ostream &os) const =0
 Print the object contents.
 
void SetQosAckPolicy (Mac48Address receiver, uint8_t tid, WifiMacHeader::QosAckPolicy ackPolicy)
 Set the QoS Ack policy to use for the MPDUs addressed to the given receiver and belonging to the given TID.
 

Public Attributes

std::list< BlockAckReqTypebarTypes
 BAR types.
 
WifiTxVector muBarTxVector
 TXVECTOR used to transmit the MU-BAR Trigger Frame.
 
std::map< Mac48Address, BlockAckInfostationsReplyingWithBlockAck
 Set of stations replying with a BlockAck frame.
 
uint16_t ulLength
 the UL Length field of the MU-BAR Trigger Frame
 
- Public Attributes inherited from ns3::WifiAcknowledgment
Time acknowledgmentTime
 time required by the acknowledgment method
 
const Method method
 acknowledgment method
 

Additional Inherited Members

- Public Types inherited from ns3::WifiAcknowledgment
enum  Method {
  NONE = 0 , NORMAL_ACK , BLOCK_ACK , BAR_BLOCK_ACK ,
  DL_MU_BAR_BA_SEQUENCE , DL_MU_TF_MU_BAR , DL_MU_AGGREGATE_TF , UL_MU_MULTI_STA_BA ,
  ACK_AFTER_TB_PPDU
}
 Available acknowledgment methods. More...
 

Detailed Description

WifiDlMuTfMuBar specifies that a DL MU PPDU is followed after a SIFS duration by a MU-BAR Trigger Frame (sent as single user frame) soliciting BlockAck frames sent as HE TB PPDUs.

Definition at line 253 of file wifi-acknowledgment.h.

Constructor & Destructor Documentation

◆ WifiDlMuTfMuBar()

ns3::WifiDlMuTfMuBar::WifiDlMuTfMuBar ( )

Definition at line 241 of file wifi-acknowledgment.cc.

Member Function Documentation

◆ CheckQosAckPolicy()

bool ns3::WifiDlMuTfMuBar::CheckQosAckPolicy ( Mac48Address  receiver,
uint8_t  tid,
WifiMacHeader::QosAckPolicy  ackPolicy 
) const
overridevirtual

Check whether the given QoS Ack policy can be used for the MPDUs addressed to the given receiver and belonging to the given TID.

Parameters
receiverthe MAC address of the receiver
tidthe TID
ackPolicythe QoS Ack policy to use
Returns
true if the given QoS Ack policy can be used, false otherwise

Implements ns3::WifiAcknowledgment.

Definition at line 254 of file wifi-acknowledgment.cc.

References ns3::WifiMacHeader::BLOCK_ACK.

◆ Copy()

std::unique_ptr< WifiAcknowledgment > ns3::WifiDlMuTfMuBar::Copy ( ) const
overridevirtual

Clone this object.

Returns
a pointer to the cloned object

Implements ns3::WifiAcknowledgment.

Definition at line 248 of file wifi-acknowledgment.cc.

◆ Print()

void ns3::WifiDlMuTfMuBar::Print ( std::ostream &  os) const
overridevirtual

Print the object contents.

Parameters
osoutput stream in which the data should be printed.

Implements ns3::WifiAcknowledgment.

Definition at line 263 of file wifi-acknowledgment.cc.

References stationsReplyingWithBlockAck.

Member Data Documentation

◆ barTypes

std::list<BlockAckReqType> ns3::WifiDlMuTfMuBar::barTypes

BAR types.

Definition at line 273 of file wifi-acknowledgment.h.

Referenced by ns3::WifiDefaultAckManager::GetAckInfoIfTfMuBar().

◆ muBarTxVector

WifiTxVector ns3::WifiDlMuTfMuBar::muBarTxVector

TXVECTOR used to transmit the MU-BAR Trigger Frame.

Definition at line 275 of file wifi-acknowledgment.h.

Referenced by ns3::WifiDefaultAckManager::GetAckInfoIfTfMuBar().

◆ stationsReplyingWithBlockAck

std::map<Mac48Address, BlockAckInfo> ns3::WifiDlMuTfMuBar::stationsReplyingWithBlockAck

Set of stations replying with a BlockAck frame.

Definition at line 272 of file wifi-acknowledgment.h.

Referenced by ns3::WifiDefaultAckManager::GetAckInfoIfTfMuBar(), and Print().

◆ ulLength

uint16_t ns3::WifiDlMuTfMuBar::ulLength

the UL Length field of the MU-BAR Trigger Frame

Definition at line 274 of file wifi-acknowledgment.h.


The documentation for this struct was generated from the following files: