mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	Merge branch 'refactor/sae_pt_flag_v5.4' into 'release/v5.4'
refactor(wifi): Optimize wifi bin size for station mode (Backport v5.4) See merge request espressif/esp-idf!38306
This commit is contained in:
		 Submodule components/esp_wifi/lib updated: 7488ede43c...4e688b053f
									
								
							| @@ -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 |  * SPDX-License-Identifier: Apache-2.0 | ||||||
|  */ |  */ | ||||||
| @@ -521,7 +521,12 @@ esp_err_t ieee80211_ftm_attach(void) | |||||||
|     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|     return ESP_OK; |     return ESP_OK; | ||||||
| } | } | ||||||
| #endif |  | ||||||
|  | void ftm_initiator_cleanup(void) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  | } | ||||||
|  | #endif /* CONFIG_ESP_WIFI_FTM_ENABLE */ | ||||||
|  |  | ||||||
| #ifndef CONFIG_ESP_WIFI_SOFTAP_SUPPORT | #ifndef CONFIG_ESP_WIFI_SOFTAP_SUPPORT | ||||||
| void net80211_softap_funcs_init(void) | void net80211_softap_funcs_init(void) | ||||||
| @@ -597,7 +602,29 @@ void * ieee80211_alloc_proberesp(void *p, int arg) | |||||||
|     return NULL; |     return NULL; | ||||||
| } | } | ||||||
|  |  | ||||||
| #endif | bool hostap_query_mac_in_list(const uint8_t *p, int arg) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  |     return false; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | int hostap_add_in_mac_list(const uint8_t *p, int arg) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  |     return 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | int hostap_del_mac_info_from_list(const uint8_t *p, int arg) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  |     return 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | void create_new_bss_for_sa_query_failed_sta(uint8_t arg) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  | } | ||||||
|  | #endif /* CONFIG_ESP_WIFI_SOFTAP_SUPPORT */ | ||||||
|  |  | ||||||
| #ifndef CONFIG_ESP_WIFI_NAN_ENABLE | #ifndef CONFIG_ESP_WIFI_NAN_ENABLE | ||||||
|  |  | ||||||
| @@ -624,7 +651,40 @@ void nan_sm_handle_event(void *p1, int p2) | |||||||
|     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
| } | } | ||||||
|  |  | ||||||
| #endif | int wifi_create_nan(void) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  |     return 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | int wifi_nan_set_config_local(wifi_nan_config_t *p) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  |     return 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | esp_err_t nan_dp_post_tx(void *p1, void *p2) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  |     return ESP_OK; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | void nan_dp_delete_peer(void *p) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | void *nan_dp_search_node(const uint8_t *p) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  |     return NULL; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | void nan_ndp_resp_timeout_process(void *p) | ||||||
|  | { | ||||||
|  |     /* Do not remove, stub to overwrite weak link in Wi-Fi Lib */ | ||||||
|  | } | ||||||
|  | #endif /* CONFIG_ESP_WIFI_NAN_ENABLE */ | ||||||
|  |  | ||||||
| #if CONFIG_IDF_TARGET_ESP32C2 | #if CONFIG_IDF_TARGET_ESP32C2 | ||||||
| #if CONFIG_ESP32C2_REV_MIN_FULL < 200 | #if CONFIG_ESP32C2_REV_MIN_FULL < 200 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jiang Jiang Jian
					Jiang Jiang Jian