Wi-Fi
======

:link_to_translation:`zh_CN:[中文]`

Wi-Fi Enterprise Security
-------------------------

APIs defined in `esp_wpa2.h` have been deprecated. Please use newer APIs from `esp_eap_client.h`.

Wi-Fi Disconnect Reason Codes
-----------------------------

For the event WIFI_EVENT_STA_DISCONNECTED, the original reason code WIFI_REASON_NO_AP_FOUND has been split as follows:

- REASON_NO_AP_FOUND(original and still used in some scenarios)
- REASON_NO_AP_FOUND_IN_RSSI_THRESHOLD
- REASON_NO_AP_FOUND_IN_AUTHMODE_THRESHOLD
- REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY

For details, please refer to :ref:`esp_wifi_reason_code`.

WiFi Multiple Antennas
----------------------

WiFi multiple antennas api will be deprecated. Please use newer APIs from `esp_phy.h`.
