TCP Spurious Retransmission when both BT and WIFI are enabled

axellin
Posts: 197
Joined: Mon Sep 17, 2018 9:09 am

TCP Spurious Retransmission when both BT and WIFI are enabled

Postby axellin » Wed Nov 28, 2018 6:15 am

Hi,
I test with master tree (v3.3-dev-270-g6f8e2b018).
When BT and Wifi are both enabled, it's easy to observe "TCP Spurious Retransmission" issue.
In my case, I only use BLE by calling esp_ble_gap_start_scanning().
The scan_interval=0x50 and scan_widow=0x30 in my setting.

If I comment out the esp_ble_gap_start_scanning() call, I don't observe the issue.
So I guess this might be related to BT+WiFi co-exist issue?

chegewara
Posts: 2238
Joined: Wed Jun 14, 2017 9:00 pm

Re: TCP Spurious Retransmission when both BT and WIFI are enabled

Postby chegewara » Wed Nov 28, 2018 7:53 am

Hi,
try SW coexistnce option in menuconfig with wifi priority. ble should not lose too much but it will change your wifi behavior a lot, at least i experienced it in my test app. I even could set scan interval and windows with the same value and wifi didnt complain about it.

axellin
Posts: 197
Joined: Mon Sep 17, 2018 9:09 am

Re: TCP Spurious Retransmission when both BT and WIFI are enabled

Postby axellin » Wed Nov 28, 2018 8:45 am

Set SW coexistnce with wifi priority reduce the chance or TCP Spurious Retransmission, but it still can happen.
Comment out esp_ble_gap_start_scanning() then the TCP Spurious Retransmission never happen.
I do believe there are some issues with bt+wifi coexist...

Who is online

Users browsing this forum: No registered users and 118 guests