#include <Ieee80211MgmtSTASimplified.h>
Inheritance diagram for Ieee80211MgmtSTASimplified:
Ieee80211DataFrame * Ieee80211MgmtSTASimplified::encapsulate | ( | cMessage * | msg | ) | [protected, virtual] |
Utility function for handleUpperMessage()
00054 { 00055 Ieee80211DataFrame *frame = new Ieee80211DataFrame(msg->name()); 00056 00057 // frame goes to the AP 00058 frame->setToDS(true); 00059 00060 // receiver is the AP 00061 frame->setReceiverAddress(accessPointAddress); 00062 00063 // destination address is in address3 00064 Ieee802Ctrl *ctrl = check_and_cast<Ieee802Ctrl *>(msg->removeControlInfo()); 00065 ASSERT(!ctrl->getDest().isUnspecified()); 00066 frame->setAddress3(ctrl->getDest()); 00067 delete ctrl; 00068 00069 frame->encapsulate(msg); 00070 return frame; 00071 }
void Ieee80211MgmtSTASimplified::handleAssociationRequestFrame | ( | Ieee80211AssociationRequestFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleAssociationResponseFrame | ( | Ieee80211AssociationResponseFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleAuthenticationFrame | ( | Ieee80211AuthenticationFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleBeaconFrame | ( | Ieee80211BeaconFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleCommand | ( | int | msgkind, | |
cPolymorphic * | ctrl | |||
) | [protected, virtual] |
Implements abstract Ieee80211MgmtBase method -- throws an error (no commands supported)
Implements Ieee80211MgmtBase.
void Ieee80211MgmtSTASimplified::handleDataFrame | ( | Ieee80211DataFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleDeauthenticationFrame | ( | Ieee80211DeauthenticationFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleDisassociationFrame | ( | Ieee80211DisassociationFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleProbeRequestFrame | ( | Ieee80211ProbeRequestFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleProbeResponseFrame | ( | Ieee80211ProbeResponseFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleReassociationRequestFrame | ( | Ieee80211ReassociationRequestFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleReassociationResponseFrame | ( | Ieee80211ReassociationResponseFrame * | frame | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleTimer | ( | cMessage * | msg | ) | [protected, virtual] |
void Ieee80211MgmtSTASimplified::handleUpperMessage | ( | cMessage * | msg | ) | [protected, virtual] |
Implements abstract Ieee80211MgmtBase method
Implements Ieee80211MgmtBase.
00043 { 00044 Ieee80211DataFrame *frame = encapsulate(msg); 00045 sendOrEnqueue(frame); 00046 }
void Ieee80211MgmtSTASimplified::initialize | ( | int | ) | [protected, virtual] |
Reimplemented from Ieee80211MgmtBase.
00028 { 00029 Ieee80211MgmtBase::initialize(stage); 00030 if (stage==0) 00031 { 00032 accessPointAddress.setAddress(par("accessPointAddress").stringValue()); 00033 receiveSequence = 0; 00034 } 00035 }
virtual int Ieee80211MgmtSTASimplified::numInitStages | ( | ) | const [inline, protected, virtual] |
void Ieee80211MgmtSTASimplified::receiveChangeNotification | ( | int | category, | |
cPolymorphic * | details | |||
) | [protected, virtual] |
Called by the NotificationBoard whenever a change occurs we're interested in
Implements INotifiable.
00074 { 00075 Enter_Method_Silent(); 00076 printNotificationBanner(category, details); 00077 }
int Ieee80211MgmtSTASimplified::receiveSequence [protected] |