Skip to content

WIFI_PS_MAX_MODEM causing me unstable WiFi connection #193

Description

@analogic

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Working Wi-Fi

Actual behavior (suspected bug)

Not workin WiFi

Error logs or terminal output

From 192.168.78.171 icmp_seq=17 Destination Host Unreachable
From 192.168.78.171 icmp_seq=18 Destination Host Unreachable
From 192.168.78.171 icmp_seq=19 Destination Host Unreachable
From 192.168.78.171 icmp_seq=20 Destination Host Unreachable
From 192.168.78.171 icmp_seq=21 Destination Host Unreachable
From 192.168.78.171 icmp_seq=22 Destination Host Unreachable
From 192.168.78.171 icmp_seq=23 Destination Host Unreachable
From 192.168.78.171 icmp_seq=24 Destination Host Unreachable
From 192.168.78.171 icmp_seq=25 Destination Host Unreachable
From 192.168.78.171 icmp_seq=26 Destination Host Unreachable
64 bytes from 192.168.78.173: icmp_seq=27 ttl=64 time=1892 ms
64 bytes from 192.168.78.173: icmp_seq=28 ttl=64 time=868 ms
From 192.168.78.171 icmp_seq=37 Destination Host Unreachable
From 192.168.78.171 icmp_seq=38 Destination Host Unreachable
From 192.168.78.171 icmp_seq=41 Destination Host Unreachable
From 192.168.78.171 icmp_seq=42 Destination Host Unreachable
From 192.168.78.171 icmp_seq=43 Destination Host Unreachable
From 192.168.78.171 icmp_seq=44 Destination Host Unreachable
From 192.168.78.171 icmp_seq=45 Destination Host Unreachable
From 192.168.78.171 icmp_seq=46 Destination Host Unreachable
From 192.168.78.171 icmp_seq=47 Destination Host Unreachable

Steps to reproduce the behavior

?

Project release version

master

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Linux

Shell

Bash

Additional context

Hello,

I have an ESP Thread Border Router v1.2 board. After flashing it, I experienced a very unstable Wi-Fi connection — roughly only every 20th ping succeeded.

I eventually found that the issue was related to the Wi-Fi modem power-saving mode. I changed this line:

https://github.com/espressif/esp-thread-br/blame/66762f2f19b102638c1e58d6f4ec61c8fc4de3a7/components/esp_ot_cli_extension/src/esp_ot_wifi_cmd.c#L187

to use WIFI_PS_NONE, and after that all the connectivity issues disappeared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions