Lines Matching refs:mGetCachedResultsRspParams
1356 mGetCachedResultsRspParams = NULL; in GScanCommand()
1565 if (!mGetCachedResultsRspParams) { in handleResponse()
1582 mGetCachedResultsRspParams->more_data = nla_get_u8( in handleResponse()
1603 mGetCachedResultsRspParams->more_data, firstScanIdInPatch, in handleResponse()
1604 mGetCachedResultsRspParams->lastProcessedScanId); in handleResponse()
1608 mGetCachedResultsRspParams->lastProcessedScanId) { in handleResponse()
1610 mGetCachedResultsRspParams->cachedResultsStartingIndex++; in handleResponse()
1614 mGetCachedResultsRspParams->cached_results, in handleResponse()
1819 u32 i = mGetCachedResultsRspParams->cachedResultsStartingIndex; in gscan_get_cached_results()
1826 nla_ok(scanResultsInfo, rem) && i < mGetCachedResultsRspParams->max; in gscan_get_cached_results()
1884 if (mGetCachedResultsRspParams->lastProcessedScanId != in gscan_get_cached_results()
1891 mGetCachedResultsRspParams->lastProcessedScanId, i, in gscan_get_cached_results()
1893 mGetCachedResultsRspParams->lastProcessedScanId = in gscan_get_cached_results()
1895 mGetCachedResultsRspParams->wifiScanResultsStartingIndex = 0; in gscan_get_cached_results()
1897 mGetCachedResultsRspParams->num_cached_results++; in gscan_get_cached_results()
1899 j = mGetCachedResultsRspParams->wifiScanResultsStartingIndex; in gscan_get_cached_results()
1903 mGetCachedResultsRspParams->lastProcessedScanId, i, in gscan_get_cached_results()
2059 mGetCachedResultsRspParams->wifiScanResultsStartingIndex = j; in gscan_get_cached_results()
2079 if (mGetCachedResultsRspParams->num_cached_results) in gscan_get_cached_results()
2080 mGetCachedResultsRspParams->cachedResultsStartingIndex = in gscan_get_cached_results()
2081 mGetCachedResultsRspParams->num_cached_results - 1; in gscan_get_cached_results()
2608 mGetCachedResultsRspParams->cached_results = in allocCachedResultsTemp()
2611 if (!mGetCachedResultsRspParams->cached_results) { in allocCachedResultsTemp()
2617 memset(mGetCachedResultsRspParams->cached_results, 0, in allocCachedResultsTemp()
2620 mGetCachedResultsRspParams->max = max; in allocCachedResultsTemp()
2644 mGetCachedResultsRspParams = (GScanGetCachedResultsRspParams *) in allocRspParams()
2646 if (!mGetCachedResultsRspParams) in allocRspParams()
2649 mGetCachedResultsRspParams->num_cached_results = 0; in allocRspParams()
2650 mGetCachedResultsRspParams->more_data = false; in allocRspParams()
2651 mGetCachedResultsRspParams->cachedResultsStartingIndex = -1; in allocRspParams()
2652 mGetCachedResultsRspParams->lastProcessedScanId = -1; in allocRspParams()
2653 mGetCachedResultsRspParams->wifiScanResultsStartingIndex = -1; in allocRspParams()
2654 mGetCachedResultsRspParams->max = 0; in allocRspParams()
2655 mGetCachedResultsRspParams->cached_results = NULL; in allocRspParams()
2679 if (mGetCachedResultsRspParams) { in freeRspParams()
2680 if (mGetCachedResultsRspParams->cached_results) { in freeRspParams()
2681 free(mGetCachedResultsRspParams->cached_results); in freeRspParams()
2682 mGetCachedResultsRspParams->cached_results = NULL; in freeRspParams()
2684 free(mGetCachedResultsRspParams); in freeRspParams()
2685 mGetCachedResultsRspParams = NULL; in freeRspParams()
2701 if (mGetCachedResultsRspParams && cached_results) in copyCachedScanResults()
2704 *numResults = mGetCachedResultsRspParams->num_cached_results; in copyCachedScanResults()
2707 cachedResultRsp = &mGetCachedResultsRspParams->cached_results[i]; in copyCachedScanResults()