Home | History | Annotate | Download | only in wifi_hal

Lines Matching refs:results

1065     ALOGD("%s: Number of cached results = %d.", __func__, numResults);
1068 /* Get the GSCAN cached scan results. */
1071 wifi_scan_result *results,
1075 wifi_scan_result *result = results;
1086 if (results == NULL) {
1087 ALOGE("%s: NULL results pointer provided. Exit.",
1097 ALOGE("Getting GScan Cached Results, halHandle = %p", wifiHandle);
1162 /* Read more data flag and number of results of retrieved cached results
1164 * If more data is 0 or numResults >= max, return with results populated.
1165 * Otherwise, loop in 4s wait for next results fragment(s).
1170 results);
1180 * cached results to the list.
1185 results);
1208 ((u8 *)&results[i] + sizeof(wifi_scan_result) +
1432 /* Called to parse and extract cached results. */
1434 wifi_scan_result *results,
1466 results[i].ts =
1483 sizeof(results->ssid) <= len ? sizeof(results->ssid) : len;
1484 memcpy((void *)&results[i].ssid,
1499 sizeof(results->bssid) <= len ? sizeof(results->bssid) : len;
1500 memcpy(&results[i].bssid,
1512 results[i].channel =
1524 results[i].rssi =
1536 results[i].rtt =
1548 results[i].rtt_sd =
1552 ALOGE("gscan_get_cached_results: ts %lld ", results[i].ts);
1553 ALOGE("gscan_get_cached_results: SSID %s ", results[i].ssid);
1556 results[i].bssid[0], results[i].bssid[1], results[i].bssid[2],
1557 results[i].bssid[3], results[i].bssid[4], results[i].bssid[5]);
1558 ALOGE("gscan_get_cached_results: channel %d ", results[i].channel);
1559 ALOGE("gscan_get_cached_results: rssi %d ", results[i].rssi);
1560 ALOGE("gscan_get_cached_results: rtt %lld ", results[i].rtt);
1561 ALOGE("gscan_get_cached_results: rtt_sd %lld ", results[i].rtt_sd);
1820 ALOGE("%s: number of results:%d", __func__,
1836 /* Check if this chunck of cached scan results is a continuation of
1837 * a previous one, i.e., a new results fragment.
1840 mGetCachedResultsRspParams->results = (wifi_scan_result *)
1841 realloc (mGetCachedResultsRspParams->results,
1844 mGetCachedResultsRspParams->results = (wifi_scan_result *)
1848 ALOGE("%s: Total num of cached results received: %d. \n",
1851 if (!mGetCachedResultsRspParams->results) {
1852 ALOGE("%s: Failed to alloc memory for results array. Exit.\n",
1858 ALOGD("(u8 *)mGetCachedResultsRspParams->results : %p "
1860 (u8 *)mGetCachedResultsRspParams->results,
1863 memset((u8 *)mGetCachedResultsRspParams->results +
1869 * MORE_DTATA flag and cache results until MORE_DATA = 0.
1888 ALOGD("%s: Extract cached results received.\n", __func__);
1894 mGetCachedResultsRspParams->results,
1901 /* Send the results if no more result data fragments are expected. */
2027 mGetCachedResultsRspParams->results = NULL;
2085 if (mGetCachedResultsRspParams->results) {
2086 free(mGetCachedResultsRspParams->results);
2087 mGetCachedResultsRspParams->results = NULL;
2103 wifi_scan_result *results)
2107 if (mGetCachedResultsRspParams && results)
2112 memcpy(results,
2113 mGetCachedResultsRspParams->results,