pub unsafe extern "C" fn esp_wifi_config_80211_tx_rate(
    ifx: wifi_interface_t,
    rate: wifi_phy_rate_t
) -> esp_err_t
Expand description

@brief Config 80211 tx rate 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 rate Phy rate to be configured.

@return

  • ESP_OK: succeed
  • others: failed