Keep track of destination address - TID pairs that are waiting for a block ACK response. More...
#include <qos-blocked-destinations.h>
Collaboration diagram for ns3::QosBlockedDestinations: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... | |
Private Types | |
| typedef std::list< std::pair < Mac48Address, uint8_t > > | BlockedPackets |
| typedef for a list of <Mac48Address, TID> pair. More... | |
| typedef std::list< std::pair < Mac48Address, uint8_t > >::const_iterator | BlockedPacketsCI |
| typedef for a constan iterator of BlockedPackets More... | |
| typedef std::list< std::pair < Mac48Address, uint8_t > >::iterator | BlockedPacketsI |
| typedef for an iterator of BlockedPackets More... | |
Private Attributes | |
| BlockedPackets | m_blockedQosPackets |
Keep track of destination address - TID pairs that are waiting for a block ACK response.
Definition at line 33 of file qos-blocked-destinations.h.
|
private |
typedef for a list of <Mac48Address, TID> pair.
Definition at line 70 of file qos-blocked-destinations.h.
|
private |
typedef for a constan iterator of BlockedPackets
Definition at line 78 of file qos-blocked-destinations.h.
|
private |
typedef for an iterator of BlockedPackets
Definition at line 74 of file qos-blocked-destinations.h.
| ns3::QosBlockedDestinations::QosBlockedDestinations | ( | ) |
Definition at line 25 of file qos-blocked-destinations.cc.
| ns3::QosBlockedDestinations::~QosBlockedDestinations | ( | ) |
Definition at line 29 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 47 of file qos-blocked-destinations.cc.
References IsBlocked(), and m_blockedQosPackets.
Referenced by ns3::EdcaTxopN::EdcaTxopN().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 34 of file qos-blocked-destinations.cc.
References m_blockedQosPackets.
Referenced by Block(), ns3::WifiMacQueue::DequeueFirstAvailable(), and ns3::WifiMacQueue::PeekFirstAvailable().
Here is the caller graph for this function:| 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 56 of file qos-blocked-destinations.cc.
References m_blockedQosPackets.
Referenced by ns3::EdcaTxopN::EdcaTxopN().
Here is the caller graph for this function:
|
private |
Definition at line 79 of file qos-blocked-destinations.h.
Referenced by Block(), IsBlocked(), and Unblock().