Home
last modified time | relevance | path

Searched refs:wiphy_index (Results 1 – 12 of 12) sorted by relevance

/system/connectivity/wificond/tests/
Dmock_netlink_utils.h34 MOCK_METHOD1(UnsubscribeRegDomainChange, void(uint32_t wiphy_index));
42 void(uint32_t wiphy_index,
49 bool(uint32_t wiphy_index,
52 bool(uint32_t wiphy_index,
Dnetlink_utils_unittest.cpp238 uint32_t wiphy_index; in TEST_F() local
239 EXPECT_TRUE(netlink_utils_->GetWiphyIndex(&wiphy_index)); in TEST_F()
240 EXPECT_EQ(kFakeWiphyIndex, wiphy_index); in TEST_F()
250 uint32_t wiphy_index; in TEST_F() local
251 EXPECT_FALSE(netlink_utils_->GetWiphyIndex(&wiphy_index)); in TEST_F()
Dserver_unittest.cpp67 uint32_t wiphy_index, in MockGetInterfacesResponse() argument
/system/connectivity/wificond/net/
Dnetlink_utils.cpp93 bool NetlinkUtils::GetInterfaces(uint32_t wiphy_index, in GetInterfaces() argument
103 NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, wiphy_index)); in GetInterfaces()
196 uint32_t wiphy_index, in GetWiphyInfo() argument
205 get_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, wiphy_index)); in GetWiphyInfo()
408 uint32_t wiphy_index, in SubscribeRegDomainChange() argument
410 netlink_manager_->SubscribeRegDomainChange(wiphy_index, handler); in SubscribeRegDomainChange()
413 void NetlinkUtils::UnsubscribeRegDomainChange(uint32_t wiphy_index) { in UnsubscribeRegDomainChange() argument
414 netlink_manager_->UnsubscribeRegDomainChange(wiphy_index); in UnsubscribeRegDomainChange()
Dnetlink_utils.h161 virtual bool GetInterfaces(uint32_t wiphy_index,
173 virtual bool GetWiphyInfo(uint32_t wiphy_index,
203 virtual void SubscribeRegDomainChange(uint32_t wiphy_index,
208 virtual void UnsubscribeRegDomainChange(uint32_t wiphy_index);
Dnetlink_manager.cpp531 uint32_t wiphy_index; in OnRegChangeEvent() local
532 if (!packet->GetAttributeValue(NL80211_ATTR_WIPHY, &wiphy_index)) { in OnRegChangeEvent()
566 const auto handler = on_reg_domain_changed_handler_.find(wiphy_index); in OnRegChangeEvent()
569 << "with index: " << wiphy_index; in OnRegChangeEvent()
699 uint32_t wiphy_index, in SubscribeRegDomainChange() argument
701 on_reg_domain_changed_handler_[wiphy_index] = handler; in SubscribeRegDomainChange()
704 void NetlinkManager::UnsubscribeRegDomainChange(uint32_t wiphy_index) { in UnsubscribeRegDomainChange() argument
705 on_reg_domain_changed_handler_.erase(wiphy_index); in UnsubscribeRegDomainChange()
Dnetlink_manager.h213 virtual void SubscribeRegDomainChange(uint32_t wiphy_index,
218 virtual void UnsubscribeRegDomainChange(uint32_t wiphy_index);
/system/connectivity/wificond/
Dclient_interface_impl.cpp104 uint32_t wiphy_index, in ClientInterfaceImpl() argument
112 : wiphy_index_(wiphy_index), in ClientInterfaceImpl()
135 scanner_ = new ScannerImpl(wiphy_index, in ClientInterfaceImpl()
Dserver.cpp207 uint32_t wiphy_index; in MarkDownAllInterfaces() local
209 if (netlink_utils_->GetWiphyIndex(&wiphy_index) && in MarkDownAllInterfaces()
210 netlink_utils_->GetInterfaces(wiphy_index, &interfaces)) { in MarkDownAllInterfaces()
Dclient_interface_impl.h63 uint32_t wiphy_index,
/system/connectivity/wificond/scanning/
Dscanner_impl.h41 ScannerImpl(uint32_t wiphy_index, uint32_t interface_index,
Dscanner_impl.cpp49 ScannerImpl::ScannerImpl(uint32_t wiphy_index, uint32_t interface_index, in ScannerImpl() argument
61 wiphy_index_(wiphy_index), in ScannerImpl()