fix(coex): 802.15.4 coex break notification

This commit is contained in:
Xu Si Yu 2023-11-28 19:45:00 +08:00 committed by zwx
parent 866bc77246
commit 6eba71f171
3 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,7 @@ typedef enum {
void esp_coex_ieee802154_txrx_pti_set(ieee802154_coex_event_t event);
void esp_coex_ieee802154_ack_pti_set(ieee802154_coex_event_t event);
void esp_coex_ieee802154_coex_break_notify(void);
#endif
#endif

@ -1 +1 @@
Subproject commit b5da84bed42578946162241cfc6b37449bd2c251
Subproject commit 667353cc7a0520924135ce50b798f495cd308e47

View File

@ -455,6 +455,9 @@ static IRAM_ATTR void isr_handle_tx_abort(void)
next_operation();
break;
case IEEE802154_TX_ABORT_BY_TX_COEX_BREAK:
#if CONFIG_ESP_COEX_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE
esp_coex_ieee802154_coex_break_notify();
#endif
IEEE802154_ASSERT(s_ieee802154_state == IEEE802154_STATE_TX || s_ieee802154_state == IEEE802154_STATE_TX_CCA);
IEEE802154_TX_BREAK_COEX_NUMS_UPDATE();
esp_ieee802154_transmit_failed(s_tx_frame, ESP_IEEE802154_TX_ERR_COEXIST);