From f6c0f937bd3efb3899c4197bcbb48ceaa4da8f3e Mon Sep 17 00:00:00 2001 From: muhaidong Date: Fri, 20 Jun 2025 14:54:26 +0800 Subject: [PATCH] fix(coex): fix some external coexist issue --- components/esp_coex/lib | 2 +- components/esp_wifi/esp32c2/esp_adapter.c | 6 +++--- components/esp_wifi/esp32c3/esp_adapter.c | 8 ++++---- components/esp_wifi/esp32c5/esp_adapter.c | 8 ++++---- components/esp_wifi/esp32c6/esp_adapter.c | 8 ++++---- components/esp_wifi/esp32s2/esp_adapter.c | 8 ++++---- components/esp_wifi/esp32s3/esp_adapter.c | 6 +++--- components/esp_wifi/lib | 2 +- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/components/esp_coex/lib b/components/esp_coex/lib index 6a9220f605..9a7578fd39 160000 --- a/components/esp_coex/lib +++ b/components/esp_coex/lib @@ -1 +1 @@ -Subproject commit 6a9220f605436d56f86352ca22cca68c5b0f345b +Subproject commit 9a7578fd3951cd2ec2e26ee26e6189a206630c06 diff --git a/components/esp_wifi/esp32c2/esp_adapter.c b/components/esp_wifi/esp32c2/esp_adapter.c index 0ab7a81796..bdcb1bffe8 100644 --- a/components/esp_wifi/esp32c2/esp_adapter.c +++ b/components/esp_wifi/esp32c2/esp_adapter.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -501,7 +501,7 @@ static int coex_register_start_cb_wrapper(int (* cb)(void)) static int coex_schm_process_restart_wrapper(void) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_process_restart(); #else return 0; @@ -510,7 +510,7 @@ static int coex_schm_process_restart_wrapper(void) static int coex_schm_register_cb_wrapper(int type, int(*cb)(int)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_register_callback(type, cb); #else return 0; diff --git a/components/esp_wifi/esp32c3/esp_adapter.c b/components/esp_wifi/esp32c3/esp_adapter.c index 7c72f19c9f..ceda4a73c6 100644 --- a/components/esp_wifi/esp32c3/esp_adapter.c +++ b/components/esp_wifi/esp32c3/esp_adapter.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -509,7 +509,7 @@ static void * coex_schm_curr_phase_get_wrapper(void) static int coex_register_start_cb_wrapper(int (* cb)(void)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_register_start_cb(cb); #else return 0; @@ -518,7 +518,7 @@ static int coex_register_start_cb_wrapper(int (* cb)(void)) static int coex_schm_process_restart_wrapper(void) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_process_restart(); #else return 0; @@ -527,7 +527,7 @@ static int coex_schm_process_restart_wrapper(void) static int coex_schm_register_cb_wrapper(int type, int(*cb)(int)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_register_callback(type, cb); #else return 0; diff --git a/components/esp_wifi/esp32c5/esp_adapter.c b/components/esp_wifi/esp32c5/esp_adapter.c index 434373d319..f27fb16478 100644 --- a/components/esp_wifi/esp32c5/esp_adapter.c +++ b/components/esp_wifi/esp32c5/esp_adapter.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -522,7 +522,7 @@ static void *coex_schm_curr_phase_get_wrapper(void) static int coex_register_start_cb_wrapper(int (* cb)(void)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_register_start_cb(cb); #else return 0; @@ -531,7 +531,7 @@ static int coex_register_start_cb_wrapper(int (* cb)(void)) static int coex_schm_process_restart_wrapper(void) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_process_restart(); #else return 0; @@ -540,7 +540,7 @@ static int coex_schm_process_restart_wrapper(void) static int coex_schm_register_cb_wrapper(int type, int(*cb)(int)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_register_callback(type, cb); #else return 0; diff --git a/components/esp_wifi/esp32c6/esp_adapter.c b/components/esp_wifi/esp32c6/esp_adapter.c index 1cefee5e36..7de78457b6 100644 --- a/components/esp_wifi/esp32c6/esp_adapter.c +++ b/components/esp_wifi/esp32c6/esp_adapter.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -498,7 +498,7 @@ static void *coex_schm_curr_phase_get_wrapper(void) static int coex_register_start_cb_wrapper(int (* cb)(void)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_register_start_cb(cb); #else return 0; @@ -507,7 +507,7 @@ static int coex_register_start_cb_wrapper(int (* cb)(void)) static int coex_schm_process_restart_wrapper(void) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_process_restart(); #else return 0; @@ -516,7 +516,7 @@ static int coex_schm_process_restart_wrapper(void) static int coex_schm_register_cb_wrapper(int type, int(*cb)(int)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_register_callback(type, cb); #else return 0; diff --git a/components/esp_wifi/esp32s2/esp_adapter.c b/components/esp_wifi/esp32s2/esp_adapter.c index 725a553dba..5da62d7d2f 100644 --- a/components/esp_wifi/esp32s2/esp_adapter.c +++ b/components/esp_wifi/esp32s2/esp_adapter.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -546,7 +546,7 @@ static void * coex_schm_curr_phase_get_wrapper(void) static int coex_register_start_cb_wrapper(int (* cb)(void)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_EXTERNAL_COEX_ENABLE return coex_register_start_cb(cb); #else return 0; @@ -555,7 +555,7 @@ static int coex_register_start_cb_wrapper(int (* cb)(void)) static int coex_schm_process_restart_wrapper(void) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_process_restart(); #else return 0; @@ -564,7 +564,7 @@ static int coex_schm_process_restart_wrapper(void) static int coex_schm_register_cb_wrapper(int type, int(*cb)(int)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_register_callback(type, cb); #else return 0; diff --git a/components/esp_wifi/esp32s3/esp_adapter.c b/components/esp_wifi/esp32s3/esp_adapter.c index 1e00fbbedb..0e089b4ddb 100644 --- a/components/esp_wifi/esp32s3/esp_adapter.c +++ b/components/esp_wifi/esp32s3/esp_adapter.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -572,7 +572,7 @@ static int coex_register_start_cb_wrapper(int (* cb)(void)) static int coex_schm_process_restart_wrapper(void) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_process_restart(); #else return 0; @@ -581,7 +581,7 @@ static int coex_schm_process_restart_wrapper(void) static int coex_schm_register_cb_wrapper(int type, int(*cb)(int)) { -#if CONFIG_SW_COEXIST_ENABLE +#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE return coex_schm_register_callback(type, cb); #else return 0; diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index dcb4721549..18b5d5b3b2 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit dcb4721549cab93212522c7bca45ff8c388dc5f8 +Subproject commit 18b5d5b3b2b6481549db30e9a36b1aac790c5991