# Wi-Fi

[中文]

## 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 Wi-Fi Reason Code.

## WiFi Multiple Antennas

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

Was this page helpful?

- Thank you! We received your feedback.
- If you have any comments, fill in Espressif Documentation Feedback Form.

- We value your feedback.
- Let us know how we can improve this page by filling in Espressif Documentation Feedback Form.