feat(wifi): support disable 11ac and 11ax in efuse

This commit is contained in:
yinqingzhao
2026-05-07 12:27:46 +08:00
parent 37ff5a8ea8
commit be8bc4f247
7 changed files with 34 additions and 5 deletions
+7 -1
View File
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -579,6 +579,11 @@ static void *sleep_retention_find_link_by_id_wrapper(int id)
}
#endif
static bool esp_wifi_disable_ac_ax_wrapper(void)
{
return false; // disable 11ac and 11ax is not supported on esp32c6.
}
wifi_osi_funcs_t g_wifi_osi_funcs = {
._version = ESP_WIFI_OS_ADAPTER_VERSION,
._env_is_chip = esp_coex_common_env_is_chip_wrapper,
@@ -702,5 +707,6 @@ wifi_osi_funcs_t g_wifi_osi_funcs = {
._coex_schm_flexible_period_set = coex_schm_flexible_period_set_wrapper,
._coex_schm_flexible_period_get = coex_schm_flexible_period_get_wrapper,
._coex_schm_get_phase_by_idx = coex_schm_get_phase_by_idx_wrapper,
._wifi_disable_ac_ax = esp_wifi_disable_ac_ax_wrapper,
._magic = ESP_WIFI_OS_ADAPTER_MAGIC,
};