mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-19 17:47:27 +00:00
bugfix fix some wifi bugs for 4.3
1. sync idf menuconfig nvs status to lib 2. disable ampdu+amsdu bit 3. fix 80211 tx crash issue 4. supoort config 80211 tx rate
This commit is contained in:
@@ -1224,7 +1224,7 @@ esp_err_t esp_wifi_config_11b_rate(wifi_interface_t ifx, bool disable);
|
||||
* @attention 1. This API should be called after esp_wifi_init() and before esp_wifi_start().
|
||||
*
|
||||
* @param ifx Interface to be configured.
|
||||
* @param rate Only support 1M, 6M and MCS0_LGI
|
||||
* @param rate Phy rate to be configured.
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK: succeed
|
||||
@@ -1289,6 +1289,20 @@ esp_err_t esp_wifi_set_country_code(const char *country, bool ieee80211d_enabled
|
||||
*/
|
||||
esp_err_t esp_wifi_get_country_code(char *country);
|
||||
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
esp_err_t esp_wifi_config_80211_tx_rate(wifi_interface_t ifx, wifi_phy_rate_t rate);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user