Home
last modified time | relevance | path

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

/system/connectivity/wificond/
Dserver.cpp128 uint32_t wiphy_index; in createApInterface() local
130 if (!SetupInterface(iface_name, &interface, &wiphy_index)) { in createApInterface()
134 LOG(INFO) << "createApInterface: wiphy_index " << wiphy_index << " iface_name " << iface_name; in createApInterface()
144 if (hasNoIfaceForWiphyIndex(wiphy_index)) { in createApInterface()
145 UpdateBandWiphyIndexMap(wiphy_index); in createApInterface()
147 LOG(INFO) << "Band info for wiphy_index " << wiphy_index << " already available"; in createApInterface()
149 iface_to_wiphy_index_map_[iface_name] = wiphy_index; in createApInterface()
165 int wiphy_index = iter_wi->second; in tearDownApInterface() local
168 if (hasNoIfaceForWiphyIndex(wiphy_index)) { in tearDownApInterface()
169 EraseBandWiphyIndexMap(wiphy_index); in tearDownApInterface()
[all …]
Dserver.h121 uint32_t *wiphy_index);
122 void LogSupportedBands(uint32_t wiphy_index);
123 void OnRegDomainChanged(uint32_t wiphy_index, std::string& country_code);
136 bool GetBandInfo(int wiphy_index, BandInfo* band_info);
138 void UpdateBandWiphyIndexMap(int wiphy_index);
139 void EraseBandWiphyIndexMap(int wiphy_index);
140 bool hasNoIfaceForWiphyIndex(int wiphy_index);
Dclient_interface_impl.cpp101 uint32_t wiphy_index, in ClientInterfaceImpl() argument
108 : wiphy_index_(wiphy_index), in ClientInterfaceImpl()
Dclient_interface_impl.h65 uint32_t wiphy_index,
/system/connectivity/wificond/tests/
Dmock_netlink_utils.h36 MOCK_METHOD1(UnsubscribeRegDomainChange, void(uint32_t wiphy_index));
48 void(uint32_t wiphy_index,
61 bool(uint32_t wiphy_index,
64 bool(uint32_t wiphy_index,
67 bool(uint32_t wiphy_index,
Dnetlink_utils_unittest.cpp396 uint32_t wiphy_index; in TEST_F() local
397 EXPECT_TRUE(netlink_utils_->GetWiphyIndex(&wiphy_index)); in TEST_F()
398 EXPECT_EQ(kFakeWiphyIndex, wiphy_index); in TEST_F()
408 uint32_t wiphy_index; in TEST_F() local
409 EXPECT_FALSE(netlink_utils_->GetWiphyIndex(&wiphy_index)); in TEST_F()
461 EXPECT_EQ(kFakeWiphyIndex, interfaces[0].wiphy_index); in TEST_F()
501 EXPECT_EQ(kFakeWiphyIndex, interfaces[0].wiphy_index); in TEST_F()
552 EXPECT_EQ(kFakeWiphyIndex, interfaces[0].wiphy_index); in TEST_F()
557 EXPECT_EQ(kFakeWiphyIndex, interfaces[1].wiphy_index); in TEST_F()
Dserver_unittest.cpp71 uint32_t wiphy_index, in MockGetInterfacesResponse() argument
90 uint32_t wiphy_index, in SetUp()
99 uint32_t wiphy_index, in SetUp() argument
Dclient_interface_impl_unittest.cpp68 .WillOnce([wiphy_features](uint32_t wiphy_index, BandInfo* out_band_info, in SetUp()
/system/connectivity/wificond/net/
Dnetlink_utils.h39 uint32_t wiphy_index, in InterfaceInfo()
43 wiphy_index(wiphy_index), in InterfaceInfo()
49 uint32_t wiphy_index; member
212 virtual bool GetInterfaces(uint32_t wiphy_index,
224 virtual bool GetWiphyInfo(uint32_t wiphy_index,
264 virtual void SubscribeRegDomainChange(uint32_t wiphy_index,
269 virtual void UnsubscribeRegDomainChange(uint32_t wiphy_index);
Dnetlink_utils.cpp196 bool NetlinkUtils::GetInterfaces(uint32_t wiphy_index, in GetInterfaces() argument
206 NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, wiphy_index)); in GetInterfaces()
261 interface_info->emplace_back(if_index, wiphy_index, if_name, if_mac_addr); in GetInterfaces()
318 uint32_t wiphy_index, in GetWiphyInfo() argument
327 get_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, wiphy_index)); in GetWiphyInfo()
361 current_wiphy_index != wiphy_index) { in GetWiphyInfo()
811 uint32_t wiphy_index; in MergePacketsForSplitWiphyDump() local
812 if (!packet->GetAttributeValue(NL80211_ATTR_WIPHY, &wiphy_index)) { in MergePacketsForSplitWiphyDump()
826 attr_by_wiphy_and_id[wiphy_index].find(attr_id); in MergePacketsForSplitWiphyDump()
827 if (attr_id_and_attr == attr_by_wiphy_and_id[wiphy_index].end()) { in MergePacketsForSplitWiphyDump()
[all …]
Dnetlink_manager.h89 uint32_t wiphy_index, std::string& country_code)> OnRegDomainChangedHandler;
242 virtual void SubscribeRegDomainChange(uint32_t wiphy_index,
247 virtual void UnsubscribeRegDomainChange(uint32_t wiphy_index);
Dnetlink_manager.cpp816 uint32_t wiphy_index, in SubscribeRegDomainChange() argument
818 on_reg_domain_changed_handler_[wiphy_index] = handler; in SubscribeRegDomainChange()
821 void NetlinkManager::UnsubscribeRegDomainChange(uint32_t wiphy_index) { in UnsubscribeRegDomainChange() argument
822 on_reg_domain_changed_handler_.erase(wiphy_index); in UnsubscribeRegDomainChange()