Skip to content

Commit

Permalink
Merge branch 'feat/dynamic_carrier_sense' into 'master'
Browse files Browse the repository at this point in the history
esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env and fix tx fragment issue

Closes WIFI-5106 and WIFI-5529

See merge request espressif/esp-idf!21919
  • Loading branch information
jack0c committed Mar 20, 2023
2 parents bd87e61 + b09a4e2 commit 29737e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions components/esp_wifi/include/esp_wifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,19 @@ esp_err_t esp_wifi_sta_get_aid(uint16_t *aid);
*/
esp_err_t esp_wifi_sta_get_negotiated_phymode(wifi_phy_mode_t *phymode);

/**
* @brief Config dynamic carrier sense
*
* @attention This API should be called after esp_wifi_start().
*
* @param enabled Dynamic carrier sense is enabled or not.
*
* @return
* - ESP_OK: succeed
* - others: failed
*/
esp_err_t esp_wifi_set_dynamic_cs(bool enabled);

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 29737e1

Please sign in to comment.