Lines Matching refs:mParams
298 int *mParams; member in FullScanResultsCommand
303 : WifiCommand(iface, id), mParams(params), mHandler(handler) in FullScanResultsCommand()
406 wifi_scan_cmd_params *mParams; member in ScanCommand
413 : WifiCommand(iface, id), mParams(params), mHandler(handler), in ScanCommand()
424 result = request.put_u32(GSCAN_ATTRIBUTE_BASE_PERIOD, mParams->base_period); in createSetupRequest()
429 result = request.put_u32(GSCAN_ATTRIBUTE_NUM_BUCKETS, mParams->num_buckets); in createSetupRequest()
434 for (int i = 0; i < mParams->num_buckets; i++) { in createSetupRequest()
436 result = request.put_u32(GSCAN_ATTRIBUTE_BUCKET_ID, mParams->buckets[i].bucket); in createSetupRequest()
440 result = request.put_u32(GSCAN_ATTRIBUTE_BUCKET_PERIOD, mParams->buckets[i].period); in createSetupRequest()
445 mParams->buckets[i].band); in createSetupRequest()
451 mParams->buckets[i].report_events); in createSetupRequest()
457 mParams->buckets[i].num_channels); in createSetupRequest()
462 if (mParams->buckets[i].num_channels) { in createSetupRequest()
464 for (int j = 0; j < mParams->buckets[i].num_channels; j++) { in createSetupRequest()
465 result = request.put_u32(j, mParams->buckets[i].channels[j].channel); in createSetupRequest()
487 result = request.put_u32(GSCAN_ATTRIBUTE_NUM_AP_PER_SCAN, mParams->max_ap_per_scan); in createScanConfigRequest()
492 result = request.put_u32(GSCAN_ATTRIBUTE_REPORT_THRESHOLD, mParams->report_threshold); in createScanConfigRequest()
498 for (int i = 0; i < mParams->num_buckets; i++) { in createScanConfigRequest()
499 if (mParams->buckets[i].report_events == 1) { in createScanConfigRequest()
528 for (int i = 0; i < mParams->num_buckets; i++) { in enableFullScanResultsIfRequired()
529 if (mParams->buckets[i].report_events == 2) { in enableFullScanResultsIfRequired()
929 wifi_bssid_hotlist_params mParams; member in BssidHotlistCommand
936 : WifiCommand(handle, id), mParams(params), mHandler(handler) in BssidHotlistCommand()
951 result = request.put_u32(GSCAN_ATTRIBUTE_LOST_AP_SAMPLE_SIZE, mParams.lost_ap_sample_size); in createSetupRequest()
957 for (int i = 0; i < mParams.num_ap; i++) { in createSetupRequest()
962 result = request.put_addr(GSCAN_ATTRIBUTE_BSSID, mParams.ap[i].bssid); in createSetupRequest()
966 result = request.put_u8(GSCAN_ATTRIBUTE_RSSI_HIGH, mParams.ap[i].high); in createSetupRequest()
970 result = request.put_u8(GSCAN_ATTRIBUTE_RSSI_LOW, mParams.ap[i].low); in createSetupRequest()
1001 ALOGI("Executing hotlist setup request, num = %d", mParams.num_ap); in start()
1016 ALOGI("Successfully set %d APs in the hotlist", mParams.num_ap); in start()
1130 wifi_significant_change_params mParams; member in SignificantWifiChangeCommand
1138 : WifiCommand(handle, id), mParams(params), mHandler(handler) in SignificantWifiChangeCommand()
1152 result = request.put_u16(GSCAN_ATTRIBUTE_RSSI_SAMPLE_SIZE, mParams.rssi_sample_size); in createSetupRequest()
1156 result = request.put_u16(GSCAN_ATTRIBUTE_LOST_AP_SAMPLE_SIZE, mParams.lost_ap_sample_size); in createSetupRequest()
1160 result = request.put_u16(GSCAN_ATTRIBUTE_MIN_BREACHING, mParams.min_breaching); in createSetupRequest()
1167 for (int i = 0; i < mParams.num_ap; i++) { in createSetupRequest()
1173 result = request.put_addr(GSCAN_ATTRIBUTE_BSSID, mParams.ap[i].bssid); in createSetupRequest()
1177 result = request.put_u8(GSCAN_ATTRIBUTE_RSSI_HIGH, mParams.ap[i].high); in createSetupRequest()
1181 result = request.put_u8(GSCAN_ATTRIBUTE_RSSI_LOW, mParams.ap[i].low); in createSetupRequest()