default SW_COEXIST_PREFERENCE_BALANCE
help
Choose Bluetooth/WiFi/Balance for different preference.
- If choose WiFi, it will make WiFi performance better. Such, keep WiFi Audio more smooth.
- If choose Bluetooth, it will make Bluetooth performance better. Such, keep Bluetooth(A2DP) Audio more smooth.
- If choose Balance, the performance of WiFi and bluetooth will be balance. It's default.
+ 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 fluent.
+ 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.
config SW_COEXIST_PREFERENCE_WIFI
config ESP32_WIFI_AMPDU_TX_ENABLED
bool "WiFi AMPDU TX"
- default y if SW_COEXIST_ENABLE
default y
help
Select this option to enable AMPDU TX feature
- Suggest enable it when SW_COEXIST_ENABLE is defined.
config ESP32_WIFI_TX_BA_WIN
int "WiFi AMPDU TX BA window size"
depends on ESP32_WIFI_AMPDU_TX_ENABLED
range 2 32
- default 2 if SW_COEXIST_ENABLE
default 6
help
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.
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
bool "WiFi AMPDU RX"
- depends on !SW_COEXIST_ENABLE
- default y
default y
help
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
int "WiFi AMPDU RX BA window size"