Searched refs:if_mac_addr (Results 1 – 2 of 2) sorted by relevance
/system/connectivity/wificond/tests/ |
D | netlink_utils_unittest.cpp | 447 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() local 448 NL80211Attr<std::array<uint8_t, ETH_ALEN>> if_mac_attr(NL80211_ATTR_MAC, if_mac_addr); in TEST_F() 463 EXPECT_EQ(if_mac_addr, interfaces[0].mac_address); in TEST_F() 487 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() local 489 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr)); in TEST_F() 503 EXPECT_EQ(if_mac_addr, interfaces[0].mac_address); in TEST_F() 519 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() local 521 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr)); in TEST_F() 559 EXPECT_EQ(if_mac_addr, interfaces[1].mac_address); in TEST_F()
|
/system/connectivity/wificond/net/ |
D | netlink_utils.cpp | 255 array<uint8_t, ETH_ALEN> if_mac_addr; in GetInterfaces() local 256 if (!packet->GetAttributeValue(NL80211_ATTR_MAC, &if_mac_addr)) { in GetInterfaces() 261 interface_info->emplace_back(if_index, wiphy_index, if_name, if_mac_addr); in GetInterfaces()
|