This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCP connection takes to long to send the data and control get stuck in HostFlowControlConsumeBuff



 

Oh ok, so I have an application which is communicating to CC3000 adapter to Tx/Rx the data.
Application is keep on sending the data to CC3000 and receiving data from CC3000 over TCP communication.
Initially the transmission from CC3000 to PC goes smooth but after a while the data rate goes down, on debugging the issue further down I found control is taking to long to come out of  HostFlowControlConsumeBuff.
If you see the wireshark trace and look for
DC 01 00 13 A4 00 08 F2 F2 00 EF 00 06 C9 F9 44 19 5E 02 00 00 FF FF FE data then I can see couple of retransmiison for this data and due to this the next packet[ DC 00 04 2D A5 6D 00 C1] gets delayed.
This is not a single instance and it is keep going on further, please see the attached wireshark trace and teraterm traces to analyze the issue.
Let me know what can I do to avoid this situation.

I am using the latest patch available in Wiki[P1.24]