From 39eaca1be1a6bc2c0a39e096f181b508cfb134a4 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 52a5b7ffb6..56110d6258 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 */ @@ -541,7 +541,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; @@ -550,7 +550,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; @@ -559,7 +559,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 d4d8bff5c3..dc99f4858b 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 */ @@ -567,7 +567,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; @@ -576,7 +576,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 725a65f642..440ddb6d11 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 725a65f642afcf8424c48a60d9384fec19874144 +Subproject commit 440ddb6d11d4ff1cb8b8f63bd9d2e0bc187ac51b