mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-09-27 18:56:22 +02:00
Enable WiFi 802.11k 802.11v (#365)
This commit is contained in:
committed by
GitHub
parent
8ce6811a0d
commit
cccae3cabf
@@ -161,7 +161,16 @@ esp_netif_t * wifi_init_sta(const char * wifi_ssid, const char * wifi_pass)
|
||||
.sta =
|
||||
{
|
||||
.threshold.authmode = authmode,
|
||||
},
|
||||
.btm_enabled = 1,
|
||||
.rm_enabled = 1,
|
||||
.scan_method = WIFI_ALL_CHANNEL_SCAN,
|
||||
.sort_method = WIFI_CONNECT_AP_BY_SIGNAL,
|
||||
.pmf_cfg =
|
||||
{
|
||||
.capable = true,
|
||||
.required = false
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
strncpy((char *) wifi_sta_config.sta.ssid, wifi_ssid, sizeof(wifi_sta_config.sta.ssid));
|
||||
|
@@ -8,4 +8,5 @@ CONFIG_ESPTOOLPY_FLASHSIZE="16MB"
|
||||
CONFIG_HTTPD_WS_SUPPORT=y
|
||||
CONFIG_SPIFFS_OBJ_NAME_LEN=64
|
||||
CONFIG_HTTPD_MAX_URI_LEN=2048
|
||||
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
|
||||
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
|
||||
CONFIG_ESP_WIFI_11KV_SUPPORT=y
|
||||
|
Reference in New Issue
Block a user