mirror of
https://github.com/esphome/esphome.git
synced 2025-11-16 06:45:48 +00:00
wifi: support 802.11k and 802.11v (#3600)
This commit is contained in:
@@ -219,6 +219,11 @@ class WiFiComponent : public Component {
|
||||
bool has_sta() const;
|
||||
bool has_ap() const;
|
||||
|
||||
#ifdef USE_WIFI_11KV_SUPPORT
|
||||
void set_btm(bool btm);
|
||||
void set_rrm(bool rrm);
|
||||
#endif
|
||||
|
||||
network::IPAddress get_ip_address();
|
||||
std::string get_use_address() const;
|
||||
void set_use_address(const std::string &use_address);
|
||||
@@ -327,6 +332,10 @@ class WiFiComponent : public Component {
|
||||
optional<float> output_power_;
|
||||
ESPPreferenceObject pref_;
|
||||
bool has_saved_wifi_settings_{false};
|
||||
#ifdef USE_WIFI_11KV_SUPPORT
|
||||
bool btm_{false};
|
||||
bool rrm_{false};
|
||||
#endif
|
||||
};
|
||||
|
||||
extern WiFiComponent *global_wifi_component; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
|
||||
Reference in New Issue
Block a user