98 WifiAc (uint8_t lowTid, uint8_t highTid);
172 extern const std::map<AcIndex, WifiAc>
wifiAcList;
std::pair< Mac48Address, uint8_t > WifiAddressTidPair
(MAC address, TID) pair
uint8_t m_lowTid
the TID with lower priority
uint8_t GetOtherTid(uint8_t tid) const
Given a TID belonging to this Access Category, get the other TID of this AC.
AcIndex
This enumeration defines the Access Categories as an enumeration with values corresponding to the AC ...
bool QosUtilsIsOldPacket(uint16_t startingSeq, uint16_t seqNumber)
This function checks if packet with sequence number seqNumber is an "old" packet. ...
bool operator>=(const int64x64_t &lhs, const int64x64_t &rhs)
Greater or equal operator.
uint8_t QosUtilsGetTidForPacket(Ptr< const Packet > packet)
If a QoS tag is attached to the packet, returns a value < 8.
bool operator<(const EventId &a, const EventId &b)
bool operator<=(const int64x64_t &lhs, const int64x64_t &rhs)
Less or equal operator.
uint8_t GetHighTid(void) const
Get the TID with higher priority.
Function object to compute the hash of a (MAC address, TID) pair.
uint8_t GetLowTid(void) const
Get the TID with lower priority.
AcIndex QosUtilsMapTidToAc(uint8_t tid)
Maps TID (Traffic ID) to Access classes.
const std::map< AcIndex, WifiAc > wifiAcList
Map containing the four ACs in increasing order of priority (according to Table 10-1 "UP-to-AC Mappin...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t SelectQueueByDSField(Ptr< QueueItem > item)
Determine the TX queue for a given packet.
uint8_t GetTid(Ptr< const Packet > packet, const WifiMacHeader hdr)
This function is useful to get traffic id of different packet types.
Function object to compute the hash of a MAC address.
uint32_t QosUtilsMapSeqControlToUniqueInteger(uint16_t seqControl, uint16_t endSequence)
Next function is useful to correctly sort buffered packets under block ack.
std::size_t operator()(const WifiAddressTidPair &addressTidPair) const
Functional operator for (MAC address, TID) hash computation.
bool operator>(const int64x64_t &lhs, const int64x64_t &rhs)
Greater operator.
std::size_t operator()(const Mac48Address &address) const
Functional operator for MAC address hash computation.
uint8_t m_highTid
the TID with higher priority
WifiAc(uint8_t lowTid, uint8_t highTid)
Constructor.
This class stores the pair of TIDs of an Access Category.