[][src]Function esp_idf_bindgen::esp_wifi_set_bandwidth

pub unsafe extern "C" fn esp_wifi_set_bandwidth(
    ifx: wifi_interface_t,
    bw: wifi_bandwidth_t
) -> esp_err_t

@brief Set the bandwidth of ESP32 specified interface

@attention 1. API return false if try to configure an interface that is not enabled @attention 2. WIFI_BW_HT40 is supported only when the interface support 11N

@param ifx interface to be configured @param bw bandwidth

@return