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

WifiBarBlockAck specifies that a BlockAckReq is sent to solicit a Block Ack response. More...

#include "wifi-acknowledgment.h"

+ Inheritance diagram for ns3::WifiBarBlockAck:
+ Collaboration diagram for ns3::WifiBarBlockAck:

Public Member Functions

 WifiBarBlockAck ()
 
bool CheckQosAckPolicy (Mac48Address receiver, uint8_t tid, WifiMacHeader::QosAckPolicy ackPolicy) const
 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...
 
void Print (std::ostream &os) const
 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

BlockAckReqType barType
 BlockAckReq type. More...
 
BlockAckType baType
 BlockAck type. More...
 
WifiTxVector blockAckReqTxVector
 BlockAckReq TXVECTOR. 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
}
 Available acknowledgment methods. More...
 

Detailed Description

WifiBarBlockAck specifies that a BlockAckReq is sent to solicit a Block Ack response.

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

Constructor & Destructor Documentation

◆ WifiBarBlockAck()

ns3::WifiBarBlockAck::WifiBarBlockAck ( )

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

Member Function Documentation

◆ CheckQosAckPolicy()

bool ns3::WifiBarBlockAck::CheckQosAckPolicy ( Mac48Address  receiver,
uint8_t  tid,
WifiMacHeader::QosAckPolicy  ackPolicy 
) const
virtual

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 145 of file wifi-acknowledgment.cc.

References ns3::WifiMacHeader::BLOCK_ACK.

◆ Print()

void ns3::WifiBarBlockAck::Print ( std::ostream &  os) const
virtual

Print the object contents.

Parameters
osoutput stream in which the data should be printed.

Implements ns3::WifiAcknowledgment.

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

Member Data Documentation

◆ barType

BlockAckReqType ns3::WifiBarBlockAck::barType

◆ baType

BlockAckType ns3::WifiBarBlockAck::baType

◆ blockAckReqTxVector

WifiTxVector ns3::WifiBarBlockAck::blockAckReqTxVector

◆ blockAckTxVector

WifiTxVector ns3::WifiBarBlockAck::blockAckTxVector

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