/system/connectivity/wificond/net/ |
D | nl80211_attribute.cpp | 172 NL80211NestedAttr::NL80211NestedAttr(int id) { in NL80211NestedAttr() function in android::wificond::NL80211NestedAttr 176 NL80211NestedAttr::NL80211NestedAttr(const vector<uint8_t>& data) { in NL80211NestedAttr() function in android::wificond::NL80211NestedAttr 180 void NL80211NestedAttr::AddAttribute(const BaseNL80211Attr& attribute) { in AddAttribute() 190 void NL80211NestedAttr::AddFlagAttribute(int attribute_id) { in AddFlagAttribute() 202 bool NL80211NestedAttr::HasAttribute(int id) const { in HasAttribute() 208 bool NL80211NestedAttr::GetAttribute(int id, in GetAttribute() 209 NL80211NestedAttr* attribute) const { in GetAttribute() 219 *attribute = NL80211NestedAttr(vector<uint8_t>(start, end)); in GetAttribute() 226 bool NL80211NestedAttr::GetListOfNestedAttributes( in GetListOfNestedAttributes() 227 vector<NL80211NestedAttr>* value) const { in GetListOfNestedAttributes() [all …]
|
D | netlink_utils.h | 312 void ParseIfTypeDataAttributes(const NL80211NestedAttr& iftype_data_attr, 314 void ParseHtVhtPhyCapabilities(const NL80211NestedAttr& band, 316 void ParseHtMcsSetAttribute(const NL80211NestedAttr& band, 318 void ParseVhtMcsSetAttribute(const NL80211NestedAttr& band, 320 void ParseHeMcsSetAttribute(const NL80211NestedAttr& attribute, 325 void ParseVhtCapAttribute(const NL80211NestedAttr& band, 327 void ParseHeCapPhyAttribute(const NL80211NestedAttr& attribute, 329 void ParseEhtCapPhyAttribute(const NL80211NestedAttr& attribute, 338 void handleBandFreqAttributes(const NL80211NestedAttr& freqs_attr,
|
D | netlink_utils.cpp | 453 NL80211NestedAttr bands_attr(0); in ParseBandInfo() 458 vector<NL80211NestedAttr> bands; in ParseBandInfo() 466 NL80211NestedAttr freqs_attr(0); in ParseBandInfo() 477 NL80211NestedAttr iftype_data_attr(0); in ParseBandInfo() 489 const NL80211NestedAttr& iftype_data_attr, in ParseIfTypeDataAttributes() 491 vector<NL80211NestedAttr> attrs; in ParseIfTypeDataAttributes() 497 NL80211NestedAttr attr = attrs[0]; in ParseIfTypeDataAttributes() 512 void NetlinkUtils::handleBandFreqAttributes(const NL80211NestedAttr& freqs_attr, in handleBandFreqAttributes() 514 vector<NL80211NestedAttr> freqs; in handleBandFreqAttributes() 567 void NetlinkUtils::ParseHtVhtPhyCapabilities(const NL80211NestedAttr& band, in ParseHtVhtPhyCapabilities() [all …]
|
D | nl80211_attribute.h | 155 class NL80211NestedAttr : public BaseNL80211Attr { 157 explicit NL80211NestedAttr(int id); 158 explicit NL80211NestedAttr(const std::vector<uint8_t>& data); 159 ~NL80211NestedAttr() override = default; 172 bool GetAttribute(int id, NL80211NestedAttr* attribute) const; 261 bool GetListOfNestedAttributes(std::vector<NL80211NestedAttr>* value) const;
|
D | nl80211_packet.h | 117 bool GetAttribute(int id, NL80211NestedAttr* attribute) const;
|
D | nl80211_packet.cpp | 200 NL80211NestedAttr* attribute) const { in GetAttribute() 211 *attribute = NL80211NestedAttr(vector<uint8_t>(start, end)); in GetAttribute()
|
D | netlink_manager.cpp | 201 NL80211NestedAttr multicast_groups(0); in OnNewFamily() 203 vector<NL80211NestedAttr> groups; in OnNewFamily() 718 NL80211NestedAttr ssids_attr(0); in OnScanResultsReady() 729 NL80211NestedAttr freqs_attr(0); in OnScanResultsReady()
|
/system/connectivity/wificond/tests/ |
D | nl80211_attribute_unittest.cpp | 150 NL80211NestedAttr nested_attr(1); in TEST() 168 NL80211NestedAttr nested_attr(1); in TEST() 169 NL80211NestedAttr deeper_nested_attr(2); in TEST() 179 NL80211NestedAttr nested_attr(1); in TEST() 190 NL80211NestedAttr nested_attr(1); in TEST() 259 NL80211NestedAttr nested_attr(buffer); in TEST() 271 NL80211NestedAttr attr(buffer); in TEST() 287 std::vector<NL80211NestedAttr> nested_attrs; in TEST() 288 NL80211NestedAttr attr(buffer); in TEST() 326 NL80211NestedAttr nested_attr1(0); in TEST() [all …]
|
D | netlink_utils_unittest.cpp | 162 NL80211NestedAttr GenerateBandsAttributeForIfTypeData() { in GenerateBandsAttributeForIfTypeData() 163 NL80211NestedAttr if_type_data(NL80211_BAND_ATTR_IFTYPE_DATA); in GenerateBandsAttributeForIfTypeData() 165 NL80211NestedAttr if_type_data1(1); in GenerateBandsAttributeForIfTypeData() 177 void AppendBandPhyAttributes(NL80211NestedAttr* band_attr) { in AppendBandPhyAttributes() 186 NL80211NestedAttr GenerateBandsAttributeFor2g() { in GenerateBandsAttributeFor2g() 187 NL80211NestedAttr freq_2g_1(1); in GenerateBandsAttributeFor2g() 188 NL80211NestedAttr freq_2g_2(2); in GenerateBandsAttributeFor2g() 189 NL80211NestedAttr freq_2g_3(3); in GenerateBandsAttributeFor2g() 197 NL80211NestedAttr band_2g_freqs(NL80211_BAND_ATTR_FREQS); in GenerateBandsAttributeFor2g() 202 NL80211NestedAttr band_2g_attr(1); in GenerateBandsAttributeFor2g() [all …]
|
D | scan_utils_unittest.cpp | 383 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F() 397 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F() 411 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F() 428 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F()
|
D | nl80211_packet_unittest.cpp | 157 NL80211NestedAttr nested_attr(1); in TEST() 252 NL80211NestedAttr nested(0); in TEST() 274 NL80211NestedAttr nested(0); in TEST()
|
/system/connectivity/wificond/scanning/ |
D | scan_utils.cpp | 138 NL80211NestedAttr bss(0); in ParseScanResult() 195 const NL80211NestedAttr& bss, in GetBssTimestampForTesting() 200 bool ScanUtils::GetBssTimestamp(const NL80211NestedAttr& bss, in GetBssTimestamp() 223 const NL80211NestedAttr& bss, in ParseRadioChainInfos() 227 NL80211NestedAttr radio_chain_infos_attr(0); in ParseRadioChainInfos() 300 NL80211NestedAttr ssids_attr(NL80211_ATTR_SCAN_SSIDS); in Scan() 304 NL80211NestedAttr freqs_attr(NL80211_ATTR_SCAN_FREQUENCIES); in Scan() 434 NL80211NestedAttr scan_ssids_attr(NL80211_ATTR_SCAN_SSIDS); in StartScheduledScan() 438 NL80211NestedAttr freqs_attr(NL80211_ATTR_SCAN_FREQUENCIES); in StartScheduledScan() 447 NL80211NestedAttr scan_match_attr(NL80211_ATTR_SCHED_SCAN_MATCH); in StartScheduledScan() [all …]
|
D | scan_utils.h | 43 class NL80211NestedAttr; variable 161 const NL80211NestedAttr& bss, 191 bool GetBssTimestamp(const NL80211NestedAttr& bss, 194 const NL80211NestedAttr& bss,
|