Home
last modified time | relevance | path

Searched refs:br_name (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/wifi/aidl/default/
Dwifi_iface_util.cpp143 bool WifiIfaceUtil::createBridge(const std::string& br_name) { in createBridge() argument
144 if (!iface_tool_.lock()->createBridge(br_name)) { in createBridge()
148 if (!iface_tool_.lock()->SetUpState(br_name.c_str(), true)) { in createBridge()
154 bool WifiIfaceUtil::deleteBridge(const std::string& br_name) { in deleteBridge() argument
155 if (!iface_tool_.lock()->SetUpState(br_name.c_str(), false)) { in deleteBridge()
156 LOG(INFO) << "SetUpState(false) failed for bridge=" << br_name.c_str(); in deleteBridge()
159 return iface_tool_.lock()->deleteBridge(br_name); in deleteBridge()
162 bool WifiIfaceUtil::addIfaceToBridge(const std::string& br_name, const std::string& if_name) { in addIfaceToBridge() argument
163 return iface_tool_.lock()->addIfaceToBridge(br_name, if_name); in addIfaceToBridge()
166 bool WifiIfaceUtil::removeIfaceFromBridge(const std::string& br_name, const std::string& if_name) { in removeIfaceFromBridge() argument
[all …]
Dwifi_iface_util.h61 virtual bool createBridge(const std::string& br_name);
63 virtual bool deleteBridge(const std::string& br_name);
65 virtual bool addIfaceToBridge(const std::string& br_name, const std::string& if_name);
67 virtual bool removeIfaceFromBridge(const std::string& br_name, const std::string& if_name);
/hardware/interfaces/wifi/1.5/vts/functional/
Dwifi_chip_hidl_ap_test.cpp104 std::string br_name = status_and_name.second; in TEST_P() local
111 HIDL_INVOKE(wifi_chip_, removeIfaceInstanceFromBridgedApIface, br_name, in TEST_P()
/hardware/interfaces/wifi/aidl/vts/functional/
Dwifi_chip_aidl_test.cpp863 std::string br_name; in TEST_P() local
865 EXPECT_TRUE(wifi_ap_iface->getName(&br_name).isOk()); in TEST_P()
870 EXPECT_TRUE(wifi_chip->removeIfaceInstanceFromBridgedApIface(br_name, instances[0]).isOk()); in TEST_P()