feat(15.4): support setting 15.4 txrx pti when coex is enabled

This commit is contained in:
Xu Si Yu
2025-01-07 12:23:24 +08:00
parent a4843338e8
commit 59cd4c481d
17 changed files with 267 additions and 21 deletions
+26 -1
View File
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -12,6 +12,10 @@
#include "esp_err.h"
#include "esp_ieee802154_types.h"
#if !CONFIG_IEEE802154_TEST && (CONFIG_ESP_COEX_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE)
#include "esp_coex_i154.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@ -646,6 +650,27 @@ void esp_ieee802154_rx_buffer_statistic_print(void);
*/
void esp_ieee802154_record_print(void);
#endif // CONFIG_IEEE802154_RECORD
#if !CONFIG_IEEE802154_TEST && (CONFIG_ESP_COEX_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE)
/**
* @brief Set the IEEE802.15.4 coexist config.
*
* @param[in] config The config of IEEE802.15.4 coexist.
*
*/
void esp_ieee802154_set_coex_config(esp_ieee802154_coex_config_t config);
/**
* @brief Get the IEEE802.15.4 coexist config.
*
* @return
* - The config of IEEE802.15.4 coexist.
*
*/
esp_ieee802154_coex_config_t esp_ieee802154_get_coex_config(void);
#endif
#ifdef __cplusplus
}
#endif