A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
qos-utils.cc File Reference
#include "qos-utils.h"
#include "ctrl-headers.h"
#include "mgt-action-headers.h"
#include "wifi-mac-header.h"
#include "ns3/queue-item.h"
#include "ns3/socket.h"
+ Include dependency graph for qos-utils.cc:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

uint8_t ns3::GetTid (Ptr< const Packet > packet, const WifiMacHeader hdr)
 This function is useful to get traffic id of different packet types.
 
bool ns3::operator< (AcIndex left, AcIndex right)
 Operator< overload returning true if the AC on the left has lower priority than the AC on the right.
 
bool ns3::operator<= (AcIndex left, AcIndex right)
 Operator<= overload returning true if the AC on the left has lower or the same priority than the AC on the right.
 
bool ns3::operator> (AcIndex left, AcIndex right)
 Operator> overload returning true if the AC on the left has higher priority than the AC on the right.
 
bool ns3::operator>= (AcIndex left, AcIndex right)
 Operator>= overload returning true if the AC on the left has higher or the same priority than the AC on the right.
 
bool ns3::QosUtilsIsOldPacket (uint16_t startingSeq, uint16_t seqNumber)
 This function checks if packet with sequence number seqNumber is an "old" packet.
 
uint32_t ns3::QosUtilsMapSeqControlToUniqueInteger (uint16_t seqControl, uint16_t endSequence)
 Next function is useful to correctly sort buffered packets under block ack.
 
AcIndex ns3::QosUtilsMapTidToAc (uint8_t tid)
 Maps TID (Traffic ID) to Access classes.
 
uint8_t ns3::SelectQueueByDSField (Ptr< QueueItem > item)
 Determine the TX queue for a given packet.
 

Variables

const std::map< AcIndex, WifiAcns3::wifiAcList
 Map containing the four ACs in increasing order of priority (according to Table 10-1 "UP-to-AC Mappings" of 802.11-2016)