espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.87k stars 7.32k forks source link

WiFi network latency is unstable, how to improve (IDFGH-13946) #14781

Open luacerbb opened 1 month ago

luacerbb commented 1 month ago

Answers checklist.

IDF version.

idf_v4.4.4

Espressif SoC revision.

ESP32-WROOM-32D

Operating System used.

Windows

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

custom board

Power Supply used.

USB

What is the expected behavior?

I hope to improve the stability of communication under weak signals

What is the actual behavior?

I test with four wifi dev, 801 and 819 dev used esp32 chip,we can see those two dev ping packet lost bigger than rachio3,and latency is unstable. 图片

Steps to reproduce.

  1. Four devices are placed together and connected to the same wifi router
  2. Test by sending ping requests to four devices on one computer

Debug Logs.

No response

More Information.

No response

MaxwellAlan commented 1 month ago

Hi @luacerbb

Could you try disable WiFi modem sleep (calling esp_wifi_set_ps(0) after esp_wifi_start()) and re-test ?

luacerbb commented 1 month ago

@MaxwellAlan thanks,I will arrange for my colleague to retest

AxelLin commented 3 weeks ago

Hi @luacerbb

Could you try disable WiFi modem sleep (calling esp_wifi_set_ps(0) after esp_wifi_start()) and re-test ?

@MaxwellAlan I don't get your point, do you mean it's normal behavior with WiFi modem sleep enabled? If so, why the device rachio3 does not show the same symptom?

@luacerbb Can you make sure the setting is exactly the same for these 4 devices?