esp-idf/components/esp32
Deng Xin 7186475d94 Wifi: bugfix of two sceanrio may cause no disconnect event report
Problem Description
set some of routers as the same ssid in the same channel, when 32 in the fast scan connect mode, there may no disconnect event report in that two sceanrio:
1. set the correct password and connect, if target router didn't report 32's auth req before timeout, the state machine change to init but no disconnect event report
2. set a wrong password, if router send disassoc or deauth after run, rather than wait 4 way handshake timeout, the state machine change to init but no disconnect event report

Root Cause
Because the routers are in the same channel, all of them are matched the ssid, so all of them can be instore in the rc list wait for connect, when the first one want to connect fail at auth or receive
disassoc or deauth when password wrong, the rc list is not empty, it can not send disconnect event because rc is not empty

Solution
1. put the fail the router in the blacklist
2. Judge whether there is another router can be connect, if it has, try to connect with the next one

VNC MR 561
2018-09-21 06:22:20 +00:00
..
hwcrypto soc: Change DPORT access 2018-05-14 17:54:57 +05:00
include Merge branch 'feature/wifi_update_csi_api_and_fix_phy_dport_access_issue' into 'master' 2018-09-12 21:29:29 +08:00
ld Merge branch 'master' into feature/cmake 2018-09-05 10:35:04 +08:00
lib@05aa0f411d Wifi: bugfix of two sceanrio may cause no disconnect event report 2018-09-21 06:22:20 +00:00
test ipc: fix esp_ipc_call_blocking to return after callback execution is completed 2018-09-07 14:19:35 +05:30
brownout.c esp32: add API to get reset reason 2018-08-20 16:49:20 +08:00
cache_err_int.c esp32: fix cache error interrupt handler 2017-09-08 09:59:09 +08:00
clk.c bootloader_support: Fix enable rtc_wdt for resolve issue with varying supply 2018-09-03 05:43:01 +00:00
CMakeLists.txt cmake: fix source list issues 2018-09-13 08:56:59 +08:00
coexist_internal.h component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
coexist.c component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
component.mk esp32: force pure math functions from libgcc to be linked from ROM 2018-07-02 12:49:57 +08:00
core_dump.c coredump: Fixes exception stack frame structure indicator 2018-07-05 22:20:20 +03:00
cpu_start.c esp32: abort when running on single core chip in dual core mode 2018-09-19 15:05:26 +08:00
crosscore_int.c esp32: Move esp_crosscore_isr_handle_yield() to IRAM 2018-06-13 11:36:15 +10:00
dbg_stubs.c esp32: Adds GCOV debug stubs support 2018-05-18 16:16:03 +03:00
dport_access.c dport: Bigfix dport_read code move to IRAM 2018-05-21 22:00:51 +05:00
dport_panic_highint_hdl.S xtensa: remove unused header files 2018-05-31 02:21:36 +00:00
esp_clk_internal.h bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC 2018-03-21 13:27:56 +05:00
esp_err_to_name.c Feature/sync lwip as submodule 2018-09-06 19:43:08 +08:00
esp_err_to_name.c.in esp32: esp_err_to_name_r: print error code as hex and decimal 2018-06-15 15:49:23 +08:00
esp_system_internal.h esp32: add API to get reset reason 2018-08-20 16:49:20 +08:00
esp_timer_esp32.c Fixed typos on booleans. 2018-07-09 14:36:06 +08:00
esp_timer_impl.h sleep: fix deadlock in esp_timer_impl_advance after light sleep 2018-05-09 22:52:50 +08:00
esp_timer.c Merge branch 'bugfix/light_sleep_fixes' into 'master' 2018-05-02 20:09:36 +08:00
ets_timer_legacy.c wifi/bt coexistence: Fix disabled cache access race when writing to flash 2017-10-16 19:47:33 +08:00
event_default_handlers.c esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0 2018-09-06 14:52:04 +08:00
event_loop.c add mesh feature 2018-04-04 22:57:45 +08:00
fast_crypto_ops.c esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter 2018-05-31 17:09:40 +08:00
freertos_hooks.c freertos: cleanup tick/idle hook functionality 2018-09-17 17:05:17 +05:30
gdbstub.c Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
hw_random.c esp32: Add esp_fill_random() function 2018-09-03 04:39:45 +00:00
int_wdt.c Dump the frame of the other core when interrupt watchdog happens 2018-01-18 23:10:29 +00:00
intr_alloc.c esp32: fix interrupt list insert issue 2018-05-14 14:13:08 +08:00
ipc.c ipc: fix esp_ipc_call_blocking to return after callback execution is completed 2018-09-07 14:19:35 +05:30
Kconfig when brownout reset occurs,set the phy TX Power to the lowest 2018-08-30 14:22:03 +08:00
lib_printf.c component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
libhal.a Initial public version 2016-08-17 23:08:22 +08:00
Makefile.projbuild Merge branch 'feature/expansion_space_for_bootloader' into 'master' 2018-06-18 12:34:53 +08:00
panic.c Merge branch 'feature/rtc_cpu_freq_config' into 'master' 2018-08-22 11:32:08 +08:00
phy_init_data.h Merge branch 'master' into feature/cmake 2018-09-05 10:35:04 +08:00
phy_init.c when brownout reset occurs,set the phy TX Power to the lowest 2018-08-30 14:22:03 +08:00
phy.h esp32: some changes relating to phy v3900 2018-05-22 14:16:09 +08:00
pm_esp32.c freertos: cleanup tick/idle hook functionality 2018-09-17 17:05:17 +05:30
pm_impl.h pm: initial implementation for ESP32 2017-10-18 14:19:16 +08:00
pm_locks.c pm: initial version of power management APIs 2017-10-18 14:19:16 +08:00
pm_trace.c freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
pm_trace.h freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
reset_reason.c reset_reason: fix setting wake stub entry point to 0x80000000 2018-08-27 19:01:03 +08:00
restore.c esp_system: remove link time dependency on WiFi stack 2017-06-15 18:15:36 +08:00
sleep_modes.c Merge branch 'bugfix/slow_mem_keep_rtc_noinit' into 'master' 2018-09-07 15:54:52 +08:00
spiram_psram.c feature(psram): add support for 64MBit psram of 1.8v and 3.3v. 2018-07-10 14:24:59 +08:00
spiram_psram.h feature(psram): add support for 64MBit psram of 1.8v and 3.3v. 2018-07-10 14:24:59 +08:00
spiram.c heap: Drop priority of DMA reserved memory pool 2018-08-30 06:18:18 +00:00
stack_check.c esp32: Adds Stack Smashing Protection Feature 2017-11-17 12:08:36 +03:00
system_api.c defination: fix the bug that esp_derive_local_mac() defination missing 2018-09-05 14:36:37 +08:00
task_wdt.c task_wdt: correct critical section API in ISR context 2018-09-17 16:11:15 +05:30
wifi_init.c wifi: Set default wifi library log level based on sdkconfig 2018-05-02 15:11:21 +10:00
wifi_os_adapter.c Add OS adapter to WiFi driver 2018-05-26 17:22:23 +08:00