Lines Matching refs:ifname
110 void setActiveWlanIfaceNameProperty(const std::string& ifname) { in setActiveWlanIfaceNameProperty() argument
111 auto res = property_set(kActiveWlanIfaceNameProperty, ifname.data()); in setActiveWlanIfaceNameProperty()
417 Return<void> WifiChip::getApIface(const hidl_string& ifname, in getApIface() argument
421 ifname); in getApIface()
424 Return<void> WifiChip::removeApIface(const hidl_string& ifname, in removeApIface() argument
428 ifname); in removeApIface()
441 Return<void> WifiChip::getNanIface(const hidl_string& ifname, in getNanIface() argument
445 ifname); in getNanIface()
448 Return<void> WifiChip::removeNanIface(const hidl_string& ifname, in removeNanIface() argument
452 ifname); in removeNanIface()
465 Return<void> WifiChip::getP2pIface(const hidl_string& ifname, in getP2pIface() argument
469 ifname); in getP2pIface()
472 Return<void> WifiChip::removeP2pIface(const hidl_string& ifname, in removeP2pIface() argument
476 ifname); in removeP2pIface()
489 Return<void> WifiChip::getStaIface(const hidl_string& ifname, in getStaIface() argument
493 ifname); in getStaIface()
496 Return<void> WifiChip::removeStaIface(const hidl_string& ifname, in removeStaIface() argument
500 ifname); in removeStaIface()
677 const auto ifname = getFirstActiveWlanIfaceName(); in getCapabilitiesInternal_1_3() local
679 legacy_hal_.lock()->getSupportedFeatureSet(ifname); in getCapabilitiesInternal_1_3()
684 legacy_hal_.lock()->getLoggerSupportedFeatureSet(ifname); in getCapabilitiesInternal_1_3()
746 const auto ifname = getFirstActiveWlanIfaceName(); in requestChipDebugInfoInternal() local
748 legacy_hal_.lock()->getDriverVersion(ifname); in requestChipDebugInfoInternal()
760 legacy_hal_.lock()->getFirmwareVersion(ifname); in requestChipDebugInfoInternal()
808 std::string ifname = allocateApIfaceName(); in createApIfaceInternal() local
810 new WifiApIface(ifname, legacy_hal_, iface_util_, feature_flags_); in createApIfaceInternal()
813 if (!callback->onIfaceAdded(IfaceType::AP, ifname).isOk()) { in createApIfaceInternal()
830 const std::string& ifname) { in getApIfaceInternal() argument
831 const auto iface = findUsingName(ap_ifaces_, ifname); in getApIfaceInternal()
838 WifiStatus WifiChip::removeApIfaceInternal(const std::string& ifname) { in removeApIfaceInternal() argument
839 const auto iface = findUsingName(ap_ifaces_, ifname); in removeApIfaceInternal()
847 invalidateAndRemoveDependencies(ifname); in removeApIfaceInternal()
850 if (!callback->onIfaceRemoved(IfaceType::AP, ifname).isOk()) { in removeApIfaceInternal()
863 std::string ifname = getFirstActiveWlanIfaceName(); in createNanIfaceInternal() local
864 sp<WifiNanIface> iface = new WifiNanIface(ifname, legacy_hal_, iface_util_); in createNanIfaceInternal()
867 if (!callback->onIfaceAdded(IfaceType::NAN, ifname).isOk()) { in createNanIfaceInternal()
883 const std::string& ifname) { in getNanIfaceInternal() argument
884 const auto iface = findUsingName(nan_ifaces_, ifname); in getNanIfaceInternal()
891 WifiStatus WifiChip::removeNanIfaceInternal(const std::string& ifname) { in removeNanIfaceInternal() argument
892 const auto iface = findUsingName(nan_ifaces_, ifname); in removeNanIfaceInternal()
898 if (!callback->onIfaceRemoved(IfaceType::NAN, ifname).isOk()) { in removeNanIfaceInternal()
909 std::string ifname = getP2pIfaceName(); in createP2pIfaceInternal() local
910 sp<WifiP2pIface> iface = new WifiP2pIface(ifname, legacy_hal_); in createP2pIfaceInternal()
913 if (!callback->onIfaceAdded(IfaceType::P2P, ifname).isOk()) { in createP2pIfaceInternal()
929 const std::string& ifname) { in getP2pIfaceInternal() argument
930 const auto iface = findUsingName(p2p_ifaces_, ifname); in getP2pIfaceInternal()
937 WifiStatus WifiChip::removeP2pIfaceInternal(const std::string& ifname) { in removeP2pIfaceInternal() argument
938 const auto iface = findUsingName(p2p_ifaces_, ifname); in removeP2pIfaceInternal()
944 if (!callback->onIfaceRemoved(IfaceType::P2P, ifname).isOk()) { in removeP2pIfaceInternal()
955 std::string ifname = allocateStaIfaceName(); in createStaIfaceInternal() local
956 sp<WifiStaIface> iface = new WifiStaIface(ifname, legacy_hal_, iface_util_); in createStaIfaceInternal()
959 if (!callback->onIfaceAdded(IfaceType::STA, ifname).isOk()) { in createStaIfaceInternal()
976 const std::string& ifname) { in getStaIfaceInternal() argument
977 const auto iface = findUsingName(sta_ifaces_, ifname); in getStaIfaceInternal()
984 WifiStatus WifiChip::removeStaIfaceInternal(const std::string& ifname) { in removeStaIfaceInternal() argument
985 const auto iface = findUsingName(sta_ifaces_, ifname); in removeStaIfaceInternal()
990 invalidateAndRemoveDependencies(ifname); in removeStaIfaceInternal()
993 if (!callback->onIfaceRemoved(IfaceType::STA, ifname).isOk()) { in removeStaIfaceInternal()
1487 const auto ifname = getWlanIfaceName(idx); in allocateApOrStaIfaceName() local
1488 if (findUsingName(ap_ifaces_, ifname)) continue; in allocateApOrStaIfaceName()
1489 if (findUsingName(sta_ifaces_, ifname)) continue; in allocateApOrStaIfaceName()
1490 return ifname; in allocateApOrStaIfaceName()