/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 | 300 void ParseIfTypeDataAttributes(const NL80211NestedAttr& iftype_data_attr, 302 void ParseHtVhtPhyCapabilities(const NL80211NestedAttr& band, 304 void ParseHtMcsSetAttribute(const NL80211NestedAttr& band, 306 void ParseVhtMcsSetAttribute(const NL80211NestedAttr& band, 308 void ParseHeMcsSetAttribute(const NL80211NestedAttr& attribute, 313 void ParseVhtCapAttribute(const NL80211NestedAttr& band, 315 void ParseHeCapPhyAttribute(const NL80211NestedAttr& attribute, 324 void handleBandFreqAttributes(const NL80211NestedAttr& freqs_attr,
|
D | netlink_utils.cpp | 425 NL80211NestedAttr bands_attr(0); in ParseBandInfo() 430 vector<NL80211NestedAttr> bands; in ParseBandInfo() 438 NL80211NestedAttr freqs_attr(0); in ParseBandInfo() 449 NL80211NestedAttr iftype_data_attr(0); in ParseBandInfo() 461 const NL80211NestedAttr& iftype_data_attr, in ParseIfTypeDataAttributes() 463 vector<NL80211NestedAttr> attrs; in ParseIfTypeDataAttributes() 468 NL80211NestedAttr attr = attrs[0]; in ParseIfTypeDataAttributes() 479 void NetlinkUtils::handleBandFreqAttributes(const NL80211NestedAttr& freqs_attr, in handleBandFreqAttributes() 481 vector<NL80211NestedAttr> freqs; in handleBandFreqAttributes() 531 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 | 195 NL80211NestedAttr multicast_groups(0); in OnNewFamily() 197 vector<NL80211NestedAttr> groups; in OnNewFamily() 684 NL80211NestedAttr ssids_attr(0); in OnScanResultsReady() 695 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 | 381 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F() 395 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F() 409 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F() 426 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() 298 NL80211NestedAttr ssids_attr(NL80211_ATTR_SCAN_SSIDS); in Scan() 302 NL80211NestedAttr freqs_attr(NL80211_ATTR_SCAN_FREQUENCIES); in Scan() 422 NL80211NestedAttr scan_ssids_attr(NL80211_ATTR_SCAN_SSIDS); in StartScheduledScan() 426 NL80211NestedAttr freqs_attr(NL80211_ATTR_SCAN_FREQUENCIES); in StartScheduledScan() 435 NL80211NestedAttr scan_match_attr(NL80211_ATTR_SCHED_SCAN_MATCH); in StartScheduledScan() [all …]
|
D | scan_utils.h | 43 class NL80211NestedAttr; variable 157 const NL80211NestedAttr& bss, 187 bool GetBssTimestamp(const NL80211NestedAttr& bss, 190 const NL80211NestedAttr& bss,
|