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

#include <RecipientBlockAckAgreementPolicy.h>

Inheritance diagram for inet::ieee80211::RecipientBlockAckAgreementPolicy:
inet::ieee80211::IRecipientBlockAckAgreementPolicy

Public Member Functions

virtual bool isAddbaReqAccepted (Ieee80211AddbaRequest *addbaReq) override
 
virtual bool isDelbaAccepted (Ieee80211Delba *delba) override
 
virtual simtime_t getBlockAckTimeoutValue () const override
 
virtual bool aMsduSupported () const override
 
virtual bool delayedBlockAckPolicySupported () const override
 
virtual int getMaximumAllowedBufferSize () const override
 
- Public Member Functions inherited from inet::ieee80211::IRecipientBlockAckAgreementPolicy
virtual ~IRecipientBlockAckAgreementPolicy ()
 

Protected Member Functions

virtual int numInitStages () const override
 
virtual void initialize (int stage) override
 

Protected Attributes

int maximumAllowedBufferSize = -1
 
bool isAMsduSupported = false
 
bool isDelayedBlockAckPolicySupported = false
 
simtime_t blockAckTimeoutValue = -1
 

Member Function Documentation

virtual bool inet::ieee80211::RecipientBlockAckAgreementPolicy::aMsduSupported ( ) const
inlineoverridevirtual

Implements inet::ieee80211::IRecipientBlockAckAgreementPolicy.

44 { return isAMsduSupported; }
bool isAMsduSupported
Definition: RecipientBlockAckAgreementPolicy.h:31
virtual bool inet::ieee80211::RecipientBlockAckAgreementPolicy::delayedBlockAckPolicySupported ( ) const
inlineoverridevirtual

Implements inet::ieee80211::IRecipientBlockAckAgreementPolicy.

bool isDelayedBlockAckPolicySupported
Definition: RecipientBlockAckAgreementPolicy.h:32
virtual simtime_t inet::ieee80211::RecipientBlockAckAgreementPolicy::getBlockAckTimeoutValue ( ) const
inlineoverridevirtual

Implements inet::ieee80211::IRecipientBlockAckAgreementPolicy.

43 { return blockAckTimeoutValue; }
simtime_t blockAckTimeoutValue
Definition: RecipientBlockAckAgreementPolicy.h:33
virtual int inet::ieee80211::RecipientBlockAckAgreementPolicy::getMaximumAllowedBufferSize ( ) const
inlineoverridevirtual

Implements inet::ieee80211::IRecipientBlockAckAgreementPolicy.

46 { return maximumAllowedBufferSize; }
int maximumAllowedBufferSize
Definition: RecipientBlockAckAgreementPolicy.h:30
void inet::ieee80211::RecipientBlockAckAgreementPolicy::initialize ( int  stage)
overrideprotectedvirtual
26 {
27  if (stage == INITSTAGE_LOCAL) {
28  isDelayedBlockAckPolicySupported = par("delayedAckPolicySupported");
29  isAMsduSupported = par("aMsduSupported");
30  maximumAllowedBufferSize = par("maximumAllowedBufferSize");
31  blockAckTimeoutValue = par("blockAckTimeoutValue").doubleValue();
32  }
33 }
int maximumAllowedBufferSize
Definition: RecipientBlockAckAgreementPolicy.h:30
bool isAMsduSupported
Definition: RecipientBlockAckAgreementPolicy.h:31
Local initializations.
Definition: InitStages.h:35
simtime_t blockAckTimeoutValue
Definition: RecipientBlockAckAgreementPolicy.h:33
bool isDelayedBlockAckPolicySupported
Definition: RecipientBlockAckAgreementPolicy.h:32
bool inet::ieee80211::RecipientBlockAckAgreementPolicy::isAddbaReqAccepted ( Ieee80211AddbaRequest addbaReq)
overridevirtual

Implements inet::ieee80211::IRecipientBlockAckAgreementPolicy.

36 {
37  return true;
38 }
bool inet::ieee80211::RecipientBlockAckAgreementPolicy::isDelbaAccepted ( Ieee80211Delba delba)
overridevirtual

Implements inet::ieee80211::IRecipientBlockAckAgreementPolicy.

41 {
42  return true;
43 }
virtual int inet::ieee80211::RecipientBlockAckAgreementPolicy::numInitStages ( ) const
inlineoverrideprotectedvirtual
36 { return NUM_INIT_STAGES; }
The number of initialization stages.
Definition: InitStages.h:116

Member Data Documentation

simtime_t inet::ieee80211::RecipientBlockAckAgreementPolicy::blockAckTimeoutValue = -1
protected

Referenced by initialize().

bool inet::ieee80211::RecipientBlockAckAgreementPolicy::isAMsduSupported = false
protected

Referenced by initialize().

bool inet::ieee80211::RecipientBlockAckAgreementPolicy::isDelayedBlockAckPolicySupported = false
protected

Referenced by initialize().

int inet::ieee80211::RecipientBlockAckAgreementPolicy::maximumAllowedBufferSize = -1
protected

Referenced by initialize().


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