Page 1 of 1

WiFi STA slower than AP

Posted: Wed Oct 16, 2024 1:41 pm
by Lobelois
Hello,

I am running a TCP server on an ESP32-S3 that is connected to a client through WiFi and that can be either an AP or a STA.
I noticed there was a very big difference in data rate between STA and AP WiFi modes for the same server and client. I can achieve, in AP, speeds up to 4 times the speed I reach using the STA mode, whatever the infrastructure it is connected to and the computer used as client. The TCP server code behind stays the same in both modes.

I tried a lot of configurations but I cannot figure out what parameter could cause this behaviour.

Does anyone have an idea?

Thank you!