ESP-IDF AP roaming with specified MAC address

Bryght-Richard
Posts: 54
Joined: Thu Feb 22, 2024 3:59 pm

ESP-IDF AP roaming with specified MAC address

Postby Bryght-Richard » Fri Jan 17, 2025 6:57 pm

Currently our products do a WiFi scan before connecting to attempt to identify the best access point, then specify it by MAC address with wifi_config.sta.bssid & wifi_config.sta.bssid_set = true.

I'm looking at enabling 802.11kv, but I had a couple questions.

If a station specifies the access point BSSID to esp_wifi_set_config(), will the station still perform 802.11k neighbor report and use that?

If a station specified the access point BSSID to esp_wifi_set_config(), will the station still roam with 802.11kv?

I had built out scan-before-connect to try to start with the best access point in the mesh first, but will my attempt at that prevent roaming to the best one?

Bryght-Richard
Posts: 54
Joined: Thu Feb 22, 2024 3:59 pm

Re: ESP-IDF AP roaming with specified MAC address

Postby Bryght-Richard » Mon Jan 20, 2025 5:11 pm

It looks like the newer IDF has better support for these station configs:

//sta_config.btm_enabled = 1;
//sta_config.rm_enabled = 1;
//sta_config.mbo_enabled = 1;

Which then work best if BSSID is not specified.

Who is online

Users browsing this forum: No registered users and 79 guests