1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-01 17:42:22 +01:00

wifi: support 802.11k and 802.11v (#3600)

This commit is contained in:
Stijn Tintel
2022-08-17 12:10:43 +03:00
committed by GitHub
parent 5561d4eaeb
commit b4bbe3d7b5
6 changed files with 43 additions and 1 deletions

View File

@@ -285,6 +285,11 @@ bool WiFiComponent::wifi_sta_connect_(const WiFiAP &ap) {
}
#endif
#ifdef USE_WIFI_11KV_SUPPORT
conf.sta.btm_enabled = this->btm_;
conf.sta.rm_enabled = this->rrm_;
#endif
if (ap.get_bssid().has_value()) {
conf.sta.bssid_set = true;
memcpy(conf.sta.bssid, ap.get_bssid()->data(), 6);