INET Framework for OMNeT++/OMNEST
inet::ieee80211::OriginatorBlockAckAgreement Class Reference

#include <OriginatorBlockAckAgreement.h>

Public Member Functions

 OriginatorBlockAckAgreement (MACAddress receiverAddr, Tid tid, SequenceNumber startingSequenceNumber, int bufferSize, bool isAMsduSupported, bool isDelayedBlockAckPolicySupported)
 
virtual ~OriginatorBlockAckAgreement ()
 
virtual int getBufferSize () const
 
virtual SequenceNumber getStartingSequenceNumber ()
 
virtual bool getIsAddbaResponseReceived () const
 
virtual bool getIsAddbaRequestSent () const
 
virtual bool getIsAMsduSupported () const
 
virtual bool getIsDelayedBlockAckPolicySupported () const
 
virtual MACAddress getReceiverAddr () const
 
virtual Tid getTid () const
 
virtual const simtime_t getBlockAckTimeoutValue () const
 
virtual int getNumSentBaPolicyFrames () const
 
virtual void setBufferSize (int bufferSize)
 
virtual void setIsAddbaResponseReceived (bool isAddbaResponseReceived)
 
virtual void setIsAddbaRequestSent (bool isAddbaRequestSent)
 
virtual void setIsAMsduSupported (bool isAMsduSupported)
 
virtual void setIsDelayedBlockAckPolicySupported (bool isDelayedBlockAckPolicySupported)
 
virtual void setBlockAckTimeoutValue (const simtime_t blockAckTimeoutValue)
 
virtual void baPolicyFrameSent ()
 
virtual void calculateExpirationTime ()
 
virtual simtime_t getExpirationTime ()
 

Protected Attributes

MACAddress receiverAddr = MACAddress::UNSPECIFIED_ADDRESS
 
Tid tid = -1
 
int numSentBaPolicyFrames = 0
 
SequenceNumber startingSequenceNumber = -1
 
int bufferSize = -1
 
bool isAMsduSupported = false
 
bool isDelayedBlockAckPolicySupported = false
 
bool isAddbaResponseReceived = false
 
bool isAddbaRequestSent = false
 
simtime_t blockAckTimeoutValue = -1
 
simtime_t expirationTime = -1
 

Constructor & Destructor Documentation

inet::ieee80211::OriginatorBlockAckAgreement::OriginatorBlockAckAgreement ( MACAddress  receiverAddr,
Tid  tid,
SequenceNumber  startingSequenceNumber,
int  bufferSize,
bool  isAMsduSupported,
bool  isDelayedBlockAckPolicySupported 
)
inline
44  :
46  tid(tid),
51  {
52  }
MACAddress receiverAddr
Definition: OriginatorBlockAckAgreement.h:31
int bufferSize
Definition: OriginatorBlockAckAgreement.h:35
SequenceNumber startingSequenceNumber
Definition: OriginatorBlockAckAgreement.h:34
Tid tid
Definition: OriginatorBlockAckAgreement.h:32
bool isAMsduSupported
Definition: OriginatorBlockAckAgreement.h:36
bool isDelayedBlockAckPolicySupported
Definition: OriginatorBlockAckAgreement.h:37
virtual inet::ieee80211::OriginatorBlockAckAgreement::~OriginatorBlockAckAgreement ( )
inlinevirtual
54 { }

Member Function Documentation

virtual void inet::ieee80211::OriginatorBlockAckAgreement::baPolicyFrameSent ( )
inlinevirtual
int numSentBaPolicyFrames
Definition: OriginatorBlockAckAgreement.h:33
virtual void inet::ieee80211::OriginatorBlockAckAgreement::calculateExpirationTime ( )
inlinevirtual
virtual const simtime_t inet::ieee80211::OriginatorBlockAckAgreement::getBlockAckTimeoutValue ( ) const
inlinevirtual
64 { return blockAckTimeoutValue; }
simtime_t blockAckTimeoutValue
Definition: OriginatorBlockAckAgreement.h:40
virtual int inet::ieee80211::OriginatorBlockAckAgreement::getBufferSize ( ) const
inlinevirtual

Referenced by inet::ieee80211::OriginatorQoSAckPolicy::checkAgreementPolicy().

56 { return bufferSize; }
int bufferSize
Definition: OriginatorBlockAckAgreement.h:35
virtual simtime_t inet::ieee80211::OriginatorBlockAckAgreement::getExpirationTime ( )
inlinevirtual
76 { return expirationTime; }
simtime_t expirationTime
Definition: OriginatorBlockAckAgreement.h:41
virtual bool inet::ieee80211::OriginatorBlockAckAgreement::getIsAddbaRequestSent ( ) const
inlinevirtual
59 { return isAddbaRequestSent; }
bool isAddbaRequestSent
Definition: OriginatorBlockAckAgreement.h:39
virtual bool inet::ieee80211::OriginatorBlockAckAgreement::getIsAddbaResponseReceived ( ) const
inlinevirtual

Referenced by inet::ieee80211::OriginatorQoSAckPolicy::computeAckPolicy().

58 { return isAddbaResponseReceived; }
bool isAddbaResponseReceived
Definition: OriginatorBlockAckAgreement.h:38
virtual bool inet::ieee80211::OriginatorBlockAckAgreement::getIsAMsduSupported ( ) const
inlinevirtual

Referenced by inet::ieee80211::OriginatorQoSAckPolicy::checkAgreementPolicy().

60 { return isAMsduSupported; }
bool isAMsduSupported
Definition: OriginatorBlockAckAgreement.h:36
virtual bool inet::ieee80211::OriginatorBlockAckAgreement::getIsDelayedBlockAckPolicySupported ( ) const
inlinevirtual
bool isDelayedBlockAckPolicySupported
Definition: OriginatorBlockAckAgreement.h:37
virtual int inet::ieee80211::OriginatorBlockAckAgreement::getNumSentBaPolicyFrames ( ) const
inlinevirtual

Referenced by inet::ieee80211::OriginatorQoSAckPolicy::checkAgreementPolicy().

65 { return numSentBaPolicyFrames; }
int numSentBaPolicyFrames
Definition: OriginatorBlockAckAgreement.h:33
virtual MACAddress inet::ieee80211::OriginatorBlockAckAgreement::getReceiverAddr ( ) const
inlinevirtual
62 { return receiverAddr; }
MACAddress receiverAddr
Definition: OriginatorBlockAckAgreement.h:31
virtual SequenceNumber inet::ieee80211::OriginatorBlockAckAgreement::getStartingSequenceNumber ( )
inlinevirtual

Referenced by inet::ieee80211::OriginatorQoSAckPolicy::checkAgreementPolicy().

57 { return startingSequenceNumber; }
SequenceNumber startingSequenceNumber
Definition: OriginatorBlockAckAgreement.h:34
virtual Tid inet::ieee80211::OriginatorBlockAckAgreement::getTid ( ) const
inlinevirtual
63 { return tid; }
Tid tid
Definition: OriginatorBlockAckAgreement.h:32
virtual void inet::ieee80211::OriginatorBlockAckAgreement::setBlockAckTimeoutValue ( const simtime_t  blockAckTimeoutValue)
inlinevirtual
virtual void inet::ieee80211::OriginatorBlockAckAgreement::setBufferSize ( int  bufferSize)
inlinevirtual
virtual void inet::ieee80211::OriginatorBlockAckAgreement::setIsAddbaRequestSent ( bool  isAddbaRequestSent)
inlinevirtual
virtual void inet::ieee80211::OriginatorBlockAckAgreement::setIsAddbaResponseReceived ( bool  isAddbaResponseReceived)
inlinevirtual
virtual void inet::ieee80211::OriginatorBlockAckAgreement::setIsAMsduSupported ( bool  isAMsduSupported)
inlinevirtual
bool isAMsduSupported
Definition: OriginatorBlockAckAgreement.h:36
virtual void inet::ieee80211::OriginatorBlockAckAgreement::setIsDelayedBlockAckPolicySupported ( bool  isDelayedBlockAckPolicySupported)
inlinevirtual
bool isDelayedBlockAckPolicySupported
Definition: OriginatorBlockAckAgreement.h:37

Member Data Documentation

simtime_t inet::ieee80211::OriginatorBlockAckAgreement::blockAckTimeoutValue = -1
protected
int inet::ieee80211::OriginatorBlockAckAgreement::bufferSize = -1
protected

Referenced by getBufferSize(), and setBufferSize().

simtime_t inet::ieee80211::OriginatorBlockAckAgreement::expirationTime = -1
protected

Referenced by getExpirationTime().

bool inet::ieee80211::OriginatorBlockAckAgreement::isAddbaRequestSent = false
protected
bool inet::ieee80211::OriginatorBlockAckAgreement::isAddbaResponseReceived = false
protected
bool inet::ieee80211::OriginatorBlockAckAgreement::isAMsduSupported = false
protected
bool inet::ieee80211::OriginatorBlockAckAgreement::isDelayedBlockAckPolicySupported = false
protected
int inet::ieee80211::OriginatorBlockAckAgreement::numSentBaPolicyFrames = 0
protected
MACAddress inet::ieee80211::OriginatorBlockAckAgreement::receiverAddr = MACAddress::UNSPECIFIED_ADDRESS
protected

Referenced by getReceiverAddr().

SequenceNumber inet::ieee80211::OriginatorBlockAckAgreement::startingSequenceNumber = -1
protected
Tid inet::ieee80211::OriginatorBlockAckAgreement::tid = -1
protected

Referenced by getTid().


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