From edf7d1329ed764d7d05afe7dbe105d3214518400 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/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 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/components/esp_coex/lib b/components/esp_coex/lib index d13a28da1f..88d8c33a81 160000 --- a/components/esp_coex/lib +++ b/components/esp_coex/lib @@ -1 +1 @@ -Subproject commit d13a28da1f1843cf19707f39d64970326e0e0cef +Subproject commit 88d8c33a8171777d6a72c2ec1d22505179d506e7 diff --git a/components/esp_wifi/esp32c2/esp_adapter.c b/components/esp_wifi/esp32c2/esp_adapter.c index 32a09b2295..aee701c2a9 100644 --- a/components/esp_wifi/esp32c2/esp_adapter.c +++ b/components/esp_wifi/esp32c2/esp_adapter.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -496,7 +496,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; @@ -505,7 +505,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 bb403dd5d7..b4d8bbeb52 100644 --- a/components/esp_wifi/esp32c3/esp_adapter.c +++ b/components/esp_wifi/esp32c3/esp_adapter.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -504,7 +504,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; @@ -513,7 +513,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; @@ -522,7 +522,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 de5b1b94c4..0547b776d2 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 */ @@ -493,7 +493,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; @@ -502,7 +502,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; @@ -511,7 +511,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 e99c379fe9..09d51e0365 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 */ @@ -542,7 +542,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; @@ -551,7 +551,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; @@ -560,7 +560,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 692fa7b958..fa81a50478 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 */ @@ -568,7 +568,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; @@ -577,7 +577,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 52bbf235d2..6db58021a9 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 52bbf235d23ef4c647cf95abe4952a260c4d0662 +Subproject commit 6db58021a9e7ca516d76fc852aeedb66de904cc4