Home | History | Annotate | Download | only in wifi

Lines Matching refs:endpoint

223 void WiFiService::AddEndpoint(const WiFiEndpointConstRefPtr& endpoint) {
224 DCHECK(endpoint->ssid() == ssid());
225 endpoints_.insert(endpoint);
229 void WiFiService::RemoveEndpoint(const WiFiEndpointConstRefPtr& endpoint) {
230 set<WiFiEndpointConstRefPtr>::iterator i = endpoints_.find(endpoint);
234 << "ignoring non-existent endpoint "
235 << endpoint->bssid_string();
239 if (current_endpoint_ == endpoint) {
246 const WiFiEndpointConstRefPtr& endpoint) {
247 DCHECK(!endpoint || (endpoints_.find(endpoint) != endpoints_.end()));
248 current_endpoint_ = endpoint;
253 const WiFiEndpointConstRefPtr& endpoint) {
254 DCHECK(endpoints_.find(endpoint) != endpoints_.end());
323 // Only perform BSSID tests if there is exactly one matching endpoint,
608 // will mean this service is not disconnectable until an endpoint is
656 // with wpa_supplicant. If we have one from our endpoint, insert it
758 // This will set the representative_endpoint to the best endpoint associated
760 // endpoint.
761 for (const auto& endpoint : endpoints_) {
764 if (endpoint->device()->link_name() != preferred_device_) {
767 } else if (endpoint->device() &&
768 endpoint->device()->link_name() == preferred_device_) {
769 // Found first endpoint associated with preferred device.
774 if (endpoint->signal_strength() >= best_signal) {
775 best_signal = endpoint->signal_strength();
776 representative_endpoint = endpoint.get();
788 << "Representative endpoint updated for service " << unique_name()
803 for (const auto& endpoint : endpoints_) {
804 if (endpoint->ieee80211w_required()) {
812 for (const auto& endpoint : endpoints_) {
813 frequency_set.insert(endpoint->frequency());
901 // (per endpoint).
903 for (const auto& endpoint : endpoints) {
905 if (endpoint->has_rsn_property()) {
907 } else if (endpoint->has_wpa_property()) {