A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lr-wpan-constants.h File Reference
#include <cstdint>
+ Include dependency graph for lr-wpan-constants.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
namespace  ns3::lrwpan
 

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.