Home
last modified time | relevance | path

Searched refs:scanResults (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/wlan/client/src/netlink/
H A Dnetlink_event_adapter.c64 WifiScanResults *scanResults; member
214 WifiScanResults *scanResults = NULL; in WifiGetScanResultHandler() local
229 if (handlerArg == NULL || handlerArg->scanResults == NULL || handlerArg->ifName == NULL) { in WifiGetScanResultHandler()
233 scanResults = handlerArg->scanResults; in WifiGetScanResultHandler()
234 scanResult = &scanResults->scanResult[scanResults->num]; in WifiGetScanResultHandler()
250 __LINE__, scanResults->num, scanResults->scanResultCapacity); in WifiGetScanResultHandler()
251 scanResults in WifiGetScanResultHandler()
277 WifiScanResults scanResults = {0}; WifiEventScanResultProcess() local
306 WifiScanResults scanResults = {0}; WifiEventScanAbortedProcess() local
[all...]
/drivers/peripheral/wlan/test/hdi_service/
H A Dwlan_callback_impl.c76 const struct HdfWifiScanResults *scanResults, const char *ifName) in WlanCallbackScanResults()
80 if (scanResults == NULL || ifName == NULL) { in WlanCallbackScanResults()
84 HDF_LOGI("%{public}s: Receive %u scan results!", __func__, scanResults->resLen); in WlanCallbackScanResults()
85 for (i = 0; i < scanResults->resLen; i++) { in WlanCallbackScanResults()
86 struct HdfWifiScanResultExt *scanResult = &scanResults->res[i]; in WlanCallbackScanResults()
75 WlanCallbackScanResults(struct IWlanCallback *self, uint32_t event, const struct HdfWifiScanResults *scanResults, const char *ifName) WlanCallbackScanResults() argument
/drivers/peripheral/wlan/client/src/
H A Dwifi_driver_client.c282 int32_t InitScanResults(WifiScanResults *scanResults) in InitScanResults() argument
285 if (scanResults == NULL) { in InitScanResults()
286 HDF_LOGE("%s: scanResults is NULL", __FUNCTION__); in InitScanResults()
289 scanResults->scanResultCapacity = INIT_SCAN_RES_NUM; in InitScanResults()
290 scanResults->num = 0; in InitScanResults()
291 scanResults->scanResult = (WifiScanResult *)OsalMemCalloc(sizeof(WifiScanResult) * scanResults->scanResultCapacity); in InitScanResults()
292 if (scanResults->scanResult == NULL) { in InitScanResults()
293 HDF_LOGE("%s: scanResults->scanResult is NULL", __FUNCTION__); in InitScanResults()
H A Dwifi_common_cmd.h185 int32_t InitScanResults(WifiScanResults *scanResults);
/drivers/peripheral/wlan/hdi_service/service_common/
H A Dwlan_common_cmd.c682 static int32_t WlanFillScanResultsInfo(WifiScanResults *wifiScanResults, struct HdfWifiScanResults *scanResults) in WlanFillScanResultsInfo() argument
685 if (wifiScanResults == NULL || scanResults == NULL) { in WlanFillScanResultsInfo()
686 HDF_LOGE("%{public}s: wifiScanResults or scanResults is NULL!", __func__); in WlanFillScanResultsInfo()
690 if (WlanFillScanResultInfoExt(&wifiScanResults->scanResult[i], &scanResults->res[i]) != HDF_SUCCESS) { in WlanFillScanResultsInfo()
694 scanResults->resLen = wifiScanResults->num; in WlanFillScanResultsInfo()
724 struct HdfWifiScanResults *scanResults = NULL; in ProcessEventScanResults() local
732 scanResults = (struct HdfWifiScanResults *)OsalMemCalloc(sizeof(struct HdfWifiScanResults)); in ProcessEventScanResults()
733 if (scanResults == NULL) { in ProcessEventScanResults()
734 HDF_LOGE("%{public}s: scanResults is NULL!", __func__); in ProcessEventScanResults()
738 scanResults in ProcessEventScanResults()
762 struct HdfWifiScanResults scanResults = {0}; ProcessEventScanAborted() local
[all...]
/drivers/peripheral/wlan/test/unittest/hal/
H A Dwifi_hal_test.cpp121 static void ParseScanResults(WifiScanResults *scanResults) in ParseScanResults() argument
124 printf("Receive %u scan results\n", scanResults->num); in ParseScanResults()
125 for (i = 0 ; i < scanResults->num; i++) { in ParseScanResults()
126 ParseScanResult(&scanResults->scanResult[i]); in ParseScanResults()

Completed in 7 milliseconds