A Discrete-Event Network Simulator
API
ns3::WifiBlockAck Struct Reference

WifiBlockAck specifies that acknowledgment via Block Ack is required. More...

#include "wifi-acknowledgment.h"

+ Inheritance diagram for ns3::WifiBlockAck:
+ Collaboration diagram for ns3::WifiBlockAck:

Public Member Functions

 WifiBlockAck ()
 
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. More...
 
std::unique_ptr< WifiAcknowledgmentCopy (void) const override
 Clone this object. More...
 
void Print (std::ostream &os) const override
 Print the object contents. More...
 
- Public Member Functions inherited from ns3::WifiAcknowledgment
 WifiAcknowledgment (Method m)
 Constructor. More...
 
virtual ~WifiAcknowledgment ()
 
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. More...
 
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. More...
 

Public Attributes

BlockAckType baType
 BlockAck type. More...
 
WifiTxVector blockAckTxVector
 BlockAck TXVECTOR. More...
 
- Public Attributes inherited from ns3::WifiAcknowledgment
Time acknowledgmentTime
 time required by the acknowledgment method More...
 
const Method method
 acknowledgment method More...
 

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

WifiBlockAck specifies that acknowledgment via Block Ack is required.

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

Constructor & Destructor Documentation

◆ WifiBlockAck()

ns3::WifiBlockAck::WifiBlockAck ( )

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

Referenced by Copy().

+ Here is the caller graph for this function:

Member Function Documentation

◆ CheckQosAckPolicy()

bool ns3::WifiBlockAck::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 137 of file wifi-acknowledgment.cc.

References ns3::WifiMacHeader::NORMAL_ACK.

◆ Copy()

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

Clone this object.

Returns
a pointer to the cloned object

Implements ns3::WifiAcknowledgment.

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

References WifiBlockAck().

+ Here is the call graph for this function:

◆ Print()

void ns3::WifiBlockAck::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 147 of file wifi-acknowledgment.cc.

Member Data Documentation

◆ baType

BlockAckType ns3::WifiBlockAck::baType

◆ blockAckTxVector


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