A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::BlockAckAgreement Class Reference

Maintains information for a block ack agreement. More...

#include <block-ack-agreement.h>

+ Inheritance diagram for ns3::BlockAckAgreement:
+ Collaboration diagram for ns3::BlockAckAgreement:

Public Member Functions

 BlockAckAgreement ()
 BlockAckAgreement (Mac48Address peer, uint8_t tid)
 ~BlockAckAgreement ()
uint16_t GetBufferSize (void) const
Mac48Address GetPeer (void) const
uint16_t GetStartingSequence (void) const
uint16_t GetStartingSequenceControl (void) const
uint8_t GetTid (void) const
uint16_t GetTimeout (void) const
bool IsAmsduSupported (void) const
bool IsImmediateBlockAck (void) const
void SetAmsduSupport (bool supported)
void SetBufferSize (uint16_t bufferSize)
void SetDelayedBlockAck (void)
void SetImmediateBlockAck (void)
void SetStartingSequence (uint16_t seq)
void SetTimeout (uint16_t timeout)

Protected Attributes

uint8_t m_amsduSupported
uint8_t m_blockAckPolicy
uint16_t m_bufferSize
EventId m_inactivityEvent
Mac48Address m_peer
uint16_t m_startingSeq
uint8_t m_tid
uint16_t m_timeout

Friends

class MacLow

Detailed Description

Maintains information for a block ack agreement.

Definition at line 31 of file block-ack-agreement.h.

Constructor & Destructor Documentation

ns3::BlockAckAgreement::BlockAckAgreement ( )

Definition at line 24 of file block-ack-agreement.cc.

ns3::BlockAckAgreement::BlockAckAgreement ( Mac48Address  peer,
uint8_t  tid 
)

Definition at line 31 of file block-ack-agreement.cc.

References m_peer, and m_tid.

ns3::BlockAckAgreement::~BlockAckAgreement ( )

Definition at line 40 of file block-ack-agreement.cc.

References ns3::EventId::Cancel(), and m_inactivityEvent.

+ Here is the call graph for this function:

Member Function Documentation

uint16_t ns3::BlockAckAgreement::GetBufferSize ( void  ) const

Definition at line 90 of file block-ack-agreement.cc.

References m_bufferSize.

Mac48Address ns3::BlockAckAgreement::GetPeer ( void  ) const

Definition at line 85 of file block-ack-agreement.cc.

References m_peer.

Referenced by ns3::MacLow::ResetBlockAckInactivityTimerIfNeeded().

+ Here is the caller graph for this function:

uint16_t ns3::BlockAckAgreement::GetStartingSequence ( void  ) const

Definition at line 100 of file block-ack-agreement.cc.

References m_startingSeq.

Referenced by ns3::BlockAckManager::ScheduleBlockAckReqIfNeeded().

+ Here is the caller graph for this function:

uint16_t ns3::BlockAckAgreement::GetStartingSequenceControl ( void  ) const

Definition at line 105 of file block-ack-agreement.cc.

References m_startingSeq.

uint8_t ns3::BlockAckAgreement::GetTid ( void  ) const
uint16_t ns3::BlockAckAgreement::GetTimeout ( void  ) const

Definition at line 95 of file block-ack-agreement.cc.

References m_timeout.

Referenced by ns3::MacLow::CreateBlockAckAgreement(), ns3::MacLow::ResetBlockAckInactivityTimerIfNeeded(), and ns3::BlockAckManager::UpdateAgreement().

+ Here is the caller graph for this function:

bool ns3::BlockAckAgreement::IsAmsduSupported ( void  ) const

Definition at line 116 of file block-ack-agreement.cc.

References m_amsduSupported.

bool ns3::BlockAckAgreement::IsImmediateBlockAck ( void  ) const

Definition at line 111 of file block-ack-agreement.cc.

References m_blockAckPolicy.

void ns3::BlockAckAgreement::SetAmsduSupport ( bool  supported)

Definition at line 74 of file block-ack-agreement.cc.

References m_amsduSupported.

Referenced by ns3::MacLow::CreateBlockAckAgreement(), and ns3::BlockAckManager::UpdateAgreement().

+ Here is the caller graph for this function:

void ns3::BlockAckAgreement::SetBufferSize ( uint16_t  bufferSize)

Definition at line 46 of file block-ack-agreement.cc.

References m_bufferSize, and NS_ASSERT.

Referenced by ns3::MacLow::CreateBlockAckAgreement(), and ns3::BlockAckManager::UpdateAgreement().

+ Here is the caller graph for this function:

void ns3::BlockAckAgreement::SetDelayedBlockAck ( void  )

Definition at line 69 of file block-ack-agreement.cc.

References m_blockAckPolicy.

Referenced by ns3::MacLow::CreateBlockAckAgreement(), and ns3::BlockAckManager::UpdateAgreement().

+ Here is the caller graph for this function:

void ns3::BlockAckAgreement::SetImmediateBlockAck ( void  )

Definition at line 64 of file block-ack-agreement.cc.

References m_blockAckPolicy.

Referenced by ns3::MacLow::CreateBlockAckAgreement(), and ns3::BlockAckManager::UpdateAgreement().

+ Here is the caller graph for this function:

void ns3::BlockAckAgreement::SetStartingSequence ( uint16_t  seq)

Definition at line 58 of file block-ack-agreement.cc.

References m_startingSeq, and NS_ASSERT.

Referenced by ns3::BlockAckManager::CreateAgreement(), and ns3::MacLow::CreateBlockAckAgreement().

+ Here is the caller graph for this function:

void ns3::BlockAckAgreement::SetTimeout ( uint16_t  timeout)

Definition at line 53 of file block-ack-agreement.cc.

References m_timeout, and timeout.

Referenced by ns3::MacLow::CreateBlockAckAgreement(), and ns3::BlockAckManager::UpdateAgreement().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class MacLow
friend

Definition at line 33 of file block-ack-agreement.h.

Member Data Documentation

uint8_t ns3::BlockAckAgreement::m_amsduSupported
protected

Definition at line 56 of file block-ack-agreement.h.

Referenced by IsAmsduSupported(), and SetAmsduSupport().

uint8_t ns3::BlockAckAgreement::m_blockAckPolicy
protected
uint16_t ns3::BlockAckAgreement::m_bufferSize
protected
EventId ns3::BlockAckAgreement::m_inactivityEvent
protected
Mac48Address ns3::BlockAckAgreement::m_peer
protected

Definition at line 55 of file block-ack-agreement.h.

Referenced by BlockAckAgreement(), and GetPeer().

uint16_t ns3::BlockAckAgreement::m_startingSeq
protected
uint8_t ns3::BlockAckAgreement::m_tid
protected

Definition at line 58 of file block-ack-agreement.h.

Referenced by BlockAckAgreement(), and GetTid().

uint16_t ns3::BlockAckAgreement::m_timeout
protected

Definition at line 60 of file block-ack-agreement.h.

Referenced by GetTimeout(), and SetTimeout().


The documentation for this class was generated from the following files: