21 #ifndef MSDU_AGGREGATOR_H 22 #define MSDU_AGGREGATOR_H 24 #include "ns3/object.h" 25 #include "ns3/nstime.h" 37 class HtFrameExchangeManager;
38 class WifiTxParameters;
WifiModulationClass
This enumeration defines the modulation classes per (Table 10-6 "Modulation classes"; IEEE 802...
Simulation virtual time values and global simulation resolution.
uint16_t GetMaxAmsduSize(Mac48Address recipient, uint8_t tid, WifiModulationClass modulation) const
Determine the maximum size for an A-MSDU of the given TID that can be sent to the given receiver when...
Information needed to remove an MSDU from the queue.
Ptr< RegularWifiMac > m_mac
the MAC of this station
static WifiMacQueueItem::DeaggregatedMsdus Deaggregate(Ptr< Packet > aggregatedPacket)
void SetWifiMac(const Ptr< RegularWifiMac > mac)
Set the MAC layer to use.
static TypeId GetTypeId(void)
Get the type ID.
static uint16_t GetSizeIfAggregated(uint16_t msduSize, uint16_t amsduSize)
Compute the size of the A-MSDU resulting from the aggregation of an MSDU of size msduSize and an A-MS...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< HtFrameExchangeManager > m_htFem
the HT Frame Exchange Manager of this station
Ptr< WifiMacQueueItem > GetNextAmsdu(Ptr< const WifiMacQueueItem > peekedItem, WifiTxParameters &txParams, Time availableTime, WifiMacQueueItem::QueueIteratorPair &queueIt) const
Attempt to aggregate other MSDUs to the given A-MSDU while meeting the following constraints: ...
virtual ~MsduAggregator()
This class stores the TX parameters (TX vector, protection mechanism, acknowledgment mechanism...
static uint8_t CalculatePadding(uint16_t amsduSize)
Calculate how much padding must be added to the end of an A-MSDU of the given size if a new MSDU is a...
Aggregator used to construct A-MSDUs.
A base class which provides memory management and object aggregation.
void DoDispose() override
Destructor implementation.
a unique identifier for an interface.
std::list< std::pair< Ptr< const Packet >, AmsduSubframeHeader > > DeaggregatedMsdus
DeaggregatedMsdus typedef.
std::map< AcIndex, Ptr< QosTxop > > EdcaQueues
EDCA queues typedef.