/system/connectivity/wificond/ |
D | server.cpp | 128 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 …]
|
D | server.h | 121 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);
|
D | client_interface_impl.cpp | 101 uint32_t wiphy_index, in ClientInterfaceImpl() argument 108 : wiphy_index_(wiphy_index), in ClientInterfaceImpl()
|
D | client_interface_impl.h | 65 uint32_t wiphy_index,
|
/system/connectivity/wificond/tests/ |
D | mock_netlink_utils.h | 36 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,
|
D | netlink_utils_unittest.cpp | 396 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()
|
D | server_unittest.cpp | 71 uint32_t wiphy_index, in MockGetInterfacesResponse() argument 90 uint32_t wiphy_index, in SetUp() 99 uint32_t wiphy_index, in SetUp() argument
|
D | client_interface_impl_unittest.cpp | 68 .WillOnce([wiphy_features](uint32_t wiphy_index, BandInfo* out_band_info, in SetUp()
|
/system/connectivity/wificond/net/ |
D | netlink_utils.h | 39 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);
|
D | netlink_utils.cpp | 196 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 …]
|
D | netlink_manager.h | 89 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);
|
D | netlink_manager.cpp | 816 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()
|