• Home
  • Raw
  • Download

Lines Matching refs:iface_name

123 Status Server::createApInterface(const std::string& iface_name,  in createApInterface()  argument
128 if (!SetupInterface(iface_name, &interface, &wiphy_index)) { in createApInterface()
132 LOG(INFO) << "createApInterface: wiphy_index " << wiphy_index << " iface_name " << iface_name; in createApInterface()
141 ap_interfaces_[iface_name] = std::move(ap_interface); in createApInterface()
147 iface_to_wiphy_index_map_[iface_name] = wiphy_index; in createApInterface()
151 Status Server::tearDownApInterface(const std::string& iface_name, in tearDownApInterface() argument
154 const auto iter = ap_interfaces_.find(iface_name); in tearDownApInterface()
161 const auto iter_wi = iface_to_wiphy_index_map_.find(iface_name); in tearDownApInterface()
164 LOG(INFO) << "tearDownApInterface: erasing wiphy_index for iface_name " << iface_name; in tearDownApInterface()
184 Status Server::createClientInterface(const std::string& iface_name, in createClientInterface() argument
189 if (!SetupInterface(iface_name, &interface, &wiphy_index)) { in createClientInterface()
193 LOG(INFO) << "createClientInterface: wiphy_index " << wiphy_index << " iface_name " << iface_name; in createClientInterface()
205 client_interfaces_[iface_name] = std::move(client_interface); in createClientInterface()
211 iface_to_wiphy_index_map_[iface_name] = wiphy_index; in createClientInterface()
216 Status Server::tearDownClientInterface(const std::string& iface_name, in tearDownClientInterface() argument
219 const auto iter = client_interfaces_.find(iface_name); in tearDownClientInterface()
226 const auto iter_wi = iface_to_wiphy_index_map_.find(iface_name); in tearDownClientInterface()
229 LOG(INFO) << "tearDownClientInterface: erasing wiphy_index for iface_name " << iface_name; in tearDownClientInterface()
326 std::string iface_name; in MarkDownAllInterfaces() local
329 iface_name = it.first; in MarkDownAllInterfaces()
330 if_tool_->SetUpState(iface_name.c_str(), false); in MarkDownAllInterfaces()
420 const std::string& iface_name, in getDeviceWiphyCapabilities() argument
422 int wiphy_index = FindWiphyIndex(iface_name); in getDeviceWiphyCapabilities()
425 LOG(ERROR) << "Failed to find iface_name " << iface_name; in getDeviceWiphyCapabilities()
455 bool Server::SetupInterface(const std::string& iface_name, in SetupInterface() argument
458 if (!netlink_utils_->GetWiphyIndex(wiphy_index, iface_name)) { in SetupInterface()
473 …LOG(ERROR) << "Failed to get interfaces info from kernel for iface_name " << iface_name << " wiphy… in SetupInterface()
478 if (iface.name == iface_name) { in SetupInterface()
575 const std::string& iface_name) { in FindWiphyIndex() argument
579 if (it.first == iface_name) { in FindWiphyIndex()