Merge branch 'fix/rx_abort_next_op' into 'master'

fix(openthread): disable rx_abort events in next operation

See merge request espressif/esp-idf!39708
This commit is contained in:
Zhang Wen Xu
2025-06-06 06:55:04 +00:00

View File

@ -385,6 +385,7 @@ static IRAM_ATTR void next_operation(void)
#if !CONFIG_IEEE802154_TEST
if (s_pending_tx.frame) {
// Here the driver needs to recover the setting of rx aborts, see function `ieee802154_transmit`.
ieee802154_ll_disable_rx_abort_events(IEEE802154_RX_ABORT_ALL);
ieee802154_ll_enable_rx_abort_events(BIT(IEEE802154_RX_ABORT_BY_TX_ACK_TIMEOUT - 1) | BIT(IEEE802154_RX_ABORT_BY_TX_ACK_COEX_BREAK - 1));
// Clear the RX abort event again for avoiding the risk if there are still some rx abort events created after last isr process.
ieee802154_ll_clear_events(IEEE802154_EVENT_RX_ABORT);