Home
last modified time | relevance | path

Searched refs:NL80211NestedAttr (Results 1 – 12 of 12) 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 …]
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;
Dnetlink_utils.cpp409 NL80211NestedAttr bands_attr(0); in ParseBandInfo()
414 vector<NL80211NestedAttr> bands; in ParseBandInfo()
423 NL80211NestedAttr freqs_attr(0); in ParseBandInfo()
428 vector<NL80211NestedAttr> freqs; in ParseBandInfo()
501 NL80211NestedAttr sta_info(0); in GetStationInfo()
520 NL80211NestedAttr tx_bitrate_attr(0); in GetStationInfo()
530 NL80211NestedAttr rx_bitrate_attr(0); in GetStationInfo()
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()
684 NL80211NestedAttr ssids_attr(0); in OnScanResultsReady()
695 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.cpp124 NL80211NestedAttr GenerateBandsAttributeFor2g() { in GenerateBandsAttributeFor2g()
125 NL80211NestedAttr freq_2g_1(1); in GenerateBandsAttributeFor2g()
126 NL80211NestedAttr freq_2g_2(2); in GenerateBandsAttributeFor2g()
127 NL80211NestedAttr freq_2g_3(3); in GenerateBandsAttributeFor2g()
135 NL80211NestedAttr band_2g_freqs(NL80211_BAND_ATTR_FREQS); in GenerateBandsAttributeFor2g()
140 NL80211NestedAttr band_2g_attr(1); in GenerateBandsAttributeFor2g()
143 NL80211NestedAttr band_attr(NL80211_ATTR_WIPHY_BANDS); in GenerateBandsAttributeFor2g()
148 NL80211NestedAttr GenerateBandsAttributeFor5gAndDfs() { in GenerateBandsAttributeFor5gAndDfs()
149 NL80211NestedAttr freq_5g_1(4); in GenerateBandsAttributeFor5gAndDfs()
150 NL80211NestedAttr freq_5g_2(5); in GenerateBandsAttributeFor5gAndDfs()
[all …]
Dscan_utils_unittest.cpp380 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F()
394 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F()
408 NL80211NestedAttr bss(NL80211_ATTR_BSS); in TEST_F()
425 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()
298 NL80211NestedAttr ssids_attr(NL80211_ATTR_SCAN_SSIDS); in Scan()
302 NL80211NestedAttr freqs_attr(NL80211_ATTR_SCAN_FREQUENCIES); in Scan()
421 NL80211NestedAttr scan_ssids_attr(NL80211_ATTR_SCAN_SSIDS); in StartScheduledScan()
425 NL80211NestedAttr freqs_attr(NL80211_ATTR_SCAN_FREQUENCIES); in StartScheduledScan()
434 NL80211NestedAttr scan_match_attr(NL80211_ATTR_SCHED_SCAN_MATCH); in StartScheduledScan()
[all …]
Dscan_utils.h45 class NL80211NestedAttr; variable
158 const NL80211NestedAttr& bss,
188 bool GetBssTimestamp(const NL80211NestedAttr& bss,
191 const NL80211NestedAttr& bss,