#include <NonQoSRecoveryProcedure.h>
Referenced by inet::ieee80211::Hcf::originatorProcessReceivedControlFrame(), and inet::ieee80211::Dcf::originatorProcessReceivedFrame().
110 auto id = SequenceControlField(ackedFrame->getSequenceNumber(), ackedFrame->getFragmentNumber());
112 stationCounters->resetStationLongRetryCount();
118 stationCounters->resetStationShortRetryCount();
std::map< SequenceControlField, int > shortRetryCounter
Definition: NonQoSRecoveryProcedure.h:41
virtual void resetContentionWindow()
Definition: NonQoSRecoveryProcedure.cc:214
int rtsThreshold
Definition: NonQoSRecoveryProcedure.h:46
std::map< SequenceControlField, int > longRetryCounter
Definition: NonQoSRecoveryProcedure.h:42
void inet::ieee80211::NonQoSRecoveryProcedure::ctsFrameReceived |
( |
StationRetryCounters * |
stationCounters | ) |
|
|
virtual |
Referenced by inet::ieee80211::Hcf::handleInternalCollision(), inet::ieee80211::Dcf::originatorProcessFailedFrame(), and inet::ieee80211::Hcf::originatorProcessFailedFrame().
std::map< SequenceControlField, int > shortRetryCounter
Definition: NonQoSRecoveryProcedure.h:41
virtual void incrementCounter(Ieee80211DataOrMgmtFrame *frame, std::map< SequenceControlField, int > &retryCounter)
Definition: NonQoSRecoveryProcedure.cc:66
virtual void incrementStationSrc(StationRetryCounters *stationCounters)
Definition: NonQoSRecoveryProcedure.cc:48
virtual void incrementStationLrc(StationRetryCounters *stationCounters)
Definition: NonQoSRecoveryProcedure.cc:57
int rtsThreshold
Definition: NonQoSRecoveryProcedure.h:46
std::map< SequenceControlField, int > longRetryCounter
Definition: NonQoSRecoveryProcedure.h:42
virtual int inet::ieee80211::NonQoSRecoveryProcedure::getLongRetryLimit |
( |
| ) |
|
|
inlinevirtual |
int longRetryLimit
Definition: NonQoSRecoveryProcedure.h:45
virtual int inet::ieee80211::NonQoSRecoveryProcedure::getShortRetryLimit |
( |
| ) |
|
|
inlinevirtual |
int shortRetryLimit
Definition: NonQoSRecoveryProcedure.h:44
void inet::ieee80211::NonQoSRecoveryProcedure::incrementStationLrc |
( |
StationRetryCounters * |
stationCounters | ) |
|
|
protectedvirtual |
Referenced by dataOrMgmtFrameTransmissionFailed().
59 stationCounters->incrementStationLongRetryCount();
virtual void incrementCw()=0
int longRetryLimit
Definition: NonQoSRecoveryProcedure.h:45
virtual void resetContentionWindow()
Definition: NonQoSRecoveryProcedure.cc:214
ICwCalculator * cwCalculator
Definition: NonQoSRecoveryProcedure.h:39
void inet::ieee80211::NonQoSRecoveryProcedure::incrementStationSrc |
( |
StationRetryCounters * |
stationCounters | ) |
|
|
protectedvirtual |
Referenced by dataOrMgmtFrameTransmissionFailed(), and rtsFrameTransmissionFailed().
50 stationCounters->incrementStationShortRetryCount();
virtual void incrementCw()=0
int shortRetryLimit
Definition: NonQoSRecoveryProcedure.h:44
virtual void resetContentionWindow()
Definition: NonQoSRecoveryProcedure.cc:214
ICwCalculator * cwCalculator
Definition: NonQoSRecoveryProcedure.h:39
void inet::ieee80211::NonQoSRecoveryProcedure::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
40 auto rtsPolicy = check_and_cast<IRtsPolicy *>(getModuleByPath(par(
"rtsPolicyModule")));
41 cwCalculator = check_and_cast<ICwCalculator *>(getModuleByPath(par(
"cwCalculatorModule")));
Operations that no other initializations can depend on, e.g.
Definition: InitStages.h:111
int shortRetryLimit
Definition: NonQoSRecoveryProcedure.h:44
int longRetryLimit
Definition: NonQoSRecoveryProcedure.h:45
int rtsThreshold
Definition: NonQoSRecoveryProcedure.h:46
ICwCalculator * cwCalculator
Definition: NonQoSRecoveryProcedure.h:39
bool inet::ieee80211::NonQoSRecoveryProcedure::isMulticastFrame |
( |
Ieee80211Frame * |
frame | ) |
|
|
protectedvirtual |
235 if (Ieee80211OneAddressFrame *oneAddressFrame = dynamic_cast<Ieee80211OneAddressFrame*>(frame)) {
236 return oneAddressFrame->getReceiverAddress().isMulticast();
void inet::ieee80211::NonQoSRecoveryProcedure::multicastFrameTransmitted |
( |
StationRetryCounters * |
stationCounters | ) |
|
|
virtual |
virtual int inet::ieee80211::NonQoSRecoveryProcedure::numInitStages |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The number of initialization stages.
Definition: InitStages.h:116
void inet::ieee80211::NonQoSRecoveryProcedure::resetContentionWindow |
( |
| ) |
|
|
protectedvirtual |
ICwCalculator* inet::ieee80211::NonQoSRecoveryProcedure::cwCalculator = nullptr |
|
protected |
int inet::ieee80211::NonQoSRecoveryProcedure::longRetryLimit = -1 |
|
protected |
int inet::ieee80211::NonQoSRecoveryProcedure::rtsThreshold = -1 |
|
protected |
int inet::ieee80211::NonQoSRecoveryProcedure::shortRetryLimit = -1 |
|
protected |
The documentation for this class was generated from the following files: