A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::lrwpan::MlmeScanRequestParams Struct Reference

MLME-SCAN.request params. More...

#include "lr-wpan-mac-base.h"

+ Collaboration diagram for ns3::lrwpan::MlmeScanRequestParams:

Public Attributes

uint32_t m_chPage {0}
 The channel page on which to perform scan.
 
uint32_t m_scanChannels {0x7FFF800}
 The channel numbers to be scanned.
 
uint8_t m_scanDuration {14}
 The factor (0-14) used to calculate the length of time to spend scanning.
 
MlmeScanType m_scanType {MLMESCAN_PASSIVE}
 Indicates the type of scan performed as described in IEEE 802.15.4-2011 (5.1.2.1).
 

Detailed Description

MLME-SCAN.request params.

See IEEE 802.15.4-2011 Section 6.2.10.1 Table 30

Definition at line 152 of file lr-wpan-mac-base.h.

Member Data Documentation

◆ m_chPage

uint32_t ns3::lrwpan::MlmeScanRequestParams::m_chPage {0}

◆ m_scanChannels

uint32_t ns3::lrwpan::MlmeScanRequestParams::m_scanChannels {0x7FFF800}

The channel numbers to be scanned.

Default: (0x7FFF800 = Ch11-Ch26) 27 LSB (b0,b1,...,b26) = channels

Definition at line 156 of file lr-wpan-mac-base.h.

Referenced by TestActiveScanPanDescriptors::DoRun(), TestOrphanScan::DoRun(), ns3::lrwpan::LrWpanMac::EndChannelEnergyScan(), ns3::lrwpan::LrWpanMac::EndChannelScan(), and ns3::lrwpan::LrWpanMac::PlmeSetAttributeConfirm().

◆ m_scanDuration

uint8_t ns3::lrwpan::MlmeScanRequestParams::m_scanDuration {14}

The factor (0-14) used to calculate the length of time to spend scanning.

scanDurationSymbols = [aBaseSuperframeDuration * (2^m_scanDuration + 1)].

Definition at line 159 of file lr-wpan-mac-base.h.

Referenced by TestActiveScanPanDescriptors::DoRun(), and ns3::lrwpan::LrWpanMac::PlmeSetAttributeConfirm().

◆ m_scanType

MlmeScanType ns3::lrwpan::MlmeScanRequestParams::m_scanType {MLMESCAN_PASSIVE}

The documentation for this struct was generated from the following file: