A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
LR-WPAN common parameters
+ Collaboration diagram for LR-WPAN common parameters:

Variables

constexpr uint32_t ns3::lrwpan::aBaseSlotDuration {60}
 Length of a superframe slot in symbols.
 
constexpr uint32_t ns3::lrwpan::aBaseSuperframeDuration {aBaseSlotDuration * aNumSuperframeSlots}
 Length of a superframe in symbols.
 
constexpr uint32_t ns3::lrwpan::aMaxBeaconOverhead {75}
 The maximum number of octets added by the MAC sublayer to the MAC payload o a a beacon frame.
 
constexpr uint32_t ns3::lrwpan::aMaxBeaconPayloadLength {aMaxPhyPacketSize - aMaxBeaconOverhead}
 The maximum size, in octets, of a beacon payload.
 
constexpr uint32_t ns3::lrwpan::aMaxLostBeacons {4}
 The number of consecutive lost beacons that will cause the MAC sublayer of a receiving device to declare a loss of synchronization.
 
constexpr uint32_t ns3::lrwpan::aMaxPhyPacketSize {127}
 The maximum packet size accepted by the PHY.
 
constexpr uint32_t ns3::lrwpan::aMaxSIFSFrameSize {18}
 The maximum size of an MPDU, in octets, that can be followed by a Short InterFrame Spacing (SIFS) period.
 
constexpr uint32_t ns3::lrwpan::aMinMPDUOverhead {9}
 The minimum number of octets added by the MAC sublayer to the PSDU.
 
constexpr uint32_t ns3::lrwpan::aNumSuperframeSlots {16}
 Number of a superframe slots per superframe.
 
constexpr uint32_t ns3::lrwpan::aTurnaroundTime {12}
 The turnaround time in symbol periods for switching the transceiver from RX to TX or vice-versa.
 
constexpr uint32_t ns3::lrwpan::aUnitBackoffPeriod {20}
 Number of symbols per CSMA/CA time unit, default 20 symbols.
 

Detailed Description

Contains common parameters about LR-WPAN that can be reused in multiple files. These parameters are defined in the IEEE 802.15.4-2011 standard and adopt the same names as in the standard.

Variable Documentation

◆ aBaseSlotDuration

uint32_t ns3::lrwpan::aBaseSlotDuration {60}
constexpr

Length of a superframe slot in symbols.

Defaults to 60 symbols in each superframe slot. See IEEE 802.15.4-2011, section 6.4.1, Table 51.

Definition at line 67 of file lr-wpan-constants.h.

◆ aBaseSuperframeDuration

uint32_t ns3::lrwpan::aBaseSuperframeDuration {aBaseSlotDuration * aNumSuperframeSlots}
constexpr

◆ aMaxBeaconOverhead

uint32_t ns3::lrwpan::aMaxBeaconOverhead {75}
constexpr

The maximum number of octets added by the MAC sublayer to the MAC payload o a a beacon frame.

See IEEE 802.15.4-2011, section 6.4.1, Table 51.

Definition at line 105 of file lr-wpan-constants.h.

◆ aMaxBeaconPayloadLength

uint32_t ns3::lrwpan::aMaxBeaconPayloadLength {aMaxPhyPacketSize - aMaxBeaconOverhead}
constexpr

The maximum size, in octets, of a beacon payload.

See IEEE 802.15.4-2011, section 6.4.1, Table 51.

Definition at line 111 of file lr-wpan-constants.h.

Referenced by ns3::lrwpan::LrWpanMac::MlmeSetRequest().

◆ aMaxLostBeacons

uint32_t ns3::lrwpan::aMaxLostBeacons {4}
constexpr

The number of consecutive lost beacons that will cause the MAC sublayer of a receiving device to declare a loss of synchronization.

See IEEE 802.15.4-2011, section 6.4.1, Table 51.

Definition at line 87 of file lr-wpan-constants.h.

Referenced by ns3::lrwpan::LrWpanMac::BeaconSearchTimeout().

◆ aMaxPhyPacketSize

uint32_t ns3::lrwpan::aMaxPhyPacketSize {127}
constexpr

The maximum packet size accepted by the PHY.

See Table 22 in section 6.4.1 of IEEE 802.15.4-2006

Definition at line 44 of file lr-wpan-constants.h.

Referenced by ns3::lrwpan::LrWpanMac::McpsDataRequest(), and ns3::lrwpan::LrWpanPhy::PdDataRequest().

◆ aMaxSIFSFrameSize

uint32_t ns3::lrwpan::aMaxSIFSFrameSize {18}
constexpr

The maximum size of an MPDU, in octets, that can be followed by a Short InterFrame Spacing (SIFS) period.

See IEEE 802.15.4-2011, section 6.4.1, Table 51.

Definition at line 94 of file lr-wpan-constants.h.

Referenced by ns3::lrwpan::LrWpanMac::GetIfsSize().

◆ aMinMPDUOverhead

uint32_t ns3::lrwpan::aMinMPDUOverhead {9}
constexpr

The minimum number of octets added by the MAC sublayer to the PSDU.

See IEEE 802.15.4-2011, section 6.4.1, Table 51.

Definition at line 61 of file lr-wpan-constants.h.

Referenced by ns3::lrwpan::LrWpanMac::McpsDataRequest().

◆ aNumSuperframeSlots

uint32_t ns3::lrwpan::aNumSuperframeSlots {16}
constexpr

Number of a superframe slots per superframe.

Defaults to 16. See IEEE 802.15.4-2011, section 6.4.1, Table 51.

Definition at line 73 of file lr-wpan-constants.h.

◆ aTurnaroundTime

uint32_t ns3::lrwpan::aTurnaroundTime {12}
constexpr

The turnaround time in symbol periods for switching the transceiver from RX to TX or vice-versa.

See Table 22 in section 6.4.1 of IEEE 802.15.4-2006

Definition at line 51 of file lr-wpan-constants.h.

Referenced by ns3::lrwpan::LrWpanCsmaCa::CanProceed(), ns3::lrwpan::LrWpanMac::GetMacAckWaitDuration(), ns3::lrwpan::LrWpanMac::PdDataIndication(), and ns3::lrwpan::LrWpanPhy::PlmeSetTRXStateRequest().

◆ aUnitBackoffPeriod

uint32_t ns3::lrwpan::aUnitBackoffPeriod {20}
constexpr