Home
last modified time | relevance | path

Searched refs:scanResult (Results 1 – 9 of 9) sorted by relevance

/drivers/peripheral/wlan/test/hdi_service/
Dwlan_callback_impl.c59 const struct HdfWifiScanResult *scanResult, const char *ifName) in WlanCallbackScanResult() argument
62 if (scanResult == NULL || ifName == NULL) { in WlanCallbackScanResult()
67 scanResult->flags, scanResult->caps, scanResult->freq, scanResult->beaconInt); in WlanCallbackScanResult()
68 …HdiProcessScanResult: qual=%{public}d, beaconIeLen=%{public}d, level=%{public}d", scanResult->qual, in WlanCallbackScanResult()
69 scanResult->beaconIeLen, scanResult->level); in WlanCallbackScanResult()
70 …HDF_LOGE("HdiProcessScanResult: age=%{public}d, ieLen=%{public}d", scanResult->age, scanResult->ie… in WlanCallbackScanResult()
71 PrintSsid(scanResult->ie, scanResult->ieLen); in WlanCallbackScanResult()
86 struct HdfWifiScanResultExt *scanResult = &scanResults->res[i]; in WlanCallbackScanResults() local
88 scanResult->flags, scanResult->caps, scanResult->freq, scanResult->beaconInt); in WlanCallbackScanResults()
89 …HdiProcessScanResult: qual=%{public}d, beaconIeLen=%{public}d, level=%{public}d", scanResult->qual, in WlanCallbackScanResults()
[all …]
/drivers/peripheral/wlan/client/src/netlink/
Dnetlink_event_adapter.c141 static int32_t GetNlaDataScanResult(struct nlattr *attr[], int len, WifiScanResult *scanResult) in GetNlaDataScanResult() argument
150 scanResult->ieLen = (uint32_t)nla_len(attr[NL80211_BSS_INFORMATION_ELEMENTS]); in GetNlaDataScanResult()
151 if (ie != NULL && scanResult->ieLen != 0) { in GetNlaDataScanResult()
152 scanResult->ie = OsalMemCalloc(scanResult->ieLen); in GetNlaDataScanResult()
153 …if (scanResult->ie == NULL || memcpy_s(scanResult->ie, scanResult->ieLen, ie, scanResult->ieLen) !… in GetNlaDataScanResult()
161 scanResult->beaconIeLen = (uint32_t)nla_len(attr[NL80211_BSS_INFORMATION_ELEMENTS]); in GetNlaDataScanResult()
162 if (beaconIe != NULL && scanResult->beaconIeLen != 0) { in GetNlaDataScanResult()
163 scanResult->beaconIe = OsalMemCalloc(scanResult->beaconIeLen); in GetNlaDataScanResult()
164 if (scanResult->beaconIe == NULL || in GetNlaDataScanResult()
165 …memcpy_s(scanResult->beaconIe, scanResult->beaconIeLen, beaconIe, scanResult->beaconIeLen) != EOK)… in GetNlaDataScanResult()
[all …]
/drivers/peripheral/wlan/client/src/sbuf/
Dsbuf_event_adapter.c164 WifiScanResult scanResult = { 0 }; in WifiEventScanResultProcess() local
167 if (!HdfSbufReadUint16(reqData, &(scanResult.beaconInt))) { in WifiEventScanResultProcess()
171 if (!HdfSbufReadUint16(reqData, &(scanResult.caps))) { in WifiEventScanResultProcess()
175 if (!HdfSbufReadInt32(reqData, &(scanResult.level))) { in WifiEventScanResultProcess()
179 scanResult.level /= SIGNAL_LEVEL_CONFFICIENT; /* mBm to dBm */ in WifiEventScanResultProcess()
180 if (!HdfSbufReadUint32(reqData, &(scanResult.freq))) { in WifiEventScanResultProcess()
184 if (!HdfSbufReadUint32(reqData, &(scanResult.flags))) { in WifiEventScanResultProcess()
188 …if ((!HdfSbufReadBuffer(reqData, (const void **)(&(scanResult.bssid)), &len)) || len != ETH_ADDR_L… in WifiEventScanResultProcess()
192 if (!HdfSbufReadBuffer(reqData, (const void **)(&(scanResult.ie)), &(scanResult.ieLen))) { in WifiEventScanResultProcess()
196 …if (!HdfSbufReadBuffer(reqData, (const void **)(&(scanResult.beaconIe)), &(scanResult.beaconIeLen)… in WifiEventScanResultProcess()
[all …]
/drivers/peripheral/wlan/hdi_service/service_common/
Dwlan_common_cmd.c532 …nt32_t WlanFillScanResultInfo(WifiScanResult *wifiScanResult, struct HdfWifiScanResult *scanResult) in WlanFillScanResultInfo() argument
535 if (wifiScanResult == NULL || scanResult == NULL) { in WlanFillScanResultInfo()
539 scanResult->flags = wifiScanResult->flags; in WlanFillScanResultInfo()
540 scanResult->caps = wifiScanResult->caps; in WlanFillScanResultInfo()
541 scanResult->freq = wifiScanResult->freq; in WlanFillScanResultInfo()
542 scanResult->beaconInt = wifiScanResult->beaconInt; in WlanFillScanResultInfo()
543 scanResult->qual = wifiScanResult->qual; in WlanFillScanResultInfo()
544 scanResult->level = wifiScanResult->level; in WlanFillScanResultInfo()
545 scanResult->age = wifiScanResult->age; in WlanFillScanResultInfo()
548 …FillData(&scanResult->bssid, &scanResult->bssidLen, wifiScanResult->bssid, ETH_ADDR_LEN) != HDF_SU… in WlanFillScanResultInfo()
[all …]
/drivers/interface/wlan/v1_0/
DIWlanCallback.idl75 * @param scanResult Indicates the scan result.
81 … ScanResult([in] unsigned int event, [in] struct HdfWifiScanResult scanResult, [in] String ifName);
/drivers/interface/wlan/v1_1/
DIWlanCallback.idl75 * @param scanResult Indicates the scan result.
81 … ScanResult([in] unsigned int event, [in] struct HdfWifiScanResult scanResult, [in] String ifName);
/drivers/peripheral/wlan/test/unittest/hal/
Dwifi_hal_test.cpp112 static void ParseScanResult(WifiScanResult *scanResult) in ParseScanResult() argument
114 …ParseScanResult: flags=%d, caps=%d, freq=%d, beaconInt=%d,\n", scanResult->flags, scanResult->caps, in ParseScanResult()
115 scanResult->freq, scanResult->beaconInt); in ParseScanResult()
116 …printf("ParseScanResult: qual=%d, beaconIeLen=%d, level=%d, age=%d, ieLen=%d,\n", scanResult->qual, in ParseScanResult()
117 scanResult->beaconIeLen, scanResult->level, scanResult->age, scanResult->ieLen); in ParseScanResult()
118 PrintSsid(scanResult->ie, scanResult->ieLen); in ParseScanResult()
126 ParseScanResult(&scanResults->scanResult[i]); in ParseScanResults()
/drivers/peripheral/wlan/client/src/
Dwifi_driver_client.c204 FreeScanResult(&res->scanResult[i]); in FreeScanResults()
/drivers/peripheral/wlan/client/include/
Dwifi_driver_client.h157 WifiScanResult scanResult[MAX_SCAN_RES_NUM]; member