Merge branch 'feature/support_disable_11b_rate' into 'master'

esp_wifi: optimize wifi rate.

See merge request espressif/esp-idf!11782
pull/6718/head
Jiang Jiang Jian 2021-02-26 03:21:48 +00:00
commit e417960838
3 zmienionych plików z 30 dodań i 3 usunięć

Wyświetl plik

@ -1567,7 +1567,6 @@ ppEnqueueRxq = 0x400016c8;
ppEnqueueTxDone = 0x400016cc;
ppGetTxQFirstAvail_Locked = 0x400016d0;
ppGetTxframe = 0x400016d4;
ppMapTxQueue = 0x400016d8;
ppProcTxSecFrame = 0x400016dc;
ppProcessRxPktHdr = 0x400016e0;
ppProcessTxQ = 0x400016e4;
@ -1602,7 +1601,6 @@ rcampduuprate = 0x40001754;
rcClearCurAMPDUSched = 0x40001758;
rcClearCurSched = 0x4000175c;
rcClearCurStat = 0x40001760;
rcGetSched = 0x40001764;
rcLowerSched = 0x40001768;
rcSetTxAmpduLimit = 0x4000176c;
rcTxUpdatePer = 0x40001770;

Wyświetl plik

@ -1169,6 +1169,35 @@ esp_err_t esp_wifi_set_rssi_threshold(int32_t rssi);
*/
esp_err_t esp_wifi_ftm_initiate_session(wifi_ftm_initiator_cfg_t *cfg);
/**
* @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
*/
esp_err_t esp_wifi_config_11b_rate(wifi_interface_t ifx, bool disable);
/**
* @brief Config ESPNOW 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 Only support 1M, 6M and MCS0_LGI
*
* @return
* - ESP_OK: succeed
* - others: failed
*/
esp_err_t esp_wifi_config_espnow_rate(wifi_interface_t ifx, wifi_phy_rate_t rate);
#ifdef __cplusplus
}
#endif

@ -1 +1 @@
Subproject commit 3fd77db25b00651e3bbef9975d338d935452b204
Subproject commit e1efaabef1ec5ea1240e04fce5c0c359281ec096