Other Parts Discussed in Thread: CC3351
Tool/software:
We have seen wifi transfer suddenly stop during bigger downloads (FOTA). A simpler testcase is running iperf, and the test often stops before the 10 seconds finishing. The testcase here is simply enabling iperf3 in the firmware, connecting to wifi and running iperf over the wifi link. Our analysis suggests that the WiFi firmware loses received packets over a period of time, leading to TCP transmission interruptions, but this situation can be recovered. The question is how to prevent this situation from happening?
[08:30:36.213] # iperf3 -s
...
[08:31:49.391] Server [192.168.5.94] listening on [5201]
[08:31:49.391] -----------------------------------------------------------
[08:31:55.115] Accepted connection from 192.168.5.1, port 46328
[08:31:55.539] [ 5] local 192.168.5.94 port 5201 connected to 192.168.5.1 port 46330
[08:31:56.553] [ ID] Interval Transfer Bandwidth
[08:31:56.553] [ 5] 0.00-1.00 sec 1.01 MBytes 8.44 Mbits/sec
[08:31:57.905] [ 5] 1.00-2.36 sec 761 KBytes 4.60 Mbits/sec
[08:31:58.549] [ 5] 2.36-3.00 sec 1.56 MBytes 20.3 Mbits/sec
[08:31:59.549] [ 5] 3.00-4.00 sec 2.58 MBytes 21.7 Mbits/sec
[08:32:00.549] [ 5] 4.00-5.00 sec 2.50 MBytes 21.0 Mbits/sec
[08:32:01.549] [ 5] 5.00-6.00 sec 2.08 MBytes 17.5 Mbits/sec
[08:32:02.550] [ 5] 6.00-7.00 sec 1.85 MBytes 15.6 Mbits/sec
[08:32:03.545] [ 5] 7.00-8.00 sec 1.60 MBytes 13.4 Mbits/sec
[08:32:04.925] [ 5] 8.00-9.38 sec 686 KBytes 4.08 Mbits/sec
[08:32:05.550] [ 5] 9.38-10.00 sec 115 KBytes 1.51 Mbits/sec
[08:32:06.555] [ 5] 10.00-11.01 sec 0.00 Bytes 0.00 bits/sec <<<<
[08:32:07.555] [ 5] 11.01-12.01 sec 0.00 Bytes 0.00 bits/sec
[08:32:08.555] [ 5] 12.01-13.01 sec 0.00 Bytes 0.00 bits/sec
[08:32:09.555] [ 5] 13.01-14.01 sec 0.00 Bytes 0.00 bits/sec
...