Skip to main content

esp_wifi_config_80211_tx

Function esp_wifi_config_80211_tx 

Source
pub unsafe extern "C" fn esp_wifi_config_80211_tx(
    ifx: u32,
    config: *mut wifi_tx_rate_config_t,
) -> i32
Expand description

@brief Config 80211 tx rate and phymode of specified interface

@attention 1. This API should be called after esp_wifi_init() and before esp_wifi_start().

@param ifx Interface to be configured. @param config rate_config to be configured.

@return

  • ESP_OK: succeed
  • others: failed