23 #include "ns3/mac48-address.h" 33 acknowledgmentTime (
Time::
Min ())
157 os <<
"BAR_BLOCK_ACK";
203 os <<
"DL_MU_BAR_BA_SEQUENCE [";
206 os <<
" (ACK) " << sta.first;
210 os <<
" (BA) " << sta.first;
214 os <<
" (BAR+BA) " << sta.first;
246 os <<
"DL_MU_TF_MU_BAR [";
249 os <<
" (BA) " << sta.first;
281 os <<
"DL_MU_AGGREGATE_TF [";
284 os <<
" (BA) " << sta.first;
292 acknowledgment->
Print (os);
std::map< Mac48Address, BlockAckInfo > stationsReplyingWithBlockAck
Simulation virtual time values and global simulation resolution.
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 ...
WifiAcknowledgment(Method m)
Constructor.
virtual void Print(std::ostream &os) const =0
Print the object contents.
Time acknowledgmentTime
time required by the acknowledgment method
WifiAcknowledgment is an abstract base struct.
void Print(std::ostream &os) const override
Print the object contents.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
virtual ~WifiAcknowledgment()
std::map< Mac48Address, BlockAckInfo > stationsReplyingWithBlockAck
std::map< std::pair< Mac48Address, uint8_t >, WifiMacHeader::QosAckPolicy > m_ackPolicy
Qos Ack Policy to set for MPDUs addressed to a given receiver and having a given TID.
void Print(std::ostream &os) const
Print the object contents.
virtual bool CheckQosAckPolicy(Mac48Address receiver, uint8_t tid, WifiMacHeader::QosAckPolicy ackPolicy) const =0
Check whether the given QoS Ack policy can be used for the MPDUs addressed to the given receiver and ...
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 ...
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 give...
void Print(std::ostream &os) const override
Print the object contents.
std::ostream & operator<<(std::ostream &os, const Angles &a)
int64x64_t Min(const int64x64_t &a, const int64x64_t &b)
Minimum.
std::map< Mac48Address, BlockAckInfo > stationsReplyingWithBlockAck
Set of stations receiving a BlockAckReq frame and replying with a BlockAck frame. ...
Method
Available acknowledgment methods.
void Print(std::ostream &os) const
Print the object contents.
void Print(std::ostream &os) const override
Print the object contents.
void Print(std::ostream &os) const override
Print the object contents.
void Print(std::ostream &os) const override
Print the object contents.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
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 ...
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 ...
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 ...
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 ...
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 ...
#define NS_ABORT_MSG_IF(cond, msg)
Abnormal program termination if a condition is true, with a message.
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 give...
Time Seconds(double value)
Construct a Time in the indicated unit.
std::map< Mac48Address, BlockAckReqInfo > stationsSendBlockAckReqTo
std::map< Mac48Address, AckInfo > stationsReplyingWithNormalAck
Set of stations replying with a BlockAck frame (no more than one)