#include <RecipientQoSAckPolicy.h>
simtime_t inet::ieee80211::RecipientQoSAckPolicy::computeAckDuration |
( |
Ieee80211DataOrMgmtFrame * |
dataOrMgmtFrame | ) |
const |
|
protected |
Referenced by computeAckDurationField().
const unsigned int LENGTH_ACK
Definition: Ieee80211Frame_m.h:43
virtual const simtime_t getDuration(int dataBitLength) const =0
IQoSRateSelection * rateSelection
Definition: RecipientQoSAckPolicy.h:32
virtual const IIeee80211Mode * computeResponseAckFrameMode(Ieee80211DataOrMgmtFrame *dataOrMgmtFrame)=0
Implements inet::ieee80211::IRecipientAckPolicy.
91 return duration < 0 ? 0 : duration;
simtime_t computeAckDuration(Ieee80211DataOrMgmtFrame *dataOrMgmtFrame) const
Definition: RecipientQoSAckPolicy.cc:39
virtual ::omnetpp::simtime_t getDuration() const
Ieee80211ModeSet * modeSet
Definition: ModeSetListener.h:31
simtime_t getSifsTime() const
Definition: Ieee80211ModeSet.h:77
simtime_t inet::ieee80211::RecipientQoSAckPolicy::computeBasicBlockAckDuration |
( |
Ieee80211BlockAckReq * |
blockAckReq | ) |
const |
|
protected |
Referenced by computeBasicBlockAckDurationField().
virtual const simtime_t getDuration(int dataBitLength) const =0
IQoSRateSelection * rateSelection
Definition: RecipientQoSAckPolicy.h:32
const unsigned int LENGTH_BASIC_BLOCKACK
Definition: Ieee80211Frame_m.h:46
virtual const IIeee80211Mode * computeResponseBlockAckFrameMode(Ieee80211BlockAckReq *blockAckReq)=0
simtime_t inet::ieee80211::RecipientQoSAckPolicy::computeBasicBlockAckDurationField |
( |
Ieee80211BasicBlockAckReq * |
basicBlockAckReq | ) |
const |
|
overridevirtual |
Implements inet::ieee80211::IRecipientQoSAckPolicy.
virtual ::omnetpp::simtime_t getDuration() const
simtime_t computeBasicBlockAckDuration(Ieee80211BlockAckReq *blockAckReq) const
Definition: RecipientQoSAckPolicy.cc:34
Ieee80211ModeSet * modeSet
Definition: ModeSetListener.h:31
simtime_t getSifsTime() const
Definition: Ieee80211ModeSet.h:77
void inet::ieee80211::RecipientQoSAckPolicy::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
Reimplemented from inet::ieee80211::ModeSetListener.
Abstract interface for rate selection.
Definition: IQoSRateSelection.h:36
IQoSRateSelection * rateSelection
Definition: RecipientQoSAckPolicy.h:32
Local initializations.
Definition: InitStages.h:35
virtual void initialize(int stage) override
Definition: ModeSetListener.cc:25
Implements inet::ieee80211::IRecipientAckPolicy.
52 if (
auto dataFrame = dynamic_cast<Ieee80211DataFrame*>(frame))
virtual MACAddress & getReceiverAddress()
Definition: Ieee80211Frame_m.h:139
bool isMulticast() const
Returns true if this is a multicast logical address (first byte's lsb is 1).
Definition: MACAddress.h:146
Implements inet::ieee80211::IRecipientQoSAckPolicy.
73 if (dynamic_cast<Ieee80211BasicBlockAckReq*>(blockAckReq)) {
74 return agreement !=
nullptr;
79 throw cRuntimeError(
"Unsupported BlockAckReq");
virtual int inet::ieee80211::RecipientQoSAckPolicy::numInitStages |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following files: