Lines Matching refs:NL80211Attr
116 packet->AddAttribute(NL80211Attr<uint8_t>(NL80211_ATTR_MAX_NUM_SCAN_SSIDS, in AppendScanCapabilitiesAttributes()
118 packet->AddAttribute(NL80211Attr<uint8_t>( in AppendScanCapabilitiesAttributes()
121 packet->AddAttribute(NL80211Attr<uint8_t>(NL80211_ATTR_MAX_MATCH_SETS, in AppendScanCapabilitiesAttributes()
124 packet->AddAttribute(NL80211Attr<uint32_t>( in AppendScanCapabilitiesAttributes()
127 packet->AddAttribute(NL80211Attr<uint32_t>( in AppendScanCapabilitiesAttributes()
130 packet->AddAttribute(NL80211Attr<uint32_t>( in AppendScanCapabilitiesAttributes()
137 NL80211Attr<std::vector<uint8_t>> GenerateBandsAttributeForHtCapa() { in GenerateBandsAttributeForHtCapa()
139 return NL80211Attr<std::vector<uint8_t>>(NL80211_BAND_ATTR_HT_CAPA, in GenerateBandsAttributeForHtCapa()
144 NL80211Attr<std::vector<uint8_t>> GenerateBandsAttributeForVhtCapa() { in GenerateBandsAttributeForVhtCapa()
146 return NL80211Attr<std::vector<uint8_t>>(NL80211_BAND_ATTR_VHT_CAPA, in GenerateBandsAttributeForVhtCapa()
150 NL80211Attr<std::vector<uint8_t>> GenerateBandsAttributeForHtMcsSet() { in GenerateBandsAttributeForHtMcsSet()
152 return NL80211Attr<std::vector<uint8_t>>(NL80211_BAND_ATTR_HT_MCS_SET, in GenerateBandsAttributeForHtMcsSet()
156 NL80211Attr<std::vector<uint8_t>> GenerateBandsAttributeForVhtMcsSet() { in GenerateBandsAttributeForVhtMcsSet()
158 return NL80211Attr<std::vector<uint8_t>>(NL80211_BAND_ATTR_VHT_MCS_SET, in GenerateBandsAttributeForVhtMcsSet()
169 if_type_data1.AddAttribute(NL80211Attr<std::vector<uint8_t>>( in GenerateBandsAttributeForIfTypeData()
171 if_type_data1.AddAttribute(NL80211Attr<std::vector<uint8_t>>( in GenerateBandsAttributeForIfTypeData()
190 freq_2g_1.AddAttribute(NL80211Attr<uint32_t>(NL80211_FREQUENCY_ATTR_FREQ, in GenerateBandsAttributeFor2g()
192 freq_2g_2.AddAttribute(NL80211Attr<uint32_t>(NL80211_FREQUENCY_ATTR_FREQ, in GenerateBandsAttributeFor2g()
194 freq_2g_3.AddAttribute(NL80211Attr<uint32_t>(NL80211_FREQUENCY_ATTR_FREQ, in GenerateBandsAttributeFor2g()
216 freq_5g_1.AddAttribute(NL80211Attr<uint32_t>(NL80211_FREQUENCY_ATTR_FREQ, in GenerateBandsAttributeFor5gAndDfs()
218 freq_5g_2.AddAttribute(NL80211Attr<uint32_t>(NL80211_FREQUENCY_ATTR_FREQ, in GenerateBandsAttributeFor5gAndDfs()
225 freq_5g_3.AddAttribute(NL80211Attr<uint32_t>(NL80211_FREQUENCY_ATTR_FREQ, in GenerateBandsAttributeFor5gAndDfs()
229 freq_dfs_1.AddAttribute(NL80211Attr<uint32_t>(NL80211_FREQUENCY_ATTR_FREQ, in GenerateBandsAttributeFor5gAndDfs()
231 freq_dfs_1.AddAttribute(NL80211Attr<uint32_t>( in GenerateBandsAttributeFor5gAndDfs()
267 NL80211Attr<uint32_t>(NL80211_ATTR_FEATURE_FLAGS, wiphy_features)); in AppendWiphyFeaturesAttributes()
299 NL80211Attr<std::vector<uint8_t>>(NL80211_ATTR_EXT_FEATURES, in AppendWiphyExtFeaturesAttributes()
388 NL80211Attr<uint32_t> wiphy_index_attr(NL80211_ATTR_WIPHY, kFakeWiphyIndex); in TEST_F()
441 NL80211Attr<string> if_name_attr(NL80211_ATTR_IFNAME, string(kFakeInterfaceName)); in TEST_F()
444 NL80211Attr<uint32_t> if_index_attr(NL80211_ATTR_IFINDEX, kFakeInterfaceIndex); in TEST_F()
448 NL80211Attr<std::array<uint8_t, ETH_ALEN>> if_mac_attr(NL80211_ATTR_MAC, if_mac_addr); in TEST_F()
474 psuedo_interface.AddAttribute(NL80211Attr<uint64_t>( in TEST_F()
483 expected_interface.AddAttribute(NL80211Attr<string>( in TEST_F()
485 expected_interface.AddAttribute(NL80211Attr<uint32_t>( in TEST_F()
489 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr)); in TEST_F()
513 NL80211Attr<string> if_name_attr(NL80211_ATTR_IFNAME, string(kFakeInterfaceName)); in TEST_F()
517 NL80211Attr<uint32_t>(NL80211_ATTR_IFINDEX, kFakeInterfaceIndex)); in TEST_F()
521 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr)); in TEST_F()
532 NL80211Attr<string>(NL80211_ATTR_IFNAME, "p2p0")); in TEST_F()
535 NL80211Attr<uint32_t>(NL80211_ATTR_IFINDEX, kFakeInterfaceIndex1)); in TEST_F()
539 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr_p2p)); in TEST_F()
580 new_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
612 new_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
645 new_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
678 new_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
711 new_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
744 new_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
777 new_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
807 new_wiphy_packet1.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
816 new_wiphy_packet2.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
829 new_wiphy_packet3.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_WIPHY, in TEST_F()
880 NL80211Attr<uint32_t>(NL80211_ATTR_PROTOCOL_FEATURES, in TEST_F()
913 NL80211Attr<string>(NL80211_ATTR_REG_ALPHA2, in TEST_F()
946 NL80211Attr<uint64_t>(NL80211_ATTR_COOKIE, kFakeCookie)); in TEST_F()