INET Framework for OMNeT++/OMNEST
|
Implements the ARF and AARF rate control algorithms. More...
#include <AARFRateControl.h>
Public Member Functions | |
virtual const IIeee80211Mode * | getRate () override |
virtual void | frameTransmitted (const Ieee80211Frame *frame, int retryCount, bool isSuccessful, bool isGivenUp) override |
virtual void | frameReceived (const Ieee80211Frame *frame, const Ieee80211ReceptionIndication *receptionIndication) override |
Public Member Functions inherited from inet::ieee80211::IRateControl | |
virtual | ~IRateControl () |
Protected Member Functions | |
virtual int | numInitStages () const override |
virtual void | initialize (int stage) override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | multiplyIncreaseThreshold (double factor) |
virtual void | resetIncreaseThreshdold () |
virtual void | resetTimer () |
virtual void | increaseRateIfTimerIsExpired () |
virtual void | updateDisplayString () |
Protected Member Functions inherited from inet::ieee80211::RateControlBase | |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, cObject *obj, cObject *details) override |
virtual void | emitDatarateSignal () |
const IIeee80211Mode * | increaseRateIfPossible (const IIeee80211Mode *currentMode) |
const IIeee80211Mode * | decreaseRateIfPossible (const IIeee80211Mode *currentMode) |
Protected Attributes | |
simtime_t | timer = SIMTIME_ZERO |
simtime_t | interval = SIMTIME_ZERO |
bool | probing = false |
int | increaseThreshold = -1 |
int | maxIncreaseThreshold = -1 |
int | decreaseThreshold = -1 |
double | factor = -1 |
int | numberOfConsSuccTransmissions = 0 |
Protected Attributes inherited from inet::ieee80211::RateControlBase | |
const IIeee80211Mode * | currentMode = nullptr |
Protected Attributes inherited from inet::ieee80211::ModeSetListener | |
Ieee80211ModeSet * | modeSet = nullptr |
Additional Inherited Members | |
Static Public Attributes inherited from inet::ieee80211::RateControlBase | |
static simsignal_t | datarateSignal = cComponent::registerSignal("datarate") |
Implements the ARF and AARF rate control algorithms.
|
overridevirtual |
Implements inet::ieee80211::IRateControl.
|
overridevirtual |
Implements inet::ieee80211::IRateControl.
|
overridevirtual |
Implements inet::ieee80211::IRateControl.
|
overrideprotectedvirtual |
|
protectedvirtual |
Referenced by frameTransmitted(), and getRate().
|
overrideprotectedvirtual |
Reimplemented from inet::ieee80211::RateControlBase.
|
protectedvirtual |
Referenced by frameTransmitted().
|
inlineoverrideprotectedvirtual |
Reimplemented from inet::ieee80211::RateControlBase.
|
protectedvirtual |
Referenced by frameTransmitted().
|
protectedvirtual |
Referenced by frameTransmitted(), and increaseRateIfTimerIsExpired().
|
protectedvirtual |
Referenced by frameTransmitted(), increaseRateIfTimerIsExpired(), and initialize().
|
protected |
Referenced by frameTransmitted(), and initialize().
|
protected |
Referenced by frameTransmitted(), initialize(), and multiplyIncreaseThreshold().
|
protected |
Referenced by frameTransmitted(), initialize(), multiplyIncreaseThreshold(), and resetIncreaseThreshdold().
|
protected |
Referenced by increaseRateIfTimerIsExpired(), and initialize().
|
protected |
Referenced by initialize(), and multiplyIncreaseThreshold().
|
protected |
Referenced by frameTransmitted(), and initialize().
|
protected |
Referenced by frameTransmitted(), and initialize().
|
protected |
Referenced by increaseRateIfTimerIsExpired(), and resetTimer().