Home
last modified time | relevance | path

Searched refs:NL80211NestedAttr (Results 1 – 13 of 13) sorted by relevance

/system/connectivity/wificond/net/
Dnl80211_attribute.cpp172 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 …]
Dnetlink_utils.h306 void ParseIfTypeDataAttributes(const NL80211NestedAttr& iftype_data_attr,
308 void ParseHtVhtPhyCapabilities(const NL80211NestedAttr& band,
310 void ParseHtMcsSetAttribute(const NL80211NestedAttr& band,
312 void ParseVhtMcsSetAttribute(const NL80211NestedAttr& band,
314 void ParseHeMcsSetAttribute(const NL80211NestedAttr& attribute,
319 void ParseVhtCapAttribute(const NL80211NestedAttr& band,
321 void ParseHeCapPhyAttribute(const NL80211NestedAttr& attribute,
330 void handleBandFreqAttributes(const NL80211NestedAttr& freqs_attr,
Dnetlink_utils.cpp430 NL80211NestedAttr bands_attr(0); in ParseBandInfo()
435 vector<NL80211NestedAttr> bands; in ParseBandInfo()
443 NL80211NestedAttr freqs_attr(0); in ParseBandInfo()
454 NL80211NestedAttr iftype_data_attr(0); in ParseBandInfo()
466 const NL80211NestedAttr& iftype_data_attr, in ParseIfTypeDataAttributes()
468 vector<NL80211NestedAttr> attrs; in ParseIfTypeDataAttributes()
473 NL80211NestedAttr attr = attrs[0]; in ParseIfTypeDataAttributes()
484 void NetlinkUtils::handleBandFreqAttributes(const NL80211NestedAttr& freqs_attr, in handleBandFreqAttributes()
486 vector<NL80211NestedAttr> freqs; in handleBandFreqAttributes()
539 void NetlinkUtils::ParseHtVhtPhyCapabilities(const NL80211NestedAttr& band, in ParseHtVhtPhyCapabilities()
[all …]
Dnl80211_attribute.h155 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;
Dnl80211_packet.h117 bool GetAttribute(int id, NL80211NestedAttr* attribute) const;
Dnl80211_packet.cpp200 NL80211NestedAttr* attribute) const { in GetAttribute()
211 *attribute = NL80211NestedAttr(vector<uint8_t>(start, end)); in GetAttribute()
Dnetlink_manager.cpp195 NL80211NestedAttr multicast_groups(0); in OnNewFamily()
197 vector<NL80211NestedAttr> groups; in OnNewFamily()
685 NL80211NestedAttr ssids_attr(0); in OnScanResultsReady()
696 NL80211NestedAttr freqs_attr(0); in OnScanResultsReady()
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp150 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 …]
Dnetlink_utils_unittest.cpp162 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 …]
Dscan_utils_unittest.cpp383 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()
Dnl80211_packet_unittest.cpp157 NL80211NestedAttr nested_attr(1); in TEST()
252 NL80211NestedAttr nested(0); in TEST()
274 NL80211NestedAttr nested(0); in TEST()
/system/connectivity/wificond/scanning/
Dscan_utils.cpp138 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()
299 NL80211NestedAttr ssids_attr(NL80211_ATTR_SCAN_SSIDS); in Scan()
303 NL80211NestedAttr freqs_attr(NL80211_ATTR_SCAN_FREQUENCIES); in Scan()
427 NL80211NestedAttr scan_ssids_attr(NL80211_ATTR_SCAN_SSIDS); in StartScheduledScan()
431 NL80211NestedAttr freqs_attr(NL80211_ATTR_SCAN_FREQUENCIES); in StartScheduledScan()
440 NL80211NestedAttr scan_match_attr(NL80211_ATTR_SCHED_SCAN_MATCH); in StartScheduledScan()
[all …]
Dscan_utils.h43 class NL80211NestedAttr; variable
159 const NL80211NestedAttr& bss,
189 bool GetBssTimestamp(const NL80211NestedAttr& bss,
192 const NL80211NestedAttr& bss,