|
|
@@ -440,6 +440,13 @@ static uint32_t coex_status_get_wrapper(void)
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
+static void coex_condition_set_wrapper(uint32_t type, bool dissatisfy)
|
|
|
+{
|
|
|
+#if CONFIG_SW_COEXIST_ENABLE
|
|
|
+ coex_condition_set(type, dissatisfy);
|
|
|
+#endif
|
|
|
+}
|
|
|
+
|
|
|
static int coex_wifi_request_wrapper(uint32_t event, uint32_t latency, uint32_t duration)
|
|
|
{
|
|
|
#if CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE
|
|
|
@@ -591,6 +598,7 @@ wifi_osi_funcs_t g_wifi_osi_funcs = {
|
|
|
._modem_sleep_register = esp_modem_sleep_register,
|
|
|
._modem_sleep_deregister = esp_modem_sleep_deregister,
|
|
|
._coex_status_get = coex_status_get_wrapper,
|
|
|
+ ._coex_condition_set = coex_condition_set_wrapper,
|
|
|
._coex_wifi_request = coex_wifi_request_wrapper,
|
|
|
._coex_wifi_release = coex_wifi_release_wrapper,
|
|
|
._magic = ESP_WIFI_OS_ADAPTER_MAGIC,
|