21 #ifndef BLOCK_ACK_AGREEMENT_H 22 #define BLOCK_ACK_AGREEMENT_H 24 #include "ns3/mac48-address.h" 25 #include "ns3/event-id.h" 96 uint8_t
GetTid (
void)
const;
Mac48Address m_peer
Peer address.
uint16_t GetWinEnd(void) const
Return the ending sequence number.
uint16_t GetStartingSequence(void) const
Return the starting squence number.
uint16_t m_startingSeq
Starting squence control.
bool IsHtSupported(void) const
Check whether HT is supported.
bool IsImmediateBlockAck(void) const
Check whether the current ACK policy is immediate block ACK.
uint16_t m_winEnd
Ending sequence number.
uint16_t m_timeout
Timeout.
uint8_t m_htSupported
Flag whether HT is supported.
uint16_t GetTimeout(void) const
Return the timeout.
uint8_t m_blockAckPolicy
Type of block ack: immediate or delayed.
void SetWinEnd(uint16_t seq)
Set ending sequence number.
void SetStartingSequenceControl(uint16_t seq)
Set starting sequence control.
uint16_t m_bufferSize
Buffer size.
Mac48Address GetPeer(void) const
Return the peer address.
void SetStartingSequence(uint16_t seq)
Set starting sequence number.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t m_amsduSupported
Flag whether MSDU aggregation is supported.
bool IsAmsduSupported(void) const
Check whether A-MSDU is supported.
void SetDelayedBlockAck(void)
Set Block ACK policy to delayed ACK.
EventId m_inactivityEvent
inactivity event
void SetAmsduSupport(bool supported)
Enable or disable A-MSDU support.
uint16_t GetBufferSize(void) const
Return the buffer size.
handle RTS/CTS/DATA/ACK transactions.
uint16_t GetStartingSequenceControl(void) const
Return the starting sequence control.
Maintains information for a block ack agreement.
An identifier for simulation events.
void SetImmediateBlockAck(void)
Set Block ACK policy to immediate ACK.
void SetTimeout(uint16_t timeout)
Set timeout.
void SetBufferSize(uint16_t bufferSize)
Set buffer size.
uint8_t GetTid(void) const
Return the Traffic ID (TID).
void SetHtSupported(bool htSupported)
Enable or disable HT support.
BlockAckAgreement(Mac48Address peer, uint8_t tid)
Constructor for BlockAckAgreement with given peer and TID.