Troubleshooting#
For best throughput result, ensure that the AP and server running on the PC are connected over an Ethernet cable.
Ensure that IP addresses are assigned to both client and server before running the iPerf test.
Make sure that the station is connected to the AP, before giving the UDP/TCP/TLS related APIs.
For running iPerf, the server should first begin listening, and then the client can send the data.
If more than one socket needs to be opened at a time, then the total throughput shall be divided among all the sockets. For example, if four TCP sockets need to be opened, the SiWG91x is configured in station mode and acts as a TCP server to measure TCP Rx throughput. The throughput obtained on each socket would be ~3.5 Mbps, assuming the actual throughput is 14 Mbps in an ideal environment when a single socket is opened.