mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
fix(esp_wifi): Fix ci pipeline for random mac feature
This commit is contained in:
@@ -120,8 +120,8 @@ typedef struct {
|
||||
int espnow_max_encrypt_num; /**< Maximum encrypt number of peers supported by espnow */
|
||||
int tx_hetb_queue_num; /**< WiFi TX HE TB QUEUE number for STA HE TB PPDU transmission */
|
||||
bool dump_hesigb_enable; /**< enable dump sigb field */
|
||||
bool sta_random_mac; /**< STA MAC randomization. Supported on station interface only; softAP may be added in future */
|
||||
uint8_t sta_rmac_auto_reset_int;/**< STA random MAC auto-reset interval in hours (1-24) while not connected */
|
||||
bool privacy_enhancements; /**< WiFi privacy enhancements (enables random mac, seq number, dialogue token number, vendor seq number cnt). Supported on station interface only; softAP may be added in future */
|
||||
uint8_t rmac_auto_reset_int; /**< Random MAC auto-reset interval in hours (1-24) while not connected */
|
||||
int magic; /**< WiFi init magic number, it should be the last field */
|
||||
} wifi_init_config_t;
|
||||
|
||||
@@ -323,6 +323,18 @@ extern wifi_osi_funcs_t g_wifi_osi_funcs;
|
||||
WIFI_ENABLE_PASSIVE_HIDDEN_AP | \
|
||||
WIFI_ENABLE_OWE_SOFTAP)
|
||||
|
||||
#if CONFIG_WIFI_RMT_PRIVACY_ENHANCEMENTS_ENABLED
|
||||
#define WIFI_PRIVACY_ENHANCEMENTS_ENABLED true
|
||||
#else
|
||||
#define WIFI_PRIVACY_ENHANCEMENTS_ENABLED false
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WIFI_RMT_RMAC_AUTO_RESET_INTERVAL
|
||||
#define WIFI_RMAC_AUTO_RESET_INTERVAL CONFIG_WIFI_RMT_RMAC_AUTO_RESET_INTERVAL
|
||||
#else
|
||||
#define WIFI_RMAC_AUTO_RESET_INTERVAL 0
|
||||
#endif
|
||||
|
||||
#define WIFI_INIT_CONFIG_DEFAULT() { \
|
||||
.osi_funcs = &g_wifi_osi_funcs, \
|
||||
.wpa_crypto_funcs = g_wifi_default_wpa_crypto_funcs, \
|
||||
@@ -349,8 +361,8 @@ extern wifi_osi_funcs_t g_wifi_osi_funcs;
|
||||
.espnow_max_encrypt_num = CONFIG_WIFI_RMT_ESPNOW_MAX_ENCRYPT_NUM, \
|
||||
.tx_hetb_queue_num = WIFI_TX_HETB_QUEUE_NUM, \
|
||||
.dump_hesigb_enable = WIFI_DUMP_HESIGB_ENABLED, \
|
||||
.sta_random_mac = CONFIG_WIFI_RMT_STA_RANDOM_MAC_ENABLED, \
|
||||
.sta_rmac_auto_reset_int = CONFIG_WIFI_RMT_STA_RANDOM_MAC_AUTO_RESET_INTERVAL, \
|
||||
.privacy_enhancements = WIFI_PRIVACY_ENHANCEMENTS_ENABLED, \
|
||||
.rmac_auto_reset_int = WIFI_RMAC_AUTO_RESET_INTERVAL, \
|
||||
.magic = WIFI_INIT_CONFIG_MAGIC\
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user