fix(wifi): fix compatibility issues with AP which configured to 11n only

This commit is contained in:
Chen Wen
2019-06-13 21:37:28 +08:00
committed by Zhang Jun Hao
parent a227a22a36
commit af0fcc0492
47 changed files with 328 additions and 47 deletions

View File

@ -90,6 +90,9 @@ extern "C" {
#define ESP_WIFI_PARAM_USE_NVS 0
#define WIFI_PROTOCAL_11B 1
#define WIFI_PROTOCAL_11G 2
#define WIFI_PROTOCAL_11N 4
/**
* @brief WiFi stack configuration parameters passed to esp_wifi_init call.
*/

View File

@ -92,6 +92,7 @@ typedef enum {
WIFI_REASON_AUTH_FAIL = 202,
WIFI_REASON_ASSOC_FAIL = 203,
WIFI_REASON_HANDSHAKE_TIMEOUT = 204,
WIFI_REASON_BASIC_RATE_NOT_SUPPORT = 205,
} wifi_err_reason_t;
typedef enum {