mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(esp_wifi): Add md5sum validation checks for new public headers and sync headers
Add checks for following public headers: - esp_wifi_types_generic.h - esp_wifi_native.h
This commit is contained in:
parent
597f2ce001
commit
c0b3af2292
@ -4,6 +4,7 @@
|
|||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "esp_wifi_types_generic.h"
|
#include "esp_wifi_types_generic.h"
|
||||||
#if __has_include("esp_wifi_native.h")
|
#if __has_include("esp_wifi_native.h")
|
||||||
#include "esp_wifi_native.h"
|
#include "esp_wifi_native.h"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef __ESP_WIFI_TYPES_H__
|
#ifndef __ESP_WIFI_TYPES_H__
|
||||||
#define __ESP_WIFI_TYPES_H__
|
#define __ESP_WIFI_TYPES_H__
|
||||||
|
|
||||||
#include "esp_event.h"
|
#include "esp_event_base.h"
|
||||||
#include "esp_interface.h"
|
#include "esp_interface.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@ -430,7 +430,7 @@ typedef struct {
|
|||||||
uint8_t payload[0]; /**< Payload. Length is equal to value in 'length' field, minus 4. */
|
uint8_t payload[0]; /**< Payload. Length is equal to value in 'length' field, minus 4. */
|
||||||
} vendor_ie_data_t;
|
} vendor_ie_data_t;
|
||||||
|
|
||||||
typedef struct wifi_pkt_rx_ctrl_t wifi_pkt_rx_ctrl_t;
|
typedef struct wifi_pkt_rx_ctrl_t esp_wifi_rxctrl_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Promiscuous frame type
|
* @brief Promiscuous frame type
|
||||||
|
@ -102,7 +102,9 @@ typedef struct wifi_csi_config_t{
|
|||||||
uint8_t shift; /**< manually left shift bits of the scale of the CSI data. The range of the left shift bits is 0~15 */
|
uint8_t shift; /**< manually left shift bits of the scale of the CSI data. The range of the left shift bits is 0~15 */
|
||||||
bool dump_ack_en; /**< enable to dump 802.11 ACK frame, default disabled */
|
bool dump_ack_en; /**< enable to dump 802.11 ACK frame, default disabled */
|
||||||
} wifi_csi_config_t;
|
} wifi_csi_config_t;
|
||||||
#endif
|
#endif // !CONFIG_SOC_WIFI_HE_SUPPORT
|
||||||
|
|
||||||
|
typedef wifi_pkt_rx_ctrl_t esp_wifi_rxctrl_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief CSI data type
|
* @brief CSI data type
|
||||||
|
@ -39,6 +39,8 @@ ${PREFIX}ld --unresolved-symbols=ignore-all --entry 0 -o ${ELF_FILE} \
|
|||||||
-u g_esp_wifi_he_md5 \
|
-u g_esp_wifi_he_md5 \
|
||||||
-u g_wifi_crypto_funcs_md5 \
|
-u g_wifi_crypto_funcs_md5 \
|
||||||
-u g_wifi_type_md5 \
|
-u g_wifi_type_md5 \
|
||||||
|
-u g_wifi_types_generic_md5 \
|
||||||
|
-u g_wifi_types_native_md5 \
|
||||||
-u g_wifi_he_type_md5 \
|
-u g_wifi_he_type_md5 \
|
||||||
-u g_wifi_osi_funcs_md5 \
|
-u g_wifi_osi_funcs_md5 \
|
||||||
-u g_wifi_supplicant_funcs_md5 \
|
-u g_wifi_supplicant_funcs_md5 \
|
||||||
@ -70,6 +72,8 @@ check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_he.h g_esp_wifi_he_md
|
|||||||
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_private/wifi_os_adapter.h g_wifi_osi_funcs_md5
|
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_private/wifi_os_adapter.h g_wifi_osi_funcs_md5
|
||||||
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_crypto_types.h g_wifi_crypto_funcs_md5
|
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_crypto_types.h g_wifi_crypto_funcs_md5
|
||||||
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_types.h g_wifi_type_md5
|
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_types.h g_wifi_type_md5
|
||||||
|
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_types_generic.h g_wifi_types_generic_md5
|
||||||
|
check_md5 ${IDF_PATH}/components/esp_wifi/include/local/esp_wifi_native.h g_wifi_types_native_md5
|
||||||
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_he_types.h g_wifi_he_type_md5
|
check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_he_types.h g_wifi_he_type_md5
|
||||||
check_md5 ${IDF_PATH}/components/wpa_supplicant/esp_supplicant/src/esp_wifi_driver.h g_wifi_supplicant_funcs_md5
|
check_md5 ${IDF_PATH}/components/wpa_supplicant/esp_supplicant/src/esp_wifi_driver.h g_wifi_supplicant_funcs_md5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user