Home
last modified time | relevance | path

Searched refs:bssid (Results 1 – 21 of 21) sorted by relevance

/system/chre/util/nanoapp/
Dwifi.cc51 bool parseBssidToStr(const uint8_t bssid[CHRE_WIFI_BSSID_LEN], in parseBssidToStr()
59 snprintf(buffer, bufferLen, kFormat, bssid[0], bssid[1], bssid[2], in parseBssidToStr()
60 bssid[3], bssid[4], bssid[5]); in parseBssidToStr()
/system/chre/apps/wifi_offload/
Dutility.cc49 bool ParseBssidToStr(const uint8_t bssid[CHRE_WIFI_BSSID_LEN], char *bssid_str, in ParseBssidToStr()
57 std::snprintf(bssid_str, bssid_str_len, kFormat, bssid[0], bssid[1], bssid[2], in ParseBssidToStr()
58 bssid[3], bssid[4], bssid[5]); in ParseBssidToStr()
111 void LogBssid(const uint8_t *bssid) { in LogBssid() argument
114 if (ParseBssidToStr(bssid, bssidBuffer, kBssidStrLen)) { in LogBssid()
125 LogBssid(result.bssid); in LogChreScanResult()
Dscan_result.cc96 if (fbs_result.bssid() == nullptr || in Deserialize()
97 fbs_result.bssid()->size() != kBssidSize) { in Deserialize()
102 bssid_[i] = fbs_result.bssid()->Get(i); in Deserialize()
152 std::memcpy(bssid_, chre_scan_result.bssid, CHRE_WIFI_BSSID_LEN); in UpdateFromChreWifiScanResult()
/system/connectivity/wificond/tests/
Dscan_result_unittest.cpp56 array<uint8_t, ETH_ALEN> bssid = kFakeBssid; in TEST_F() local
64 NativeScanResult scan_result(ssid, bssid, ie, kFakeFrequency, in TEST_F()
76 EXPECT_EQ(bssid, scan_result_copy.bssid); in TEST_F()
Doffload_scan_utils_test.cpp63 EXPECT_EQ(native_scan_results[i].bssid.size(), in TEST_F()
64 dummy_scan_results_[i].bssid.elementCount()); in TEST_F()
Doffload_test_utils.cpp44 memcpy(&scanResult.bssid[0], &kBssid[0], kBssidSize); in createOffloadScanResults()
/system/connectivity/wificond/scanning/
Dscan_result.cpp46 bssid(bssid_), in NativeScanResult()
59 std::vector<uint8_t>(bssid.begin(), bssid.end()))); in writeToParcel()
88 std::copy_n(bssid_vec.begin(), ETH_ALEN, bssid.begin()); in readFromParcel()
125 << ::android::wificond::LoggingUtils::GetMacString(bssid); in DebugLog()
Dscan_result.h41 std::array<uint8_t, ETH_ALEN>& bssid,
57 std::array<uint8_t, ETH_ALEN> bssid; variable
Dscan_utils.cpp140 array<uint8_t, ETH_ALEN> bssid; in ParseScanResult() local
141 if (!bss.GetAttributeValue(NL80211_BSS_BSSID, &bssid)) { in ParseScanResult()
187 NativeScanResult(ssid, bssid, ie, freq, signal, in ParseScanResult()
/system/connectivity/wificond/scanning/offload/
Doffload_scan_utils.cpp45 for (size_t j = 0; j < scan_result[i].bssid.elementCount(); j++) { in convertToNativeScanResults()
46 single_scan_result.bssid.at(j) = scan_result[i].bssid[j]; in convertToNativeScanResults()
/system/connectivity/wificond/net/
Dmlme_event.cpp37 array<uint8_t, ETH_ALEN>* bssid) { in GetCommonFields() argument
43 if (!packet->GetAttributeValue(NL80211_ATTR_MAC, bssid)) { in GetCommonFields()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dutility.h43 void LogBssid(const uint8_t *bssid);
Dflatbuffers_types_generated.h150 const flatbuffers::Vector<uint8_t> *bssid() const { in bssid() function
165 verifier.Verify(bssid()) && in Verify()
182 void add_bssid(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> bssid) { in add_bssid()
183 fbb_.AddOffset(ScanResult::VT_BSSID, bssid); in add_bssid()
212 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> bssid = 0,
218 builder_.add_bssid(bssid);
228 uint8_t security_modes = 0, const std::vector<uint8_t> *bssid = nullptr,
233 bssid ? _fbb.CreateVector<uint8_t>(*bssid) : 0, capability,
Dflatbuffers_types.fbs41 bssid:[ubyte];
/system/chre/util/include/chre/util/nanoapp/
Dwifi.h51 bool parseBssidToStr(const uint8_t bssid[CHRE_WIFI_BSSID_LEN],
/system/chre/apps/wifi_offload/test/
Dscanresult_test.cc31 EXPECT_EQ(0, std::memcmp(chre_scan_result.bssid, nanoapp_scan_result.bssid_, in TEST()
Dutility.cc152 init(result.bssid, CHRE_WIFI_BSSID_LEN, rand_gen); in init()
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h433 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member
881 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h433 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member
885 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
/system/chre/chre_api/legacy/v1_1/chre/
Dwifi.h303 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member
/system/chre/apps/wifi_world/
Dwifi_world.cc97 if (chre::parseBssidToStr(result.bssid, bssidBuffer, sizeof(bssidBuffer))) { in logChreWifiResult()