Function esp_idf_sys::esp_wifi_config_11b_rate

source ·
pub unsafe extern "C" fn esp_wifi_config_11b_rate(
    ifx: wifi_interface_t,
    disable: bool,
) -> esp_err_t
Expand description

@brief Enable or disable 11b rate of specified interface

@attention 1. This API should be called after esp_wifi_init() and before esp_wifi_start(). @attention 2. Only when really need to disable 11b rate call this API otherwise don’t call this.

@param ifx Interface to be configured. @param disable true means disable 11b rate while false means enable 11b rate.

@return

  • ESP_OK: succeed
  • others: failed