A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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 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 ()
 
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.
 
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

BlockAckReqType barType
 BlockAckReq type.
 
BlockAckType baType
 BlockAck type.
 
WifiTxVector blockAckReqTxVector
 BlockAckReq TXVECTOR.
 
WifiTxVector blockAckTxVector
 BlockAck TXVECTOR.
 
- Public Attributes inherited from ns3::WifiAcknowledgment
std::optional< TimeacknowledgmentTime
 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

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

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

Constructor & Destructor Documentation

◆ WifiBarBlockAck()

ns3::WifiBarBlockAck::WifiBarBlockAck ( )

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

Member Function Documentation

◆ CheckQosAckPolicy()

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

References ns3::WifiMacHeader::BLOCK_ACK.

◆ Copy()

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

Clone this object.

Returns
a pointer to the cloned object

Implements ns3::WifiAcknowledgment.

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

◆ Print()

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

Member Data Documentation

◆ barType

BlockAckReqType ns3::WifiBarBlockAck::barType

BlockAckReq type.

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

◆ baType

BlockAckType ns3::WifiBarBlockAck::baType

BlockAck type.

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

◆ blockAckReqTxVector

WifiTxVector ns3::WifiBarBlockAck::blockAckReqTxVector

BlockAckReq TXVECTOR.

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

◆ blockAckTxVector

WifiTxVector ns3::WifiBarBlockAck::blockAckTxVector

BlockAck TXVECTOR.

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


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