WifiBlockAck specifies that acknowledgment via Block Ack is required. More...
#include "wifi-acknowledgment.h"
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. | |
std::unique_ptr< WifiAcknowledgment > | Copy () 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 | |
BlockAckType | baType |
BlockAck type. | |
WifiTxVector | blockAckTxVector |
BlockAck TXVECTOR. | |
Public Attributes inherited from ns3::WifiAcknowledgment | |
std::optional< 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... | |
WifiBlockAck specifies that acknowledgment via Block Ack is required.
Definition at line 154 of file wifi-acknowledgment.h.
ns3::WifiBlockAck::WifiBlockAck | ( | ) |
Definition at line 111 of file wifi-acknowledgment.cc.
|
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.
receiver | the MAC address of the receiver |
tid | the TID |
ackPolicy | the QoS Ack policy to use |
Implements ns3::WifiAcknowledgment.
Definition at line 123 of file wifi-acknowledgment.cc.
References ns3::WifiMacHeader::NORMAL_ACK.
|
overridevirtual |
Clone this object.
Implements ns3::WifiAcknowledgment.
Definition at line 117 of file wifi-acknowledgment.cc.
|
overridevirtual |
Print the object contents.
os | output stream in which the data should be printed. |
Implements ns3::WifiAcknowledgment.
Definition at line 131 of file wifi-acknowledgment.cc.
BlockAckType ns3::WifiBlockAck::baType |
BlockAck type.
Definition at line 165 of file wifi-acknowledgment.h.
WifiTxVector ns3::WifiBlockAck::blockAckTxVector |
BlockAck TXVECTOR.
Definition at line 164 of file wifi-acknowledgment.h.