Used in 802.11 infrastructure mode: handles management frames for a station (STA).
More...
|
virtual int | numInitStages () const override |
|
virtual void | initialize (int stage) override |
|
virtual void | handleTimer (cMessage *msg) override |
| Implements abstract Ieee80211MgmtBase method. More...
|
|
virtual void | handleUpperMessage (cPacket *msg) override |
| Implements abstract Ieee80211MgmtBase method. More...
|
|
virtual void | handleCommand (int msgkind, cObject *ctrl) override |
| Implements abstract Ieee80211MgmtBase method. More...
|
|
virtual Ieee80211DataFrame * | encapsulate (cPacket *msg) |
| Utility function for handleUpperMessage() More...
|
|
virtual cPacket * | decapsulate (Ieee80211DataFrame *frame) |
| Utility method to decapsulate a data frame. More...
|
|
virtual void | startAuthentication (APInfo *ap, simtime_t timeout) |
| Utility function: sends authentication request. More...
|
|
virtual void | startAssociation (APInfo *ap, simtime_t timeout) |
| Utility function: sends association request. More...
|
|
virtual APInfo * | lookupAP (const MACAddress &address) |
| Utility function: looks up AP in our AP list. More...
|
|
virtual void | clearAPList () |
| Utility function: clear the AP list, and cancel any pending authentications. More...
|
|
virtual void | changeChannel (int channelNum) |
| Utility function: switches to the given radio channel. More...
|
|
virtual void | storeAPInfo (const MACAddress &address, const Ieee80211BeaconFrameBody &body) |
| Stores AP info received in a beacon or probe response. More...
|
|
virtual bool | scanNextChannel () |
| Switches to the next channel to scan; returns true if done (there wasn't any more channel to scan). More...
|
|
virtual void | sendProbeRequest () |
| Broadcasts a Probe Request. More...
|
|
virtual void | beaconLost () |
| Missed a few consecutive beacons. More...
|
|
virtual void | sendScanConfirm () |
| Sends back result of scanning to the agent. More...
|
|
virtual void | sendAuthenticationConfirm (APInfo *ap, int resultCode) |
| Sends back result of authentication to the agent. More...
|
|
virtual void | sendAssociationConfirm (APInfo *ap, int resultCode) |
| Sends back result of association to the agent. More...
|
|
virtual void | disassociate () |
| Utility function: Cancel the existing association. More...
|
|
virtual void | sendConfirm (Ieee80211PrimConfirm *confirm, int resultCode) |
| Utility function: sends a confirmation to the agent. More...
|
|
virtual void | sendManagementFrame (Ieee80211ManagementFrame *frame, const MACAddress &address) |
| Utility function: sends a management frame. More...
|
|
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, long value, cObject *details) override |
| Called by the signal handler whenever a change occurs we're interested in. More...
|
|
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, cObject *obj, cObject *details) override |
|
virtual int | statusCodeToPrimResultCode (int statusCode) |
| Utility function: converts Ieee80211StatusCode (->frame) to Ieee80211PrimResultCode (->primitive) More...
|
|
|
virtual void | handleDataFrame (Ieee80211DataFrame *frame) override |
|
virtual void | handleAuthenticationFrame (Ieee80211AuthenticationFrame *frame) override |
|
virtual void | handleDeauthenticationFrame (Ieee80211DeauthenticationFrame *frame) override |
|
virtual void | handleAssociationRequestFrame (Ieee80211AssociationRequestFrame *frame) override |
|
virtual void | handleAssociationResponseFrame (Ieee80211AssociationResponseFrame *frame) override |
|
virtual void | handleReassociationRequestFrame (Ieee80211ReassociationRequestFrame *frame) override |
|
virtual void | handleReassociationResponseFrame (Ieee80211ReassociationResponseFrame *frame) override |
|
virtual void | handleDisassociationFrame (Ieee80211DisassociationFrame *frame) override |
|
virtual void | handleBeaconFrame (Ieee80211BeaconFrame *frame) override |
|
virtual void | handleProbeRequestFrame (Ieee80211ProbeRequestFrame *frame) override |
|
virtual void | handleProbeResponseFrame (Ieee80211ProbeResponseFrame *frame) override |
|
|
virtual void | processScanCommand (Ieee80211Prim_ScanRequest *ctrl) |
|
virtual void | processAuthenticateCommand (Ieee80211Prim_AuthenticateRequest *ctrl) |
|
virtual void | processDeauthenticateCommand (Ieee80211Prim_DeauthenticateRequest *ctrl) |
|
virtual void | processAssociateCommand (Ieee80211Prim_AssociateRequest *ctrl) |
|
virtual void | processReassociateCommand (Ieee80211Prim_ReassociateRequest *ctrl) |
|
virtual void | processDisassociateCommand (Ieee80211Prim_DisassociateRequest *ctrl) |
|
virtual void | handleMessage (cMessage *msg) override |
| Dispatches incoming messages to handleTimer(), handleUpperMessage() or processFrame(). 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...
|
|
virtual void | start () |
| lifecycle support More...
|
|
virtual void | stop () |
|
Used in 802.11 infrastructure mode: handles management frames for a station (STA).
See corresponding NED file for a detailed description.
- Author
- Andras Varga