#include <CtsPolicy.h>
simtime_t inet::ieee80211::CtsPolicy::computeCtsDuration |
( |
Ieee80211RTSFrame * |
rtsFrame | ) |
const |
|
protectedvirtual |
Referenced by computeCtsDurationField().
IRateSelection * rateSelection
Definition: CtsPolicy.h:32
virtual const IIeee80211Mode * computeResponseCtsFrameMode(Ieee80211RTSFrame *rtsFrame)=0
virtual const simtime_t getDuration(int dataBitLength) const =0
const unsigned int LENGTH_CTS
Definition: Ieee80211Frame_m.h:42
simtime_t inet::ieee80211::CtsPolicy::computeCtsDurationField |
( |
Ieee80211RTSFrame * |
frame | ) |
const |
|
overridevirtual |
Implements inet::ieee80211::ICtsPolicy.
48 return duration < 0 ? 0 : duration;
Ieee80211ModeSet * modeSet
Definition: ModeSetListener.h:31
virtual simtime_t computeCtsDuration(Ieee80211RTSFrame *rtsFrame) const
Definition: CtsPolicy.cc:35
simtime_t getSifsTime() const
Definition: Ieee80211ModeSet.h:77
void inet::ieee80211::CtsPolicy::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
Reimplemented from inet::ieee80211::ModeSetListener.
30 rx = check_and_cast<
IRx *>(getModuleByPath(par(
"rxModule")));
IRx * rx
Definition: CtsPolicy.h:33
IRateSelection * rateSelection
Definition: CtsPolicy.h:32
Abstract interface for Rx processes.
Definition: IRx.h:45
Abstract interface for rate selection.
Definition: IRateSelection.h:36
Local initializations.
Definition: InitStages.h:35
virtual void initialize(int stage) override
Definition: ModeSetListener.cc:25
virtual int inet::ieee80211::CtsPolicy::numInitStages |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
IRx* inet::ieee80211::CtsPolicy::rx = nullptr |
|
protected |
The documentation for this class was generated from the following files: