#include "Ieee80211MgmtSTA.h"
#include "Ieee802Ctrl_m.h"
#include "NotifierConsts.h"
#include "PhyControlInfo_m.h"
#include "RadioState.h"
#include "ChannelControl.h"
Defines | |
#define | MK_AUTH_TIMEOUT 1 |
#define | MK_ASSOC_TIMEOUT 2 |
#define | MK_SCAN_SENDPROBE 3 |
#define | MK_SCAN_MINCHANNELTIME 4 |
#define | MK_SCAN_MAXCHANNELTIME 5 |
#define | MK_BEACON_TIMEOUT 6 |
#define | MAX_BEACONS_MISSED 3.5 |
Functions | |
Define_Module (Ieee80211MgmtSTA) | |
std::ostream & | operator<< (std::ostream &os, const Ieee80211MgmtSTA::ScanningInfo &scanning) |
std::ostream & | operator<< (std::ostream &os, const Ieee80211MgmtSTA::APInfo &ap) |
std::ostream & | operator<< (std::ostream &os, const Ieee80211MgmtSTA::AssociatedAPInfo &assocAP) |
#define MAX_BEACONS_MISSED 3.5 |
#define MK_ASSOC_TIMEOUT 2 |
Referenced by Ieee80211MgmtSTA::handleTimer(), and Ieee80211MgmtSTA::startAssociation().
#define MK_AUTH_TIMEOUT 1 |
Referenced by Ieee80211MgmtSTA::handleTimer(), and Ieee80211MgmtSTA::startAuthentication().
#define MK_BEACON_TIMEOUT 6 |
Referenced by Ieee80211MgmtSTA::handleAssociationResponseFrame(), and Ieee80211MgmtSTA::handleTimer().
#define MK_SCAN_MAXCHANNELTIME 5 |
Referenced by Ieee80211MgmtSTA::handleTimer(), and Ieee80211MgmtSTA::scanNextChannel().
#define MK_SCAN_MINCHANNELTIME 4 |
Referenced by Ieee80211MgmtSTA::handleTimer().
#define MK_SCAN_SENDPROBE 3 |
Referenced by Ieee80211MgmtSTA::handleTimer(), and Ieee80211MgmtSTA::scanNextChannel().
Define_Module | ( | Ieee80211MgmtSTA | ) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const Ieee80211MgmtSTA::AssociatedAPInfo & | assocAP | |||
) |
00078 { 00079 os << "AP addr=" << assocAP.address 00080 << " chan=" << assocAP.channel 00081 << " ssid=" << assocAP.ssid 00082 << " beaconIntvl=" << assocAP.beaconInterval 00083 << " receiveSeq=" << assocAP.receiveSequence 00084 << " rxPower=" << assocAP.rxPower; 00085 return os; 00086 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const Ieee80211MgmtSTA::APInfo & | ap | |||
) |
00065 { 00066 os << "AP addr=" << ap.address 00067 << " chan=" << ap.channel 00068 << " ssid=" << ap.ssid 00069 //TBD supportedRates 00070 << " beaconIntvl=" << ap.beaconInterval 00071 << " rxPower=" << ap.rxPower 00072 << " authSeqExpected=" << ap.authSeqExpected 00073 << " isAuthenticated=" << ap.isAuthenticated; 00074 return os; 00075 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const Ieee80211MgmtSTA::ScanningInfo & | scanning | |||
) |
00046 { 00047 os << "activeScan=" << scanning.activeScan 00048 << " probeDelay=" << scanning.probeDelay 00049 << " curChan="; 00050 if (scanning.channelList.empty()) 00051 os << "<none>"; 00052 else 00053 os << scanning.channelList[scanning.currentChannelIndex]; 00054 os << " minChanTime=" << scanning.minChannelTime 00055 << " maxChanTime=" << scanning.maxChannelTime; 00056 os << " chanList={"; 00057 for (int i=0; i<(int)scanning.channelList.size(); i++) 00058 os << (i==0 ? "" : " ") << scanning.channelList[i]; 00059 os << "}"; 00060 00061 return os; 00062 }