INET Framework for OMNeT++/OMNEST
|
Abstract base class for 802.11 infrastructure mode management components. More...
#include <Ieee80211MgmtBase.h>
Protected Member Functions | |
virtual int | numInitStages () const override |
virtual void | initialize (int) override |
virtual void | handleMessage (cMessage *msg) override |
Dispatches incoming messages to handleTimer(), handleUpperMessage() or processFrame(). More... | |
virtual void | handleTimer (cMessage *frame)=0 |
Should be redefined to deal with self-messages. More... | |
virtual void | handleUpperMessage (cPacket *msg)=0 |
Should be redefined to encapsulate and enqueue msgs from higher layers. More... | |
virtual void | handleCommand (int msgkind, cObject *ctrl)=0 |
Should be redefined to handle commands from the "agent" (if present) More... | |
virtual void | sendDown (cPacket *frame) |
Utility method for implementing handleUpperMessage(): send message to MAC. More... | |
virtual void | dropManagementFrame (Ieee80211ManagementFrame *frame) |
Utility method to dispose of an unhandled frame. More... | |
virtual void | sendUp (cMessage *msg) |
Utility method: sends the packet to the upper layer. More... | |
virtual void | processFrame (Ieee80211DataOrMgmtFrame *frame) |
Dispatch to frame processing methods according to frame type. More... | |
Processing of different frame types | |
virtual void | handleDataFrame (Ieee80211DataFrame *frame)=0 |
virtual void | handleAuthenticationFrame (Ieee80211AuthenticationFrame *frame)=0 |
virtual void | handleDeauthenticationFrame (Ieee80211DeauthenticationFrame *frame)=0 |
virtual void | handleAssociationRequestFrame (Ieee80211AssociationRequestFrame *frame)=0 |
virtual void | handleAssociationResponseFrame (Ieee80211AssociationResponseFrame *frame)=0 |
virtual void | handleReassociationRequestFrame (Ieee80211ReassociationRequestFrame *frame)=0 |
virtual void | handleReassociationResponseFrame (Ieee80211ReassociationResponseFrame *frame)=0 |
virtual void | handleDisassociationFrame (Ieee80211DisassociationFrame *frame)=0 |
virtual void | handleBeaconFrame (Ieee80211BeaconFrame *frame)=0 |
virtual void | handleProbeRequestFrame (Ieee80211ProbeRequestFrame *frame)=0 |
virtual void | handleProbeResponseFrame (Ieee80211ProbeResponseFrame *frame)=0 |
Protected Attributes | |
MACAddress | myAddress |
bool | isOperational |
long | numDataFramesReceived |
long | numMgmtFramesReceived |
long | numMgmtFramesDropped |
virtual void | start () |
lifecycle support More... | |
virtual void | stop () |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
Additional Inherited Members | |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Abstract base class for 802.11 infrastructure mode management components.
|
protectedvirtual |
Utility method to dispose of an unhandled frame.
Referenced by inet::ieee80211::Ieee80211MgmtAPSimplified::handleAssociationRequestFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleAssociationRequestFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleAssociationRequestFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleAssociationResponseFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleAssociationResponseFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleAssociationResponseFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleAuthenticationFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleAuthenticationFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleAuthenticationFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleBeaconFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleBeaconFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleBeaconFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleDeauthenticationFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleDeauthenticationFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleDeauthenticationFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleDisassociationFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleDisassociationFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleDisassociationFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleProbeRequestFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleProbeRequestFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleProbeRequestFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleProbeResponseFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleProbeResponseFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleProbeResponseFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleReassociationRequestFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleReassociationRequestFrame(), inet::ieee80211::Ieee80211MgmtSTASimplified::handleReassociationRequestFrame(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleReassociationResponseFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleReassociationResponseFrame(), and inet::ieee80211::Ieee80211MgmtSTASimplified::handleReassociationResponseFrame().
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
Should be redefined to handle commands from the "agent" (if present)
Implemented in inet::ieee80211::Ieee80211MgmtSTA, inet::ieee80211::Ieee80211MgmtAP, inet::ieee80211::Ieee80211MgmtSTASimplified, inet::ieee80211::Ieee80211MgmtAPSimplified, and inet::ieee80211::Ieee80211MgmtAdhoc.
Referenced by handleMessage().
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
overrideprotectedvirtual |
Dispatches incoming messages to handleTimer(), handleUpperMessage() or processFrame().
|
overridevirtual |
Perform one stage of a lifecycle operation.
Processing may be done entirely within this method, or may be a longer process that involves nonzero simulation time or several events, and is triggered by this method call.
Return value: true = "done"; false = "not yet done, will invoke doneCallback when done"
Implements inet::ILifecycle.
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
Should be redefined to deal with self-messages.
Implemented in inet::ieee80211::Ieee80211MgmtSTA, inet::ieee80211::Ieee80211MgmtAP, inet::ieee80211::Ieee80211MgmtSTASimplified, inet::ieee80211::Ieee80211MgmtAPSimplified, and inet::ieee80211::Ieee80211MgmtAdhoc.
Referenced by handleMessage().
|
protectedpure virtual |
Should be redefined to encapsulate and enqueue msgs from higher layers.
Implemented in inet::ieee80211::Ieee80211MgmtSTA, inet::ieee80211::Ieee80211MgmtAP, inet::ieee80211::Ieee80211MgmtSTASimplified, inet::ieee80211::Ieee80211MgmtAPSimplified, and inet::ieee80211::Ieee80211MgmtAdhoc.
Referenced by handleMessage().
|
overrideprotectedvirtual |
Reimplemented in inet::ieee80211::Ieee80211MgmtSTA, inet::ieee80211::Ieee80211MgmtAP, inet::ieee80211::Ieee80211MgmtAPBase, inet::ieee80211::Ieee80211MgmtSTASimplified, inet::ieee80211::Ieee80211MgmtAPSimplified, and inet::ieee80211::Ieee80211MgmtAdhoc.
Referenced by inet::ieee80211::Ieee80211MgmtAdhoc::initialize(), inet::ieee80211::Ieee80211MgmtSTASimplified::initialize(), inet::ieee80211::Ieee80211MgmtAPBase::initialize(), and inet::ieee80211::Ieee80211MgmtSTA::initialize().
|
inlineoverrideprotectedvirtual |
|
protectedvirtual |
Dispatch to frame processing methods according to frame type.
Referenced by handleMessage().
|
protectedvirtual |
Utility method for implementing handleUpperMessage(): send message to MAC.
Referenced by inet::ieee80211::Ieee80211MgmtAPBase::distributeReceivedDataFrame(), inet::ieee80211::Ieee80211MgmtAdhoc::handleUpperMessage(), inet::ieee80211::Ieee80211MgmtAPSimplified::handleUpperMessage(), and inet::ieee80211::Ieee80211MgmtSTASimplified::handleUpperMessage().
|
protectedvirtual |
Utility method: sends the packet to the upper layer.
Referenced by inet::ieee80211::Ieee80211MgmtAdhoc::handleDataFrame(), and inet::ieee80211::Ieee80211MgmtSTASimplified::handleDataFrame().
|
protectedvirtual |
lifecycle support
Reimplemented in inet::ieee80211::Ieee80211MgmtAP.
Referenced by handleOperationStage(), and inet::ieee80211::Ieee80211MgmtAP::start().
|
protectedvirtual |
Reimplemented in inet::ieee80211::Ieee80211MgmtAP.
Referenced by handleOperationStage(), and inet::ieee80211::Ieee80211MgmtAP::stop().
|
protected |
Referenced by handleMessage(), initialize(), sendDown(), sendUp(), start(), and stop().
|
protected |
Referenced by initialize().
|
protected |
Referenced by initialize(), and processFrame().
|
protected |
Referenced by dropManagementFrame(), and initialize().
|
protected |
Referenced by initialize(), and processFrame().