MAC

This module includes configuration variables for MAC.

Summary

Macros

OPENTHREAD_CONFIG_CSL_RECEIVE_TIME_AHEAD 320
Reception scheduling and ramp up time needed for the CSL receiver to be ready, in units of microseconds.
OPENTHREAD_CONFIG_CSL_TIMEOUT 100
The default CSL timeout in seconds.
OPENTHREAD_CONFIG_CSL_TRANSMIT_TIME_AHEAD 40
Transmission scheduling and ramp up time needed for the CSL transmitter to be ready, in units of microseconds.
OPENTHREAD_CONFIG_MAC_ADD_DELAY_ON_NO_ACK_ERROR_BEFORE_RETRY 1
Define as 1 to add random backoff delay in between frame transmission retries when the previous attempt resulted in no-ack error.
OPENTHREAD_CONFIG_MAC_ATTACH_DATA_POLL_PERIOD 100
The Data Poll period during attach in milliseconds.
OPENTHREAD_CONFIG_MAC_BEACON_PAYLOAD_PARSING_ENABLE 0
This setting configures if the beacon payload parsing needs to be enabled in MAC.
OPENTHREAD_CONFIG_MAC_BEACON_RSP_WHEN_JOINABLE_ENABLE 0
Define to 1 to enable IEEE 802.15.4 Beacons when joining is enabled.
OPENTHREAD_CONFIG_MAC_COLLISION_AVOIDANCE_DELAY_ENABLE 1
Define as 1 to enable collision avoidance delay feature, which adds a delay wait time after a successful frame tx to a neighbor which is expected to forward the frame.
OPENTHREAD_CONFIG_MAC_COLLISION_AVOIDANCE_DELAY_INTERVAL 8
Specifies the collision avoidance delay interval in milliseconds.
OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE
This setting configures CSL auto synchronization based on data poll mechanism in Thread 1.2.
OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE 0
CSL receiver debug option.
OPENTHREAD_CONFIG_MAC_CSL_MAX_TIMEOUT 10000
This setting configures the maximum CSL timeout that could be used, in units of seconds.
OPENTHREAD_CONFIG_MAC_CSL_MIN_PERIOD 10
This setting configures the minimum CSL period that could be used, in units of milliseconds.
OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE 0
This setting configures the CSL receiver feature in Thread 1.2.
OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_LOCAL_TIME_SYNC 0
This setting configures the usage of local time rather than radio time for calculating the elapsed time since last CSL synchronization event in order to schedule the duration of the CSL receive window.
OPENTHREAD_CONFIG_MAC_CSL_REQUEST_AHEAD_US 2000
Define how many microseconds ahead should MAC deliver CSL frame to SubMac.
OPENTHREAD_CONFIG_MAC_CSL_TRANSMITTER_ENABLE (OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2)
Define to 1 to enable csl transmitter logic.
OPENTHREAD_CONFIG_MAC_DATA_POLL_TIMEOUT 100
This setting specifies the timeout for receiving the Data Frame (in msec) - after an ACK with FP bit set was received.
OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT 15
The default maximum number of retries allowed after a transmission failure for direct transmissions.
OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT 0
The default maximum number of retries allowed after a transmission failure for indirect transmissions.
OPENTHREAD_CONFIG_MAC_FILTER_ENABLE 0
Define to 1 to enable MAC filter support.
OPENTHREAD_CONFIG_MAC_FILTER_SIZE 32
The number of MAC Filter entries.
OPENTHREAD_CONFIG_MAC_HEADER_IE_SUPPORT 1
Define as 1 to support IEEE 802.15.4-2015 Header IE (Information Element) generation and parsing, it must be set to support following features:
OPENTHREAD_CONFIG_MAC_JOIN_BEACON_VERSION OPENTHREAD_CONFIG_THREAD_VERSION
The Beacon version to use when the beacon join flag is set.
OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT 4
The maximum number of backoffs the CSMA-CA algorithm will attempt before declaring a channel access failure.
OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_INDIRECT 4
The maximum number of backoffs the CSMA-CA algorithm will attempt before declaring a channel access failure.
OPENTHREAD_CONFIG_MAC_MAX_TX_ATTEMPTS_INDIRECT_POLLS 4
Maximum number of received IEEE 802.15.4 Data Requests for a queued indirect transaction.
OPENTHREAD_CONFIG_MAC_MINIMUM_POLL_PERIOD 10
This setting configures the minimum poll period in milliseconds.
OPENTHREAD_CONFIG_MAC_OUTGOING_BEACON_PAYLOAD_ENABLE 0
This setting configures if the beacon payload needs to be enabled in outgoing beacon frames.
OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_ENABLE 0
Define to 1 to enable MAC retry packets histogram analysis.
OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_MAX_SIZE_COUNT_DIRECT (OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT + 1)
The default size of MAC histogram array for success message retry direct transmission.
OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_MAX_SIZE_COUNT_INDIRECT (OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT + 1)
The default size of MAC histogram array for success message retry direct transmission.
OPENTHREAD_CONFIG_MAC_RETX_DELAY_MAX_BACKOFF_EXPONENT 5
Specifies the maximum backoff exponent when adding random delay in between frame transmission retries on no-ack error.
OPENTHREAD_CONFIG_MAC_RETX_DELAY_MIN_BACKOFF_EXPONENT 0
Specifies the minimum backoff exponent to start with when adding random delay in between frame transmission retries on no-ack error.
OPENTHREAD_CONFIG_MAC_RETX_POLL_PERIOD 1000
This setting configures the retx poll period in milliseconds.
OPENTHREAD_CONFIG_MAC_SCAN_DURATION 300
This setting configures the default scan duration in milliseconds.
OPENTHREAD_CONFIG_MAC_SOFTWARE_ACK_TIMEOUT_ENABLE 0
Define to 1 to enable software ACK timeout logic.
OPENTHREAD_CONFIG_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE 0
Define to 1 to enable software CSMA-CA backoff logic.
OPENTHREAD_CONFIG_MAC_SOFTWARE_ENERGY_SCAN_ENABLE 0
Define to 1 to enable software energy scanning logic.
OPENTHREAD_CONFIG_MAC_SOFTWARE_RETRANSMIT_ENABLE 0
Define to 1 to enable software retransmission logic.
OPENTHREAD_CONFIG_MAC_SOFTWARE_RX_ON_WHEN_IDLE_ENABLE 0
Define to 1 to enable software rx off when idle switching.
OPENTHREAD_CONFIG_MAC_SOFTWARE_RX_TIMING_ENABLE 0
Define to 1 to enable software reception target time logic.
OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_SECURITY_ENABLE 0
Define to 1 to enable software transmission security logic.
OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_TIMING_ENABLE 0
Define to 1 to enable software transmission target time logic.
OPENTHREAD_CONFIG_MAC_STAY_AWAKE_BETWEEN_FRAGMENTS 0
Define as 1 to stay awake between fragments while transmitting a large packet, and to stay awake after receiving a packet with frame pending set to true.
OPENTHREAD_CONFIG_MAC_TX_NUM_BCAST 1
The number of times each IEEE 802.15.4 broadcast frame is transmitted.
OPENTHREAD_CONFIG_MIN_RECEIVE_ON_AFTER ((127 + 6 + 39) * 32)
The minimum time (in microseconds) after the MHR start that the radio should be in receive state in order to properly receive any IEEE 802.15.4 frame.
OPENTHREAD_CONFIG_MIN_RECEIVE_ON_AHEAD (6 * 32)
The minimum time (in microseconds) before the MHR start that the radio should be in receive state and ready to properly receive in order to properly receive any IEEE 802.15.4 frame.

Macros

OPENTHREAD_CONFIG_CSL_RECEIVE_TIME_AHEAD

 OPENTHREAD_CONFIG_CSL_RECEIVE_TIME_AHEAD 320

Reception scheduling and ramp up time needed for the CSL receiver to be ready, in units of microseconds.

OPENTHREAD_CONFIG_CSL_TIMEOUT

 OPENTHREAD_CONFIG_CSL_TIMEOUT 100

The default CSL timeout in seconds.

OPENTHREAD_CONFIG_CSL_TRANSMIT_TIME_AHEAD

 OPENTHREAD_CONFIG_CSL_TRANSMIT_TIME_AHEAD 40

Transmission scheduling and ramp up time needed for the CSL transmitter to be ready, in units of microseconds.

This time must include at least the radio's turnaround time between end of CCA and start of preamble transmission. To avoid early CSL transmission it also must not be configured higher than the actual scheduling and ramp up time.

OPENTHREAD_CONFIG_MAC_ADD_DELAY_ON_NO_ACK_ERROR_BEFORE_RETRY

 OPENTHREAD_CONFIG_MAC_ADD_DELAY_ON_NO_ACK_ERROR_BEFORE_RETRY 1

Define as 1 to add random backoff delay in between frame transmission retries when the previous attempt resulted in no-ack error.

OPENTHREAD_CONFIG_MAC_ATTACH_DATA_POLL_PERIOD

 OPENTHREAD_CONFIG_MAC_ATTACH_DATA_POLL_PERIOD 100

The Data Poll period during attach in milliseconds.

OPENTHREAD_CONFIG_MAC_BEACON_PAYLOAD_PARSING_ENABLE

 OPENTHREAD_CONFIG_MAC_BEACON_PAYLOAD_PARSING_ENABLE 0

This setting configures if the beacon payload parsing needs to be enabled in MAC.

This is optional and is disabled by default because Thread 1.2.1 has removed support for beacon payloads.

OPENTHREAD_CONFIG_MAC_BEACON_RSP_WHEN_JOINABLE_ENABLE

 OPENTHREAD_CONFIG_MAC_BEACON_RSP_WHEN_JOINABLE_ENABLE 0

Define to 1 to enable IEEE 802.15.4 Beacons when joining is enabled.

OPENTHREAD_CONFIG_MAC_COLLISION_AVOIDANCE_DELAY_ENABLE

 OPENTHREAD_CONFIG_MAC_COLLISION_AVOIDANCE_DELAY_ENABLE 1

Define as 1 to enable collision avoidance delay feature, which adds a delay wait time after a successful frame tx to a neighbor which is expected to forward the frame.

This delay is applied before the next direct frame tx (towards any neighbor) on an FTD.

The delay interval is specified by OPENTHREAD_CONFIG_MAC_COLLISION_AVOIDANCE_DELAY_INTERVAL (in milliseconds).

OPENTHREAD_CONFIG_MAC_COLLISION_AVOIDANCE_DELAY_INTERVAL

 OPENTHREAD_CONFIG_MAC_COLLISION_AVOIDANCE_DELAY_INTERVAL 8

Specifies the collision avoidance delay interval in milliseconds.

This is added after a successful frame tx to a neighbor that is expected to forward the frame (when OPENTHREAD_CONFIG_MAC_COLLISION_AVOIDANCE_DELAY_ENABLE is enabled).

OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE

 OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE

This setting configures CSL auto synchronization based on data poll mechanism in Thread 1.2.

OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE

 OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE 0

CSL receiver debug option.

When this option is enabled, a CSL receiver wouldn't actually sleep in CSL state so it can still receive packets from the CSL transmitter.

OPENTHREAD_CONFIG_MAC_CSL_MAX_TIMEOUT

 OPENTHREAD_CONFIG_MAC_CSL_MAX_TIMEOUT 10000

This setting configures the maximum CSL timeout that could be used, in units of seconds.

OPENTHREAD_CONFIG_MAC_CSL_MIN_PERIOD

 OPENTHREAD_CONFIG_MAC_CSL_MIN_PERIOD 10

This setting configures the minimum CSL period that could be used, in units of milliseconds.

OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE

 OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE 0

This setting configures the CSL receiver feature in Thread 1.2.

OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_LOCAL_TIME_SYNC

 OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_LOCAL_TIME_SYNC 0

This setting configures the usage of local time rather than radio time for calculating the elapsed time since last CSL synchronization event in order to schedule the duration of the CSL receive window.

This is done at expense of too short or too long receive windows depending on the drift between the two clocks within the CSL timeout period. In order to compensate for a too short receive window, CSL uncertainty can be increased.

This setting can be useful for platforms in which is important to reduce the number of radio API calls, for instance when they are costly. One typical situation is a multicore chip architecture in which different instances of current time are being kept in host and radio cores. In this case, accessing the radio core current time API requires serialization and it is more costly than just accessing local host time.

OPENTHREAD_CONFIG_MAC_CSL_REQUEST_AHEAD_US

 OPENTHREAD_CONFIG_MAC_CSL_REQUEST_AHEAD_US 2000

Define how many microseconds ahead should MAC deliver CSL frame to SubMac.

OPENTHREAD_CONFIG_MAC_CSL_TRANSMITTER_ENABLE

 OPENTHREAD_CONFIG_MAC_CSL_TRANSMITTER_ENABLE (OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2)

Define to 1 to enable csl transmitter logic.

OPENTHREAD_CONFIG_MAC_DATA_POLL_TIMEOUT

 OPENTHREAD_CONFIG_MAC_DATA_POLL_TIMEOUT 100

This setting specifies the timeout for receiving the Data Frame (in msec) - after an ACK with FP bit set was received.

OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT

 OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT 15

The default maximum number of retries allowed after a transmission failure for direct transmissions.

Equivalent to macMaxFrameRetries, default value is 15.

OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT

 OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT 0

The default maximum number of retries allowed after a transmission failure for indirect transmissions.

Equivalent to macMaxFrameRetries, default value is 0.

OPENTHREAD_CONFIG_MAC_FILTER_ENABLE

 OPENTHREAD_CONFIG_MAC_FILTER_ENABLE 0

Define to 1 to enable MAC filter support.

OPENTHREAD_CONFIG_MAC_FILTER_SIZE

 OPENTHREAD_CONFIG_MAC_FILTER_SIZE 32

The number of MAC Filter entries.

OPENTHREAD_CONFIG_MAC_HEADER_IE_SUPPORT

 OPENTHREAD_CONFIG_MAC_HEADER_IE_SUPPORT 1

Define as 1 to support IEEE 802.15.4-2015 Header IE (Information Element) generation and parsing, it must be set to support following features:

  1. Time synchronization service feature (i.e., OPENTHREAD_CONFIG_TIME_SYNC_ENABLE is set).
  2. Thread 1.2.

OPENTHREAD_CONFIG_MAC_JOIN_BEACON_VERSION

 OPENTHREAD_CONFIG_MAC_JOIN_BEACON_VERSION OPENTHREAD_CONFIG_THREAD_VERSION

The Beacon version to use when the beacon join flag is set.

OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT

 OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT 4

The maximum number of backoffs the CSMA-CA algorithm will attempt before declaring a channel access failure.

Equivalent to macMaxCSMABackoffs in IEEE 802.15.4-2006, default value is 4.

OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_INDIRECT

 OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_INDIRECT 4

The maximum number of backoffs the CSMA-CA algorithm will attempt before declaring a channel access failure.

Equivalent to macMaxCSMABackoffs in IEEE 802.15.4-2006, default value is 4.

OPENTHREAD_CONFIG_MAC_MAX_TX_ATTEMPTS_INDIRECT_POLLS

 OPENTHREAD_CONFIG_MAC_MAX_TX_ATTEMPTS_INDIRECT_POLLS 4

Maximum number of received IEEE 802.15.4 Data Requests for a queued indirect transaction.

The indirect frame remains in the transaction queue until it is successfully transmitted or until the indirect transmission fails after the maximum number of IEEE 802.15.4 Data Request messages have been received.

Takes the place of macTransactionPersistenceTime. The time period is specified in units of IEEE 802.15.4 Data Request receptions, rather than being governed by macBeaconOrder.

See also:
OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT

OPENTHREAD_CONFIG_MAC_MINIMUM_POLL_PERIOD

 OPENTHREAD_CONFIG_MAC_MINIMUM_POLL_PERIOD 10

This setting configures the minimum poll period in milliseconds.

OPENTHREAD_CONFIG_MAC_OUTGOING_BEACON_PAYLOAD_ENABLE

 OPENTHREAD_CONFIG_MAC_OUTGOING_BEACON_PAYLOAD_ENABLE 0

This setting configures if the beacon payload needs to be enabled in outgoing beacon frames.

This is optional and is disabled by default because Thread 1.2.1 has removed support for beacon payloads.

OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_ENABLE

 OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_ENABLE 0

Define to 1 to enable MAC retry packets histogram analysis.

OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_MAX_SIZE_COUNT_DIRECT

 OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_MAX_SIZE_COUNT_DIRECT (OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT + 1)

The default size of MAC histogram array for success message retry direct transmission.

Default value is (OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT + 1).

OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_MAX_SIZE_COUNT_INDIRECT

 OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_MAX_SIZE_COUNT_INDIRECT (OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT + 1)

The default size of MAC histogram array for success message retry direct transmission.

Default value is (OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT + 1).

OPENTHREAD_CONFIG_MAC_RETX_DELAY_MAX_BACKOFF_EXPONENT

 OPENTHREAD_CONFIG_MAC_RETX_DELAY_MAX_BACKOFF_EXPONENT 5

Specifies the maximum backoff exponent when adding random delay in between frame transmission retries on no-ack error.

It is applicable only when OPENTHREAD_CONFIG_MAC_ADD_DELAY_ON_NO_ACK_ERROR_BEFORE_RETRY is enabled.

OPENTHREAD_CONFIG_MAC_RETX_DELAY_MIN_BACKOFF_EXPONENT

 OPENTHREAD_CONFIG_MAC_RETX_DELAY_MIN_BACKOFF_EXPONENT 0

Specifies the minimum backoff exponent to start with when adding random delay in between frame transmission retries on no-ack error.

It is applicable only when OPENTHREAD_CONFIG_MAC_ADD_DELAY_ON_NO_ACK_ERROR_BEFORE_RETRY is enabled.

OPENTHREAD_CONFIG_MAC_RETX_POLL_PERIOD

 OPENTHREAD_CONFIG_MAC_RETX_POLL_PERIOD 1000

This setting configures the retx poll period in milliseconds.

OPENTHREAD_CONFIG_MAC_SCAN_DURATION

 OPENTHREAD_CONFIG_MAC_SCAN_DURATION 300

This setting configures the default scan duration in milliseconds.

OPENTHREAD_CONFIG_MAC_SOFTWARE_ACK_TIMEOUT_ENABLE

 OPENTHREAD_CONFIG_MAC_SOFTWARE_ACK_TIMEOUT_ENABLE 0

Define to 1 to enable software ACK timeout logic.

OPENTHREAD_CONFIG_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE

 OPENTHREAD_CONFIG_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE 0

Define to 1 to enable software CSMA-CA backoff logic.

OPENTHREAD_CONFIG_MAC_SOFTWARE_ENERGY_SCAN_ENABLE

 OPENTHREAD_CONFIG_MAC_SOFTWARE_ENERGY_SCAN_ENABLE 0

Define to 1 to enable software energy scanning logic.

OPENTHREAD_CONFIG_MAC_SOFTWARE_RETRANSMIT_ENABLE

 OPENTHREAD_CONFIG_MAC_SOFTWARE_RETRANSMIT_ENABLE 0

Define to 1 to enable software retransmission logic.

OPENTHREAD_CONFIG_MAC_SOFTWARE_RX_ON_WHEN_IDLE_ENABLE

 OPENTHREAD_CONFIG_MAC_SOFTWARE_RX_ON_WHEN_IDLE_ENABLE 0

Define to 1 to enable software rx off when idle switching.

OPENTHREAD_CONFIG_MAC_SOFTWARE_RX_TIMING_ENABLE

 OPENTHREAD_CONFIG_MAC_SOFTWARE_RX_TIMING_ENABLE 0

Define to 1 to enable software reception target time logic.

OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_SECURITY_ENABLE

 OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_SECURITY_ENABLE 0

Define to 1 to enable software transmission security logic.

OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_TIMING_ENABLE

 OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_TIMING_ENABLE 0

Define to 1 to enable software transmission target time logic.

OPENTHREAD_CONFIG_MAC_STAY_AWAKE_BETWEEN_FRAGMENTS

 OPENTHREAD_CONFIG_MAC_STAY_AWAKE_BETWEEN_FRAGMENTS 0

Define as 1 to stay awake between fragments while transmitting a large packet, and to stay awake after receiving a packet with frame pending set to true.

OPENTHREAD_CONFIG_MAC_TX_NUM_BCAST

 OPENTHREAD_CONFIG_MAC_TX_NUM_BCAST 1

The number of times each IEEE 802.15.4 broadcast frame is transmitted.

The minimum value is 1. Values larger than 1 may improve broadcast reliability by increasing redundancy, but may also increase congestion.

OPENTHREAD_CONFIG_MIN_RECEIVE_ON_AFTER

 OPENTHREAD_CONFIG_MIN_RECEIVE_ON_AFTER ((127 + 6 + 39) * 32)

The minimum time (in microseconds) after the MHR start that the radio should be in receive state in order to properly receive any IEEE 802.15.4 frame.

Defaults to the duration of a maximum size frame, plus AIFS, plus the duration of maximum enh-ack frame. Platforms are encouraged to improve this value for energy efficiency purposes.

OPENTHREAD_CONFIG_MIN_RECEIVE_ON_AHEAD

 OPENTHREAD_CONFIG_MIN_RECEIVE_ON_AHEAD (6 * 32)

The minimum time (in microseconds) before the MHR start that the radio should be in receive state and ready to properly receive in order to properly receive any IEEE 802.15.4 frame.

Defaults to the duration of SHR + PHR.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.