mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
1. Wi-Fi: update tsf tick interval when lpclk is modified
2. Move register_lpclk_callback to coexistence
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2018-2021 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -23,6 +23,7 @@ typedef enum {
|
||||
} coex_prefer_t;
|
||||
|
||||
typedef void (* coex_func_cb_t)(uint32_t event, int sched_cnt);
|
||||
typedef esp_err_t (* coex_set_lpclk_source_callback_t)(void);
|
||||
|
||||
/**
|
||||
* @brief Pre-Init software coexist
|
||||
@@ -115,6 +116,18 @@ int coex_wifi_release(uint32_t event);
|
||||
*/
|
||||
int coex_wifi_channel_set(uint8_t primary, uint8_t secondary);
|
||||
|
||||
/**
|
||||
* @brief Register application callback function to Wi-Fi update low power clock module.
|
||||
*
|
||||
* @param callback : Wi-Fi update low power clock callback function
|
||||
*/
|
||||
void coex_wifi_register_update_lpclk_callback(coex_set_lpclk_source_callback_t callback);
|
||||
|
||||
/**
|
||||
* @brief Update low power clock interval
|
||||
*/
|
||||
void coex_update_lpclk_interval(void);
|
||||
|
||||
/**
|
||||
* @brief Get coexistence event duration.
|
||||
*
|
||||
|
Reference in New Issue
Block a user