Function esp_idf_hal::sys::esp_wifi_config_11b_rate

source ·
pub unsafe extern "C" fn esp_wifi_config_11b_rate(
    ifx: u32,
    disable: bool,
) -> i32
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