INET Framework for OMNeT++/OMNEST
|
Implements the Onoe rate control algorithms. More...
#include <OnoeRateControl.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 | computeMode () |
virtual void | resetStatisticalVariables () |
virtual void | computeModeIfTimerIsExpired () |
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 |
int | numOfRetries = 0 |
int | numOfSuccTransmissions = 0 |
int | numOfGivenUpTransmissions = 0 |
double | avgRetriesPerFrame = 0 |
int | credit = 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 Onoe rate control algorithms.
|
protectedvirtual |
Referenced by computeModeIfTimerIsExpired().
|
protectedvirtual |
Referenced by frameTransmitted(), and getRate().
|
overridevirtual |
Implements inet::ieee80211::IRateControl.
|
overridevirtual |
Implements inet::ieee80211::IRateControl.
|
overridevirtual |
Implements inet::ieee80211::IRateControl.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::ieee80211::RateControlBase.
|
inlineoverrideprotectedvirtual |
Reimplemented from inet::ieee80211::RateControlBase.
|
protectedvirtual |
Referenced by computeMode().
|
protectedvirtual |
Referenced by computeMode(), and initialize().
|
protected |
Referenced by computeMode(), and initialize().
|
protected |
Referenced by computeMode(), and initialize().
|
protected |
Referenced by computeModeIfTimerIsExpired(), and initialize().
|
protected |
Referenced by computeMode(), frameTransmitted(), initialize(), and resetStatisticalVariables().
|
protected |
Referenced by computeMode(), frameTransmitted(), initialize(), and resetStatisticalVariables().
|
protected |
Referenced by computeMode(), frameTransmitted(), initialize(), and resetStatisticalVariables().
|
protected |
Referenced by computeModeIfTimerIsExpired().