otMacCounters::mTxRetry field
The total number of MAC retransmission attempts. Note that this counter is incremented by one for each retransmission attempt that may be triggered by lack of acknowledgement, CSMA/CA failure, or other type of transmission error. The @p mTxRetry counter is incremented both for unicast and broadcast MAC frames. Modify the following configuration parameters to control the amount of retransmissions in the system: - OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT - OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT - OPENTHREAD_CONFIG_MAC_TX_NUM_BCAST - OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT - OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_INDIRECT Currently, this counter is invalid if the platform's radio driver capability includes OT_RADIO_CAPS_TRANSMIT_RETRIES.
![]()
uint32_t mTxRetry;
otMacCounters::mTxRetry is written by 1 function and is read by 1 function:
![]()
otMacCounters::mTxRetry