Contains common parameters about LR-WPAN that can be reused in multiple files. More...
Variables | |
constexpr uint32_t | ns3::lrwpan::aBaseSlotDuration {60} |
Length of a superframe slot in symbols. More... | |
constexpr uint32_t | ns3::lrwpan::aBaseSuperframeDuration {aBaseSlotDuration * aNumSuperframeSlots} |
Length of a superframe in symbols. More... | |
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. More... | |
constexpr uint32_t | ns3::lrwpan::aMaxBeaconPayloadLength {aMaxPhyPacketSize - aMaxBeaconOverhead} |
The maximum size, in octets, of a beacon payload. More... | |
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. More... | |
constexpr uint32_t | ns3::lrwpan::aMaxPhyPacketSize {127} |
The maximum packet size accepted by the PHY. More... | |
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. More... | |
constexpr uint32_t | ns3::lrwpan::aMinMPDUOverhead {9} |
The minimum number of octets added by the MAC sublayer to the PSDU. More... | |
constexpr uint32_t | ns3::lrwpan::aNumSuperframeSlots {16} |
Number of a superframe slots per superframe. More... | |
constexpr uint32_t | ns3::lrwpan::aTurnaroundTime {12} |
The turnaround time in symbol periods for switching the transceiver from RX to TX or vice-versa. More... | |
constexpr uint32_t | ns3::lrwpan::aUnitBackoffPeriod {20} |
Number of symbols per CSMA/CA time unit, default 20 symbols. More... | |
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.
|
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 78 of file lr-wpan-constants.h.
|
constexpr |
Length of a superframe in symbols.
Defaults to aBaseSlotDuration * aNumSuperframeSlots in symbols. See IEEE 802.15.4-2011, section 6.4.1, Table 51.
Definition at line 91 of file lr-wpan-constants.h.
Referenced by ns3::LrWpanMac::LrWpanMac(), ns3::LrWpanMac::BeaconSearchTimeout(), ns3::LrWpanMac::EndStartRequest(), ns3::LrWpanMac::EnqueueInd(), ns3::LrWpanMac::MlmeSyncRequest(), ns3::LrWpanMac::PdDataIndication(), and ns3::LrWpanMac::PlmeSetAttributeConfirm().
|
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 116 of file lr-wpan-constants.h.
|
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 122 of file lr-wpan-constants.h.
Referenced by ns3::LrWpanMac::MlmeSetRequest().
|
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 98 of file lr-wpan-constants.h.
Referenced by ns3::LrWpanMac::BeaconSearchTimeout().
|
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 55 of file lr-wpan-constants.h.
Referenced by ns3::LrWpanMac::McpsDataRequest(), and ns3::LrWpanPhy::PdDataRequest().
|
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 105 of file lr-wpan-constants.h.
Referenced by ns3::LrWpanMac::GetIfsSize().
|
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 72 of file lr-wpan-constants.h.
Referenced by ns3::LrWpanMac::McpsDataRequest().
|
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 84 of file lr-wpan-constants.h.
|
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 62 of file lr-wpan-constants.h.
Referenced by ns3::LrWpanCsmaCa::CanProceed(), ns3::LrWpanMac::GetMacAckWaitDuration(), ns3::LrWpanMac::PdDataIndication(), and ns3::LrWpanPhy::PlmeSetTRXStateRequest().
|
constexpr |
Number of symbols per CSMA/CA time unit, default 20 symbols.
Definition at line 110 of file lr-wpan-constants.h.
Referenced by ns3::LrWpanMac::GetMacAckWaitDuration(), ns3::LrWpanCsmaCa::GetTimeToNextSlot(), and ns3::LrWpanCsmaCa::RandomBackoffDelay().