|
INET Framework for OMNeT++/OMNEST
|
#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 | ||
| ) |
{
os << "AP addr=" << assocAP.address
<< " chan=" << assocAP.channel
<< " ssid=" << assocAP.ssid
<< " beaconIntvl=" << assocAP.beaconInterval
<< " receiveSeq=" << assocAP.receiveSequence
<< " rxPower=" << assocAP.rxPower;
return os;
}
| std::ostream& operator<< | ( | std::ostream & | os, |
| const Ieee80211MgmtSTA::APInfo & | ap | ||
| ) |
{
os << "AP addr=" << ap.address
<< " chan=" << ap.channel
<< " ssid=" << ap.ssid
//TBD supportedRates
<< " beaconIntvl=" << ap.beaconInterval
<< " rxPower=" << ap.rxPower
<< " authSeqExpected=" << ap.authSeqExpected
<< " isAuthenticated=" << ap.isAuthenticated;
return os;
}
| std::ostream& operator<< | ( | std::ostream & | os, |
| const Ieee80211MgmtSTA::ScanningInfo & | scanning | ||
| ) |
{
os << "activeScan=" << scanning.activeScan
<< " probeDelay=" << scanning.probeDelay
<< " curChan=";
if (scanning.channelList.empty())
os << "<none>";
else
os << scanning.channelList[scanning.currentChannelIndex];
os << " minChanTime=" << scanning.minChannelTime
<< " maxChanTime=" << scanning.maxChannelTime;
os << " chanList={";
for (int i=0; i<(int)scanning.channelList.size(); i++)
os << (i==0 ? "" : " ") << scanning.channelList[i];
os << "}";
return os;
}