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. | |
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 67 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 80 of file lr-wpan-constants.h.
Referenced by ns3::lrwpan::LrWpanMac::LrWpanMac(), ns3::lrwpan::LrWpanMac::BeaconSearchTimeout(), ns3::lrwpan::LrWpanMac::EndStartRequest(), ns3::lrwpan::LrWpanMac::EnqueueInd(), ns3::lrwpan::LrWpanMac::MlmeSyncRequest(), ns3::lrwpan::LrWpanMac::PlmeSetAttributeConfirm(), and ns3::lrwpan::LrWpanMac::ReceiveBeacon().
|
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.
|
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().
|
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().
|
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().
|
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().
|
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().
|
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.
|
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().
|
constexpr |
Number of symbols per CSMA/CA time unit, default 20 symbols.
Definition at line 99 of file lr-wpan-constants.h.
Referenced by ns3::lrwpan::LrWpanMac::GetMacAckWaitDuration(), ns3::lrwpan::LrWpanCsmaCa::GetTimeToNextSlot(), ns3::lrwpan::LrWpanMac::PdDataIndication(), and ns3::lrwpan::LrWpanCsmaCa::RandomBackoffDelay().