DHCP problems with different aps (BSS Transition Management)

brazoayeye
Posts: 41
Joined: Sun May 03, 2020 2:37 pm

DHCP problems with different aps (BSS Transition Management)

Postby brazoayeye » Thu Jun 24, 2021 8:17 am

With and esp-idf 4.3 I'm experiencing problems with a network with multiple aps with the same SSID.

If I connect to an AP, being closer to that one or setting the bssid all works well.
If I connect to another AP, I have IP_EVENT_STA_GOT_IP (about 5s after WIFI_EVENT_STA_CONNECTED) with an invalid IP: 169.254.113.86, mask: 255.255.0.0, Gateway, Dnss: 0.0.0.0.

EDIT: Disabling AUTOIP from sdkconfig I don't have the above IP and the IP_EVENT_STA_GOT_IP event, but the problem remains... Is it related to the network or to the library?

I tried with both wifi_config_t.sta.btm_enabled = 0(default) / 1 without differences.
I don't know what rm_enabled is, can you give a link or some documentation about?
I tried to analyze esp_netif_dhcpc_option to check if there is a timeout or similar, but I can't find it.

Any suggestion?

Thanks

Who is online

Users browsing this forum: No registered users and 63 guests