Merge branch 'bugfix/optimize_coexist_performance' into 'master'
component/esp32 : improve wifi and bluetooth coexistence performance See merge request idf/esp-idf!2349
This commit is contained in:
commit
139a8a2745
2 changed files with 5 additions and 11 deletions
|
@ -835,9 +835,9 @@ choice SW_COEXIST_PREFERENCE
|
||||||
default SW_COEXIST_PREFERENCE_BALANCE
|
default SW_COEXIST_PREFERENCE_BALANCE
|
||||||
help
|
help
|
||||||
Choose Bluetooth/WiFi/Balance for different preference.
|
Choose Bluetooth/WiFi/Balance for different preference.
|
||||||
If choose WiFi, it will make WiFi performance better. Such, keep WiFi Audio more smooth.
|
If choose WiFi, it will make WiFi performance better. Such, keep WiFi Audio more fluent.
|
||||||
If choose Bluetooth, it will make Bluetooth performance better. Such, keep Bluetooth(A2DP) Audio more smooth.
|
If choose Bluetooth, it will make Bluetooth performance better. Such, keep Bluetooth(A2DP) Audio more fluent.
|
||||||
If choose Balance, the performance of WiFi and bluetooth will be balance. It's default.
|
If choose Balance, the performance of WiFi and bluetooth will be balance. It's default. Normally, just choose balance, the A2DP audio can play fluently, too.
|
||||||
Except config preference in menuconfig, you can also call esp_coex_preference_set() dynamically.
|
Except config preference in menuconfig, you can also call esp_coex_preference_set() dynamically.
|
||||||
|
|
||||||
config SW_COEXIST_PREFERENCE_WIFI
|
config SW_COEXIST_PREFERENCE_WIFI
|
||||||
|
@ -948,33 +948,27 @@ config ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM
|
||||||
|
|
||||||
config ESP32_WIFI_AMPDU_TX_ENABLED
|
config ESP32_WIFI_AMPDU_TX_ENABLED
|
||||||
bool "WiFi AMPDU TX"
|
bool "WiFi AMPDU TX"
|
||||||
default y if SW_COEXIST_ENABLE
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Select this option to enable AMPDU TX feature
|
Select this option to enable AMPDU TX feature
|
||||||
Suggest enable it when SW_COEXIST_ENABLE is defined.
|
|
||||||
|
|
||||||
|
|
||||||
config ESP32_WIFI_TX_BA_WIN
|
config ESP32_WIFI_TX_BA_WIN
|
||||||
int "WiFi AMPDU TX BA window size"
|
int "WiFi AMPDU TX BA window size"
|
||||||
depends on ESP32_WIFI_AMPDU_TX_ENABLED
|
depends on ESP32_WIFI_AMPDU_TX_ENABLED
|
||||||
range 2 32
|
range 2 32
|
||||||
default 2 if SW_COEXIST_ENABLE
|
|
||||||
default 6
|
default 6
|
||||||
help
|
help
|
||||||
Set the size of WiFi Block Ack TX window. Generally a bigger value means higher throughput but
|
Set the size of WiFi Block Ack TX window. Generally a bigger value means higher throughput but
|
||||||
more memory. Most of time we should NOT change the default value unless special reason, e.g.
|
more memory. Most of time we should NOT change the default value unless special reason, e.g.
|
||||||
test the maximum UDP TX throughput with iperf etc. For iperf test in shieldbox, the recommended
|
test the maximum UDP TX throughput with iperf etc. For iperf test in shieldbox, the recommended
|
||||||
value is 9~12. If SW_COEXIST_ENABLE is defined, suggest value is 2.
|
value is 9~12.
|
||||||
|
|
||||||
config ESP32_WIFI_AMPDU_RX_ENABLED
|
config ESP32_WIFI_AMPDU_RX_ENABLED
|
||||||
bool "WiFi AMPDU RX"
|
bool "WiFi AMPDU RX"
|
||||||
depends on !SW_COEXIST_ENABLE
|
|
||||||
default y
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Select this option to enable AMPDU RX feature
|
Select this option to enable AMPDU RX feature
|
||||||
Suggest disable this option when SW_COEXIST_ENABLE is enabled. It can improve WiFi RX performance normally.
|
|
||||||
|
|
||||||
config ESP32_WIFI_RX_BA_WIN
|
config ESP32_WIFI_RX_BA_WIN
|
||||||
int "WiFi AMPDU RX BA window size"
|
int "WiFi AMPDU RX BA window size"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit e21cf48e265f86878d89e31457eb0f1722b410d8
|
Subproject commit f46327a4c68b1e4e6a3fb3febd3ba3312df16ff1
|
Loading…
Reference in a new issue