Home
last modified time | relevance | path

Searched refs:aidl_scan_params (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/wifi/aidl/default/
Daidl_struct_util.h83 bool convertAidlGscanParamsToLegacy(const StaBackgroundScanParameters& aidl_scan_params,
Daidl_struct_util.cpp560 bool convertAidlGscanParamsToLegacy(const StaBackgroundScanParameters& aidl_scan_params, in convertAidlGscanParamsToLegacy() argument
566 legacy_scan_params->base_period = aidl_scan_params.basePeriodInMs; in convertAidlGscanParamsToLegacy()
567 legacy_scan_params->max_ap_per_scan = aidl_scan_params.maxApPerScan; in convertAidlGscanParamsToLegacy()
568 legacy_scan_params->report_threshold_percent = aidl_scan_params.reportThresholdPercent; in convertAidlGscanParamsToLegacy()
569 legacy_scan_params->report_threshold_num_scans = aidl_scan_params.reportThresholdNumScans; in convertAidlGscanParamsToLegacy()
570 if (aidl_scan_params.buckets.size() > MAX_BUCKETS) { in convertAidlGscanParamsToLegacy()
573 legacy_scan_params->num_buckets = aidl_scan_params.buckets.size(); in convertAidlGscanParamsToLegacy()
574 for (uint32_t bucket_idx = 0; bucket_idx < aidl_scan_params.buckets.size(); bucket_idx++) { in convertAidlGscanParamsToLegacy()
576 aidl_scan_params.buckets[bucket_idx]; in convertAidlGscanParamsToLegacy()