Lines Matching refs:p_sfft
1386 struct spectral_search_fft_info_gen2 *p_sfft; in target_if_spectral_populate_samp_params_gen2() local
1411 p_sfft = phyerr_info->p_sfft; in target_if_spectral_populate_samp_params_gen2()
1418 p_sfft); in target_if_spectral_populate_samp_params_gen2()
1454 params->max_mag = p_sfft->peak_mag; in target_if_spectral_populate_samp_params_gen2()
1455 params->max_index = p_sfft->peak_inx; in target_if_spectral_populate_samp_params_gen2()
1515 struct spectral_search_fft_info_gen2 *p_sfft = &search_fft_info; in target_if_process_phyerr_gen2() local
1615 p_sfft); in target_if_process_phyerr_gen2()
1628 phyerr_info->p_sfft = p_sfft; in target_if_process_phyerr_gen2()
1704 phyerr_info->p_sfft = p_sfft_sec80; in target_if_process_phyerr_gen2()
1780 struct spectral_search_fft_info_gen2 *p_sfft = &search_fft_info; in target_if_process_phyerr_gen2() local
1937 params.max_mag = p_sfft->peak_mag; in target_if_process_phyerr_gen2()
1939 params.max_index = p_sfft->peak_inx; in target_if_process_phyerr_gen2()
2367 struct spectral_search_fft_info_gen3 *p_sfft, in target_if_process_sfft_report_gen3() argument
2373 if (!p_fft_report || !p_sfft || !rparams) { in target_if_process_sfft_report_gen3()
2375 p_fft_report, p_sfft, rparams); in target_if_process_sfft_report_gen3()
2389 p_sfft->timestamp = p_fft_report->fft_timestamp; in target_if_process_sfft_report_gen3()
2391 p_sfft->fft_detector_id = get_bitfield(p_fft_report->hdr_a, in target_if_process_sfft_report_gen3()
2393 p_sfft->fft_num = get_bitfield(p_fft_report->hdr_a, 3, 2); in target_if_process_sfft_report_gen3()
2397 p_sfft->fft_radar_check = get_bitfield(p_fft_report->hdr_a, in target_if_process_sfft_report_gen3()
2400 p_sfft->fft_chn_idx = get_bitfield(p_fft_report->hdr_a, 3, 28); in target_if_process_sfft_report_gen3()
2401 p_sfft->fft_base_pwr_db = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
2403 p_sfft->fft_total_gain_db = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
2407 p_sfft->fft_radar_check = get_bitfield(p_fft_report->hdr_a, in target_if_process_sfft_report_gen3()
2410 p_sfft->fft_chn_idx = get_bitfield(p_fft_report->hdr_b, 3, 0); in target_if_process_sfft_report_gen3()
2411 p_sfft->fft_base_pwr_db = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
2413 p_sfft->fft_total_gain_db = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
2422 p_sfft->fft_peak_sidx = unsigned_to_signed(peak_sidx, 11); in target_if_process_sfft_report_gen3()
2424 p_sfft->fft_num_str_bins_ib = get_bitfield(p_fft_report->hdr_c, in target_if_process_sfft_report_gen3()
2427 p_sfft->fft_peak_mag = unsigned_to_signed(peak_mag, 10); in target_if_process_sfft_report_gen3()
2428 p_sfft->fft_avgpwr_db = get_bitfield(p_fft_report->hdr_c, in target_if_process_sfft_report_gen3()
2430 p_sfft->fft_relpwr_db = get_bitfield(p_fft_report->hdr_c, in target_if_process_sfft_report_gen3()
2452 struct spectral_search_fft_info_gen3 *p_sfft) in target_if_dump_fft_report_gen3() argument
2522 spectral_debug("fft_detector_id = %u", p_sfft->fft_detector_id); in target_if_dump_fft_report_gen3()
2523 spectral_debug("fft_num = %u", p_sfft->fft_num); in target_if_dump_fft_report_gen3()
2524 spectral_debug("fft_radar_check = %u", p_sfft->fft_radar_check); in target_if_dump_fft_report_gen3()
2525 spectral_debug("fft_peak_sidx = %d", p_sfft->fft_peak_sidx); in target_if_dump_fft_report_gen3()
2526 spectral_debug("fft_chn_idx = %u", p_sfft->fft_chn_idx); in target_if_dump_fft_report_gen3()
2527 spectral_debug("fft_base_pwr_db = %u", p_sfft->fft_base_pwr_db); in target_if_dump_fft_report_gen3()
2528 spectral_debug("fft_total_gain_db = %u", p_sfft->fft_total_gain_db); in target_if_dump_fft_report_gen3()
2529 spectral_debug("fft_num_str_bins_ib = %u", p_sfft->fft_num_str_bins_ib); in target_if_dump_fft_report_gen3()
2530 spectral_debug("fft_peak_mag = %d", p_sfft->fft_peak_mag); in target_if_dump_fft_report_gen3()
2531 spectral_debug("fft_avgpwr_db = %u", p_sfft->fft_avgpwr_db); in target_if_dump_fft_report_gen3()
2532 spectral_debug("fft_relpwr_db = %u", p_sfft->fft_relpwr_db); in target_if_dump_fft_report_gen3()
3216 struct spectral_search_fft_info_gen3 *p_sfft, in target_if_process_sfft_report_gen3() argument
3235 if (!p_sfft) { in target_if_process_sfft_report_gen3()
3272 p_sfft->fft_detector_id = get_bitfield( in target_if_process_sfft_report_gen3()
3280 if (sscan_detector_id != p_sfft->fft_detector_id) { in target_if_process_sfft_report_gen3()
3282 sscan_detector_id, p_sfft->fft_detector_id); in target_if_process_sfft_report_gen3()
3286 if (p_sfft->fft_detector_id > in target_if_process_sfft_report_gen3()
3290 p_sfft->fft_detector_id, in target_if_process_sfft_report_gen3()
3295 spectral_mode = target_if_get_spectral_mode(p_sfft->fft_detector_id, in target_if_process_sfft_report_gen3()
3299 p_sfft->fft_detector_id); in target_if_process_sfft_report_gen3()
3304 p_sfft->timestamp = p_fft_report->fft_timestamp; in target_if_process_sfft_report_gen3()
3305 p_sfft->last_raw_timestamp = spectral->timestamp_war. in target_if_process_sfft_report_gen3()
3309 p_sfft->timestamp, in target_if_process_sfft_report_gen3()
3317 p_sfft->adjusted_timestamp = tstamp; in target_if_process_sfft_report_gen3()
3320 p_sfft->adjusted_timestamp, in target_if_process_sfft_report_gen3()
3321 p_sfft->fft_detector_id); in target_if_process_sfft_report_gen3()
3324 p_sfft->fft_num = get_bitfield(p_fft_report->hdr_a, in target_if_process_sfft_report_gen3()
3330 p_sfft->fft_radar_check = get_bitfield(p_fft_report->hdr_a, in target_if_process_sfft_report_gen3()
3337 p_sfft->fft_chn_idx = get_bitfield(p_fft_report->hdr_a, in target_if_process_sfft_report_gen3()
3340 p_sfft->fft_base_pwr_db = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
3343 p_sfft->fft_total_gain_db = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
3348 p_sfft->fft_radar_check = get_bitfield(p_fft_report->hdr_a, in target_if_process_sfft_report_gen3()
3355 p_sfft->fft_chn_idx = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
3358 p_sfft->fft_base_pwr_db = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
3361 p_sfft->fft_total_gain_db = get_bitfield(p_fft_report->hdr_b, in target_if_process_sfft_report_gen3()
3371 p_sfft->fft_peak_sidx = unsigned_to_signed(peak_sidx, in target_if_process_sfft_report_gen3()
3374 p_sfft->fft_num_str_bins_ib = get_bitfield(p_fft_report->hdr_c, in target_if_process_sfft_report_gen3()
3380 p_sfft->fft_peak_mag = unsigned_to_signed(peak_mag, in target_if_process_sfft_report_gen3()
3382 p_sfft->fft_avgpwr_db = get_bitfield(p_fft_report->hdr_c, in target_if_process_sfft_report_gen3()
3385 p_sfft->fft_relpwr_db = get_bitfield(p_fft_report->hdr_c, in target_if_process_sfft_report_gen3()
3389 p_sfft->fft_bin_count = in target_if_process_sfft_report_gen3()
3394 (size_t *)&p_sfft->fft_bin_size); in target_if_process_sfft_report_gen3()
3396 p_sfft->bin_pwr_data = (uint8_t *)p_fft_report + SPECTRAL_FFT_BINS_POS; in target_if_process_sfft_report_gen3()
3406 &p_sfft->bin_pwr_data, in target_if_process_sfft_report_gen3()
3407 p_sfft->fft_bin_count); in target_if_process_sfft_report_gen3()
3433 struct spectral_search_fft_info_gen3 *p_sfft, in target_if_spectral_populate_samp_params_gen3() argument
3443 if (!p_sfft) { in target_if_spectral_populate_samp_params_gen3()
3467 params->hw_detector_id = p_sfft->fft_detector_id; in target_if_spectral_populate_samp_params_gen3()
3468 params->raw_timestamp = p_sfft->timestamp; in target_if_spectral_populate_samp_params_gen3()
3469 params->last_raw_timestamp = p_sfft->last_raw_timestamp; in target_if_spectral_populate_samp_params_gen3()
3470 params->timestamp = p_sfft->adjusted_timestamp; in target_if_spectral_populate_samp_params_gen3()
3473 params->max_mag = p_sfft->fft_peak_mag; in target_if_spectral_populate_samp_params_gen3()
3502 params->bin_pwr_data = p_sfft->bin_pwr_data; in target_if_spectral_populate_samp_params_gen3()
3535 struct spectral_search_fft_info_gen3 *p_sfft = &search_fft_info; in target_if_consume_spectral_report_gen3() local
3603 data, p_sfft, in target_if_consume_spectral_report_gen3()
3616 if (p_sfft->fft_detector_id == det_list->detectors[det]) in target_if_consume_spectral_report_gen3()
3621 p_sfft->fft_detector_id); in target_if_consume_spectral_report_gen3()
3630 p_sfft->fft_bin_size, in target_if_consume_spectral_report_gen3()
3645 p_sfft->fft_detector_id); in target_if_consume_spectral_report_gen3()
3657 p_fft_report, p_sfft); in target_if_consume_spectral_report_gen3()
3660 p_sfft->fft_bin_count, in target_if_consume_spectral_report_gen3()
3665 spectral, p_sfft, in target_if_consume_spectral_report_gen3()
3742 struct spectral_search_fft_info_gen3 *p_sfft = &search_fft_info; in target_if_consume_spectral_report_gen3() local
3861 target_if_process_sfft_report_gen3(p_fft_report, p_sfft, in target_if_consume_spectral_report_gen3()
3866 if (detector_id != p_sfft->fft_detector_id) { in target_if_consume_spectral_report_gen3()
3869 detector_id, p_sfft->fft_detector_id); in target_if_consume_spectral_report_gen3()
3889 params.raw_timestamp = p_sfft->timestamp; in target_if_consume_spectral_report_gen3()
3892 p_sfft->timestamp, report->reset_delay, in target_if_consume_spectral_report_gen3()
3938 params.max_mag = p_sfft->fft_peak_mag; in target_if_consume_spectral_report_gen3()
3968 params.raw_timestamp_sec80 = p_sfft->timestamp; in target_if_consume_spectral_report_gen3()
3972 params.max_mag_sec80 = p_sfft->fft_peak_mag; in target_if_consume_spectral_report_gen3()
4018 p_fft_report, p_sfft); in target_if_consume_spectral_report_gen3()
4051 target_if_process_sfft_report_gen3(p_fft_report, p_sfft, in target_if_consume_spectral_report_gen3()
4056 if (detector_id != p_sfft->fft_detector_id) { in target_if_consume_spectral_report_gen3()
4059 detector_id, p_sfft->fft_detector_id); in target_if_consume_spectral_report_gen3()
4075 params.raw_timestamp_sec80 = p_sfft->timestamp; in target_if_consume_spectral_report_gen3()
4115 params.max_mag_sec80 = p_sfft->fft_peak_mag; in target_if_consume_spectral_report_gen3()
4143 p_fft_report, p_sfft); in target_if_consume_spectral_report_gen3()