Lines Matching refs:params
36 struct target_if_samp_msg_params *params) in target_if_spectral_fill_samp_msg() argument
55 if (!params) { in target_if_spectral_fill_samp_msg()
60 if (params->hw_detector_id >= SPECTRAL_DETECTOR_ID_MAX) { in target_if_spectral_fill_samp_msg()
66 spectral->rparams.detid_mode_table[params->hw_detector_id]; in target_if_spectral_fill_samp_msg()
69 params->hw_detector_id); in target_if_spectral_fill_samp_msg()
80 pwr_format = spectral->params[spectral_mode].ss_pwr_format; in target_if_spectral_fill_samp_msg()
84 if (!spectral->det_map[params->hw_detector_id]. in target_if_spectral_fill_samp_msg()
88 params->hw_detector_id, spectral_mode); in target_if_spectral_fill_samp_msg()
92 det_map = &spectral->det_map[params->hw_detector_id]; in target_if_spectral_fill_samp_msg()
141 detector_info->rssi = params->rssi; in target_if_spectral_fill_samp_msg()
143 detector_info->last_raw_timestamp = params->last_raw_timestamp; in target_if_spectral_fill_samp_msg()
144 detector_info->reset_delay = params->reset_delay; in target_if_spectral_fill_samp_msg()
145 detector_info->raw_timestamp = params->raw_timestamp; in target_if_spectral_fill_samp_msg()
146 detector_info->timestamp = params->timestamp; in target_if_spectral_fill_samp_msg()
150 detector_info->max_magnitude = params->max_mag; in target_if_spectral_fill_samp_msg()
151 detector_info->max_index = params->max_index; in target_if_spectral_fill_samp_msg()
153 detector_info->noise_floor = params->noise_floor; in target_if_spectral_fill_samp_msg()
154 detector_info->agc_total_gain = params->agc_total_gain; in target_if_spectral_fill_samp_msg()
155 detector_info->gainchange = params->gainchange; in target_if_spectral_fill_samp_msg()
157 detector_info->blanking_status = params->blanking_status; in target_if_spectral_fill_samp_msg()
160 detector_info->pri80ind = params->pri80ind; in target_if_spectral_fill_samp_msg()
162 bin_pwr_data = ¶ms->bin_pwr_data in target_if_spectral_fill_samp_msg()
275 spec_samp_msg->spectral_upper_rssi = params->upper_rssi; in target_if_spectral_fill_samp_msg()
276 spec_samp_msg->spectral_lower_rssi = params->lower_rssi; in target_if_spectral_fill_samp_msg()
278 params->chain_ctl_rssi, in target_if_spectral_fill_samp_msg()
279 sizeof(params->chain_ctl_rssi)); in target_if_spectral_fill_samp_msg()
281 params->chain_ext_rssi, in target_if_spectral_fill_samp_msg()
282 sizeof(params->chain_ext_rssi)); in target_if_spectral_fill_samp_msg()
306 struct target_if_samp_msg_params *params) in target_if_spectral_create_samp_msg() argument
332 ret = target_if_get_spectral_msg_type(params->smode, &msg_type); in target_if_spectral_create_samp_msg()
336 if (is_primaryseg_rx_inprog(spectral, params->smode)) { in target_if_spectral_create_samp_msg()
347 bin_pwr_data = params->bin_pwr_data; in target_if_spectral_create_samp_msg()
350 spec_samp_msg->freq = params->freq; in target_if_spectral_create_samp_msg()
351 spec_samp_msg->agile_freq1 = params->agile_freq1; in target_if_spectral_create_samp_msg()
352 spec_samp_msg->agile_freq2 = params->agile_freq2; in target_if_spectral_create_samp_msg()
353 spec_samp_msg->freq_loading = params->freq_loading; in target_if_spectral_create_samp_msg()
354 spec_samp_msg->vhtop_ch_freq_seg1 = params->vhtop_ch_freq_seg1; in target_if_spectral_create_samp_msg()
355 spec_samp_msg->vhtop_ch_freq_seg2 = params->vhtop_ch_freq_seg2; in target_if_spectral_create_samp_msg()
356 samp_data->spectral_mode = params->smode; in target_if_spectral_create_samp_msg()
357 samp_data->spectral_data_len = params->datalen; in target_if_spectral_create_samp_msg()
358 samp_data->spectral_rssi = params->rssi; in target_if_spectral_create_samp_msg()
363 samp_data->spectral_agc_total_gain = params->agc_total_gain; in target_if_spectral_create_samp_msg()
364 samp_data->spectral_gainchange = params->gainchange; in target_if_spectral_create_samp_msg()
365 samp_data->spectral_pri80ind = params->pri80ind; in target_if_spectral_create_samp_msg()
366 samp_data->last_raw_timestamp = params->last_raw_timestamp; in target_if_spectral_create_samp_msg()
367 samp_data->timestamp_war_offset = params->timestamp_war_offset; in target_if_spectral_create_samp_msg()
368 samp_data->raw_timestamp = params->raw_timestamp; in target_if_spectral_create_samp_msg()
369 samp_data->reset_delay = params->reset_delay; in target_if_spectral_create_samp_msg()
370 samp_data->target_reset_count = params->target_reset_count; in target_if_spectral_create_samp_msg()
373 (uint8_t)params->rssi; in target_if_spectral_create_samp_msg()
374 samp_data->spectral_upper_rssi = params->upper_rssi; in target_if_spectral_create_samp_msg()
375 samp_data->spectral_lower_rssi = params->lower_rssi; in target_if_spectral_create_samp_msg()
378 params->chain_ctl_rssi, in target_if_spectral_create_samp_msg()
379 sizeof(params->chain_ctl_rssi)); in target_if_spectral_create_samp_msg()
381 params->chain_ext_rssi, in target_if_spectral_create_samp_msg()
382 sizeof(params->chain_ext_rssi)); in target_if_spectral_create_samp_msg()
384 samp_data->spectral_bwinfo = params->bwinfo; in target_if_spectral_create_samp_msg()
385 samp_data->spectral_tstamp = params->tstamp; in target_if_spectral_create_samp_msg()
386 samp_data->spectral_max_index = params->max_index; in target_if_spectral_create_samp_msg()
390 params->max_lower_index; in target_if_spectral_create_samp_msg()
392 params->max_upper_index; in target_if_spectral_create_samp_msg()
393 samp_data->spectral_nb_lower = params->nb_lower; in target_if_spectral_create_samp_msg()
394 samp_data->spectral_nb_upper = params->nb_upper; in target_if_spectral_create_samp_msg()
395 samp_data->spectral_last_tstamp = params->last_tstamp; in target_if_spectral_create_samp_msg()
396 samp_data->spectral_max_mag = params->max_mag; in target_if_spectral_create_samp_msg()
410 pwr_count = qdf_min((size_t)params->pwr_count, in target_if_spectral_create_samp_msg()
418 samp_data->spectral_combined_rssi = params->rssi; in target_if_spectral_create_samp_msg()
419 samp_data->spectral_max_scale = params->max_exp; in target_if_spectral_create_samp_msg()
421 samp_data->noise_floor = params->noise_floor; in target_if_spectral_create_samp_msg()
425 pcp = ¶ms->classifier_params; in target_if_spectral_create_samp_msg()
467 if (is_secondaryseg_rx_inprog(spectral, params->smode)) { in target_if_spectral_create_samp_msg()
480 params->rssi_sec80; in target_if_spectral_create_samp_msg()
482 params->noise_floor_sec80; in target_if_spectral_create_samp_msg()
484 params->agc_total_gain_sec80; in target_if_spectral_create_samp_msg()
486 params->gainchange_sec80; in target_if_spectral_create_samp_msg()
488 params->pri80ind_sec80; in target_if_spectral_create_samp_msg()
491 params->datalen_sec80; in target_if_spectral_create_samp_msg()
493 params->max_index_sec80; in target_if_spectral_create_samp_msg()
495 params->max_mag_sec80; in target_if_spectral_create_samp_msg()
497 samp_data->raw_timestamp_sec80 = params->raw_timestamp_sec80; in target_if_spectral_create_samp_msg()
511 pwr_count_sec80 = qdf_min((size_t)params->pwr_count_sec80, in target_if_spectral_create_samp_msg()
513 pwr_count_5mhz = qdf_min((size_t)params->pwr_count_5mhz, in target_if_spectral_create_samp_msg()
519 bin_pwr_data = params->bin_pwr_data_sec80; in target_if_spectral_create_samp_msg()
550 binptr_16 = (uint16_t *)params->bin_pwr_data_5mhz; in target_if_spectral_create_samp_msg()
560 params->bin_pwr_data_sec80, in target_if_spectral_create_samp_msg()
565 if (!is_ch_width_160_or_80p80(spectral->ch_width[params->smode]) || in target_if_spectral_create_samp_msg()
566 is_secondaryseg_rx_inprog(spectral, params->smode)) { in target_if_spectral_create_samp_msg()
575 is_ch_width_160_or_80p80(spectral->ch_width[params->smode]) && in target_if_spectral_create_samp_msg()
576 spectral->rparams.fragmentation_160[params->smode]) in target_if_spectral_create_samp_msg()
578 spectral, params->smode, in target_if_spectral_create_samp_msg()