diff --git a/components/esp_wifi/include/esp_private/wifi.h b/components/esp_wifi/include/esp_private/wifi.h index 0ad8eea9cb..98bdee071c 100644 --- a/components/esp_wifi/include/esp_private/wifi.h +++ b/components/esp_wifi/include/esp_private/wifi.h @@ -499,6 +499,9 @@ esp_err_t esp_wifi_internal_get_config_channel(wifi_interface_t ifx, uint8_t *pr * * @return * - ESP_OK: succeed + * - ESP_ERR_INVALID_ARG : invalid argument + * - ESP_ERR_WIFI_NOT_STARTED : WiFi is not started by esp_wifi_start + * - ESP_ERR_WIFI_NOT_CONNECT : No connection between STA and AP */ esp_err_t esp_wifi_internal_get_negotiated_channel(wifi_interface_t ifx, uint8_t aid, uint8_t *primary, uint8_t *second); @@ -510,6 +513,9 @@ esp_err_t esp_wifi_internal_get_negotiated_channel(wifi_interface_t ifx, uint8_t * * @return * - ESP_OK: succeed + * - ESP_ERR_INVALID_ARG : invalid argument + * - ESP_ERR_WIFI_NOT_STARTED : WiFi is not started by esp_wifi_start + * - ESP_ERR_WIFI_NOT_CONNECT : No connection between STA and AP */ esp_err_t esp_wifi_internal_get_negotiated_bandwidth(wifi_interface_t ifx, uint8_t aid, uint8_t *bw); diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index 414e8cf968..e5507d4bb0 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -1592,6 +1592,8 @@ esp_err_t esp_wifi_sta_get_aid(uint16_t *aid); * * @return * - ESP_OK: succeed + * - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start + * - ESP_ERR_WIFI_NOT_CONNECT: No connection between STA and AP */ esp_err_t esp_wifi_sta_get_negotiated_phymode(wifi_phy_mode_t *phymode); diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index bcaf065efe..7146a6e467 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit bcaf065efeabe81b2e34045e1408df803621f7c3 +Subproject commit 7146a6e4679ede19202230582728784f77bf9e3b