Page 1 of 1

Wifi dropping and having issues in softAP mode

Posted: Thu Apr 25, 2019 6:21 am
by alongoldman
Using iperf example in STA mode everything is fine but when doing the same test in softAP mode It seems to drop frames.
This is running on my own HW, I was having the same issues with my own code so I verified with iperf, latest ESP-IDF.

softAP:
esp32> iperf -s -i 3
I (133617) cmd_wifi: mode=tcp-server sip=192.168.4.1:5001, dip=0.0.0.0:5001, int
erval=3, time=30

Interval Bandwidth
esp32> 0- 3 sec 0.00 Mbits/sec
3- 6 sec 0.00 Mbits/sec
accept: 192.168.4.2,56844
6- 9 sec 35.13 Mbits/sec
9- 12 sec 7.17 Mbits/sec
12- 15 sec 27.02 Mbits/sec
15- 18 sec 47.07 Mbits/sec
18- 21 sec 46.75 Mbits/sec
21- 24 sec 28.40 Mbits/sec
24- 27 sec 0.03 Mbits/sec
27- 30 sec 42.32 Mbits/sec
0- 30 sec 23.39 Mbits/sec
I (163652) iperf: iperf exit

STA:
esp32> iperf -s -i 3
I (200988) cmd_wifi: mode=tcp-server sip=192.168.86.174:5001, dip=0.0.0.0:5001,
interval=3, time=30

Interval Bandwidth
esp32> 0- 3 sec 0.00 Mbits/sec
accept: 192.168.86.44,56757
3- 6 sec 28.82 Mbits/sec
6- 9 sec 41.15 Mbits/sec
9- 12 sec 41.42 Mbits/sec
12- 15 sec 39.07 Mbits/sec
15- 18 sec 42.65 Mbits/sec
18- 21 sec 38.90 Mbits/sec
21- 24 sec 43.31 Mbits/sec
24- 27 sec 42.28 Mbits/sec
27- 30 sec 42.07 Mbits/sec
0- 30 sec 35.97 Mbits/sec
I (231008) iperf: iperf exit