mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
esp32: fix some wifi phy mode bugs
Fix several WiFi phy mode bugs
This commit is contained in:
@@ -397,6 +397,9 @@ esp_err_t esp_wifi_scan_get_ap_records(uint16_t *number, wifi_ap_record_t *ap_re
|
||||
* @brief Get information of AP which the ESP32 station is associated with
|
||||
*
|
||||
* @param ap_info the wifi_ap_record_t to hold AP information
|
||||
* sta can get the connected ap's phy mode info through the struct member
|
||||
* phy_11b,phy_11g,phy_11n,phy_lr in the wifi_ap_record_t struct.
|
||||
* For example, phy_11b = 1 imply that ap support 802.11b mode
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK: succeed
|
||||
@@ -714,6 +717,9 @@ esp_err_t esp_wifi_get_config(wifi_interface_t interface, wifi_config_t *conf);
|
||||
* @attention SSC only API
|
||||
*
|
||||
* @param[out] sta station list
|
||||
* ap can get the connected sta's phy mode info through the struct member
|
||||
* phy_11b,phy_11g,phy_11n,phy_lr in the wifi_sta_info_t struct.
|
||||
* For example, phy_11b = 1 imply that sta support 802.11b mode
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK: succeed
|
||||
|
Reference in New Issue
Block a user