|
INET Framework for OMNeT++/OMNEST
|
#include <Dcaf.h>
◆ calculateTimingParameters()
| void inet::ieee80211::Dcaf::calculateTimingParameters |
( |
| ) |
|
|
protectedvirtual |
62 int difsNumber = par(
"difsn");
71 EV_DEBUG <<
"Timing parameters are initialized: slotTime = " <<
slotTime <<
", sifs = " <<
sifs <<
", ifs = " <<
ifs <<
", eifs = " <<
eifs << std::endl;
80 EV_DEBUG <<
"Contention window parameters are initialized: cw = " <<
cw <<
", cwMin = " <<
cwMin <<
", cwMax = " <<
cwMax << std::endl;
◆ channelAccessGranted()
| void inet::ieee80211::Dcaf::channelAccessGranted |
( |
| ) |
|
|
overridevirtual |
◆ expectedChannelAccess()
| void inet::ieee80211::Dcaf::expectedChannelAccess |
( |
simtime_t |
time | ) |
|
|
overridevirtual |
◆ getCw()
| virtual int inet::ieee80211::Dcaf::getCw |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getInProgressFrames()
◆ getPendingQueue()
◆ incrementCw()
| void inet::ieee80211::Dcaf::incrementCw |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
| void inet::ieee80211::Dcaf::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
Reimplemented from inet::ieee80211::ModeSetListener.
29 pendingQueue = check_and_cast<queueing::IPacketQueue *>(getSubmodule(
"pendingQueue"));
30 inProgressFrames = check_and_cast<InProgressFrames *>(getSubmodule(
"inProgressFrames"));
31 contention = check_and_cast<IContention *>(getSubmodule(
"contention"));
32 auto rx = check_and_cast<IRx *>(getModuleByPath(par(
"rxModule")));
◆ numInitStages()
| virtual int inet::ieee80211::Dcaf::numInitStages |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ receiveSignal()
| void inet::ieee80211::Dcaf::receiveSignal |
( |
cComponent * |
source, |
|
|
simsignal_t |
signalID, |
|
|
cObject * |
obj, |
|
|
cObject * |
details |
|
) |
| |
|
overrideprotectedvirtual |
◆ refreshDisplay()
| void inet::ieee80211::Dcaf::refreshDisplay |
( |
| ) |
const |
|
overrideprotectedvirtual |
55 getDisplayString().setTagArg(
"t", 0, text.c_str());
◆ releaseChannel()
◆ requestChannel()
◆ resetCw()
| void inet::ieee80211::Dcaf::resetCw |
( |
| ) |
|
|
overridevirtual |
◆ callback
◆ contention
| IContention* inet::ieee80211::Dcaf::contention = nullptr |
|
protected |
◆ cw
| int inet::ieee80211::Dcaf::cw = -1 |
|
protected |
◆ cwMax
| int inet::ieee80211::Dcaf::cwMax = -1 |
|
protected |
◆ cwMin
| int inet::ieee80211::Dcaf::cwMin = -1 |
|
protected |
◆ eifs
| simtime_t inet::ieee80211::Dcaf::eifs = -1 |
|
protected |
◆ ifs
| simtime_t inet::ieee80211::Dcaf::ifs = -1 |
|
protected |
◆ inProgressFrames
◆ modeSet
◆ owning
| bool inet::ieee80211::Dcaf::owning = false |
|
protected |
◆ pendingQueue
◆ sifs
| simtime_t inet::ieee80211::Dcaf::sifs = -1 |
|
protected |
◆ slotTime
| simtime_t inet::ieee80211::Dcaf::slotTime = -1 |
|
protected |
The documentation for this class was generated from the following files:
physicallayer::Ieee80211ModeSet * modeSet
Definition: Dcaf.h:23
bool owning
Definition: Dcaf.h:30
InProgressFrames * inProgressFrames
Definition: Dcaf.h:28
IContention * contention
Definition: Dcaf.h:24
virtual void startContention(int cw, simtime_t ifs, simtime_t eifs, simtime_t slotTime, ICallback *callback)=0
simtime_t sifs
Definition: Dcaf.h:33
virtual void calculateTimingParameters()
Definition: Dcaf.cc:58
virtual bool isContentionInProgress()=0
NetworkInterface * getContainingNicModule(const cModule *from)
Find the nic module (inside the networkNode) containing the given module.
Definition: NetworkInterface.cc:691
simsignal_t modesetChangedSignal
Definition: Simsignals.cc:24
virtual const simtime_t getDuration(b dataLength) const =0
static simsignal_t channelOwnershipChangedSignal
Definition: IChannelAccess.h:19
const IIeee80211Mode * getSlowestMandatoryMode() const
Definition: Ieee80211ModeSet.cc:565
queueing::IPacketQueue * pendingQueue
Definition: Dcaf.h:27
const b LENGTH_ACK
Definition: Ieee80211Frame_m.h:94
simtime_t slotTime
Definition: Dcaf.h:32
virtual void channelGranted(IChannelAccess *channelAccess)=0
INET_API InitStage INITSTAGE_LOCAL
Initialization of local state that don't use or affect other modules includes:
int cw
Definition: Dcaf.h:37
int getCwMin() const
Definition: Ieee80211ModeSet.h:70
#define NUM_INIT_STAGES
Definition: InitStageRegistry.h:73
simtime_t getSlotTime() const
Definition: Ieee80211ModeSet.h:68
int cwMax
Definition: Dcaf.h:39
simtime_t ifs
Definition: Dcaf.h:34
simtime_t getSifsTime() const
Definition: Ieee80211ModeSet.h:67
#define Enter_Method(...)
Definition: SelfDoc.h:71
int cwMin
Definition: Dcaf.h:38
IChannelAccess::ICallback * callback
Definition: Dcaf.h:25
simtime_t eifs
Definition: Dcaf.h:35
int getCwMax() const
Definition: Ieee80211ModeSet.h:71
INET_API InitStage INITSTAGE_LINK_LAYER
Initialization of link-layer protocols.