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

MLME-SCAN.request params. More...

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

+ Collaboration diagram for ns3::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.
 
LrWpanMlmeScanType 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 161 of file lr-wpan-mac-base.h.

Member Data Documentation

◆ m_chPage

uint32_t ns3::MlmeScanRequestParams::m_chPage {0}

◆ m_scanChannels

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

The channel numbers to be scanned.

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

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

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

◆ m_scanDuration

uint8_t ns3::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 168 of file lr-wpan-mac-base.h.

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

◆ m_scanType

LrWpanMlmeScanType ns3::MlmeScanRequestParams::m_scanType {MLMESCAN_PASSIVE}

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