Keep track of destination address - TID pairs that are waiting for a block ACK response. More...
#include "qos-blocked-destinations.h"
Public Member Functions | |
QosBlockedDestinations () | |
~QosBlockedDestinations () | |
void | Block (Mac48Address dest, uint8_t tid) |
Block the given destination address and TID from sending (e.g. More... | |
bool | IsBlocked (Mac48Address dest, uint8_t tid) const |
Check if the given destination address and TID are blocked from sending (e.g. More... | |
void | Unblock (Mac48Address dest, uint8_t tid) |
Un-block the given destination address and TID (e.g. More... | |
![]() | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment operator. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Private Attributes | |
std::set< std::pair< Mac48Address, uint8_t > > | m_blockedQosPackets |
blocked QOS packets More... | |
Keep track of destination address - TID pairs that are waiting for a block ACK response.
Definition at line 36 of file qos-blocked-destinations.h.
ns3::QosBlockedDestinations::QosBlockedDestinations | ( | ) |
Definition at line 27 of file qos-blocked-destinations.cc.
ns3::QosBlockedDestinations::~QosBlockedDestinations | ( | ) |
Definition at line 31 of file qos-blocked-destinations.cc.
void ns3::QosBlockedDestinations::Block | ( | Mac48Address | dest, |
uint8_t | tid | ||
) |
Block the given destination address and TID from sending (e.g.
pending block ACK response).
dest | |
tid |
Definition at line 42 of file qos-blocked-destinations.cc.
References m_blockedQosPackets.
Referenced by ns3::QosTxop::QosTxop().
bool ns3::QosBlockedDestinations::IsBlocked | ( | Mac48Address | dest, |
uint8_t | tid | ||
) | const |
Check if the given destination address and TID are blocked from sending (e.g.
pending block ACK response).
dest | |
tid |
Definition at line 36 of file qos-blocked-destinations.cc.
References m_blockedQosPackets.
void ns3::QosBlockedDestinations::Unblock | ( | Mac48Address | dest, |
uint8_t | tid | ||
) |
Un-block the given destination address and TID (e.g.
block ACK response received).
dest | |
tid |
Definition at line 48 of file qos-blocked-destinations.cc.
References m_blockedQosPackets.
Referenced by ns3::QosTxop::QosTxop().
|
private |
blocked QOS packets
Definition at line 72 of file qos-blocked-destinations.h.
Referenced by Block(), IsBlocked(), and Unblock().