Home | History | Annotate | Download | only in apmanager

Lines Matching refs:interface

49   for (const auto& interface : interface_list_) {
50 // Done if interface already in the list.
51 if (interface.iface_index == new_interface.iface_index) {
52 LOG(INFO) << "Interface " << new_interface.iface_name
61 void Device::DeregisterInterface(const WiFiInterface& interface) {
62 LOG(INFO) << "DeregisteringInterface " << interface.iface_name
65 if (it->iface_index == interface.iface_index) {
74 // Parse NL80211_ATTR_SUPPORTED_IFTYPES for AP mode interface support.
144 for (const auto& interface : interface_list_) {
145 manager_->ClaimInterface(interface.iface_name);
146 claimed_interfaces_.insert(interface.iface_name);
163 for (const auto& interface : claimed_interfaces_) {
164 manager_->ReleaseInterface(interface);
172 for (const auto& interface : interface_list_) {
173 if (interface.iface_name == interface_name) {
369 // Return if device doesn't support AP interface mode.
374 // Use the first registered AP mode interface if there is one, otherwise use
375 // the first registered managed mode interface. If none are available, then
376 // no interface can be used for AP operation on this device.
378 for (const auto& interface : interface_list_) {
379 if (interface.iface_type == NL80211_IFTYPE_AP) {
380 preferred_interface = interface;
382 } else if (interface.iface_type == NL80211_IFTYPE_STATION &&
384 preferred_interface = interface;
386 // Ignore all other interface types.
388 // Update preferred AP interface property.