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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user