Page 1 of 1

ESP-IDF AP roaming with specified MAC address

Posted: Fri Jan 17, 2025 6:57 pm
by Bryght-Richard
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?

Re: ESP-IDF AP roaming with specified MAC address

Posted: Mon Jan 20, 2025 5:11 pm
by Bryght-Richard
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.