INET Framework for OMNeT++/OMNEST
|
Used in 802.11 infrastructure mode: in a station (STA), this module controls channel scanning, association and handovers, by sending commands (e.g. More...
#include <Ieee80211AgentSTA.h>
Public Member Functions | |
Ieee80211AgentSTA () | |
Protected Member Functions | |
virtual int | numInitStages () const override |
virtual void | initialize (int) override |
virtual void | handleMessage (cMessage *msg) override |
Overridden cSimpleModule method. More... | |
virtual void | handleTimer (cMessage *msg) |
Handle timers. More... | |
virtual void | handleResponse (cMessage *msg) |
Handle responses from mgmgt. More... | |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, cObject *obj, cObject *details) override |
Redefined from cListener; called by signal handler. More... | |
virtual void | sendRequest (Ieee80211PrimRequest *req) |
virtual int | chooseBSS (Ieee80211Prim_ScanConfirm *resp) |
Choose one AP from the list to associate with. More... | |
virtual void | dumpAPList (Ieee80211Prim_ScanConfirm *resp) |
virtual void | sendScanRequest () |
Sending of Request primitives. More... | |
virtual void | sendAuthenticateRequest (const MACAddress &address) |
virtual void | sendDeauthenticateRequest (const MACAddress &address, int reasonCode) |
virtual void | sendAssociateRequest (const MACAddress &address) |
virtual void | sendReassociateRequest (const MACAddress &address) |
virtual void | sendDisassociateRequest (const MACAddress &address, int reasonCode) |
virtual void | processScanConfirm (Ieee80211Prim_ScanConfirm *resp) |
Processing Confirm primitives. More... | |
virtual void | processAuthenticateConfirm (Ieee80211Prim_AuthenticateConfirm *resp) |
virtual void | processAssociateConfirm (Ieee80211Prim_AssociateConfirm *resp) |
virtual void | processReassociateConfirm (Ieee80211Prim_ReassociateConfirm *resp) |
Protected Attributes | |
InterfaceEntry * | myIface = nullptr |
MACAddress | prevAP |
bool | activeScan = false |
std::vector< int > | channelsToScan |
simtime_t | probeDelay |
simtime_t | minChannelTime |
simtime_t | maxChannelTime |
simtime_t | authenticationTimeout |
simtime_t | associationTimeout |
std::string | default_ssid |
Static Protected Attributes | |
static simsignal_t | sentRequestSignal = registerSignal("sentRequest") |
static simsignal_t | acceptConfirmSignal = registerSignal("acceptConfirm") |
static simsignal_t | dropConfirmSignal = registerSignal("dropConfirm") |
Used in 802.11 infrastructure mode: in a station (STA), this module controls channel scanning, association and handovers, by sending commands (e.g.
Ieee80211Prim_ScanRequest) to the management module (Ieee80211MgmtSTA).
See corresponding NED file for a detailed description.
|
protectedvirtual |
|
protectedvirtual |
Referenced by processScanConfirm().
|
overrideprotectedvirtual |
Overridden cSimpleModule method.
|
protectedvirtual |
Handle responses from mgmgt.
Referenced by handleMessage().
|
protectedvirtual |
Handle timers.
Referenced by handleMessage().
|
overrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
protectedvirtual |
Referenced by handleResponse().
|
protectedvirtual |
Referenced by handleResponse().
|
protectedvirtual |
Referenced by handleResponse().
|
protectedvirtual |
Processing Confirm primitives.
Referenced by handleResponse().
|
overrideprotectedvirtual |
Redefined from cListener; called by signal handler.
|
protectedvirtual |
Referenced by processAuthenticateConfirm().
|
protectedvirtual |
Referenced by processScanConfirm().
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Sending of Request primitives.
Referenced by handleTimer(), processAssociateConfirm(), processAuthenticateConfirm(), processReassociateConfirm(), processScanConfirm(), and receiveSignal().
|
staticprotected |
Referenced by processAssociateConfirm(), processAuthenticateConfirm(), processReassociateConfirm(), and processScanConfirm().
|
protected |
Referenced by initialize(), and sendScanRequest().
|
protected |
Referenced by initialize(), sendAssociateRequest(), and sendReassociateRequest().
|
protected |
Referenced by initialize(), and sendAuthenticateRequest().
|
protected |
Referenced by initialize(), and sendScanRequest().
|
protected |
Referenced by initialize(), and processScanConfirm().
|
staticprotected |
Referenced by processAssociateConfirm(), processAuthenticateConfirm(), processReassociateConfirm(), and processScanConfirm().
|
protected |
Referenced by initialize(), and sendScanRequest().
|
protected |
Referenced by initialize(), and sendScanRequest().
|
protected |
Referenced by initialize(), processAssociateConfirm(), processReassociateConfirm(), and receiveSignal().
|
protected |
Referenced by processAssociateConfirm().
|
protected |
Referenced by initialize(), and sendScanRequest().
|
staticprotected |