Lines Matching refs:mag_info
45 struct ath_ht20_mag_info *mag_info; in ath_cmn_max_idx_verify_ht20_fft() local
57 mag_info = (struct ath_ht20_mag_info *) (sample_end - in ath_cmn_max_idx_verify_ht20_fft()
62 max_index = spectral_max_index_ht20(mag_info->all_bins); in ath_cmn_max_idx_verify_ht20_fft()
63 max_magnitude = spectral_max_magnitude(mag_info->all_bins); in ath_cmn_max_idx_verify_ht20_fft()
65 max_exp = mag_info->max_exp & 0xf; in ath_cmn_max_idx_verify_ht20_fft()
83 struct ath_ht20_40_mag_info *mag_info; in ath_cmn_max_idx_verify_ht20_40_fft() local
96 mag_info = (struct ath_ht20_40_mag_info *) (sample_end - in ath_cmn_max_idx_verify_ht20_40_fft()
101 lower_mag = spectral_max_magnitude(mag_info->lower_bins); in ath_cmn_max_idx_verify_ht20_40_fft()
102 lower_max_index = spectral_max_index_ht40(mag_info->lower_bins); in ath_cmn_max_idx_verify_ht20_40_fft()
104 upper_mag = spectral_max_magnitude(mag_info->upper_bins); in ath_cmn_max_idx_verify_ht20_40_fft()
105 upper_max_index = spectral_max_index_ht40(mag_info->upper_bins); in ath_cmn_max_idx_verify_ht20_40_fft()
107 max_exp = mag_info->max_exp & 0xf; in ath_cmn_max_idx_verify_ht20_40_fft()
139 struct ath_ht20_mag_info *mag_info; in ath_cmn_process_ht20_fft() local
154 mag_info = (struct ath_ht20_mag_info *) (sample_buf + in ath_cmn_process_ht20_fft()
157 magnitude = spectral_max_magnitude(mag_info->all_bins); in ath_cmn_process_ht20_fft()
160 max_index = spectral_max_index_ht20(mag_info->all_bins); in ath_cmn_process_ht20_fft()
163 bitmap_w = spectral_bitmap_weight(mag_info->all_bins); in ath_cmn_process_ht20_fft()
166 max_exp = mag_info->max_exp & 0xf; in ath_cmn_process_ht20_fft()
244 struct ath_ht20_40_mag_info *mag_info; in ath_cmn_process_ht20_40_fft() local
284 mag_info = (struct ath_ht20_40_mag_info *) (sample_buf + in ath_cmn_process_ht20_40_fft()
287 lower_mag = spectral_max_magnitude(mag_info->lower_bins); in ath_cmn_process_ht20_40_fft()
290 upper_mag = spectral_max_magnitude(mag_info->upper_bins); in ath_cmn_process_ht20_40_fft()
293 lower_max_index = spectral_max_index_ht40(mag_info->lower_bins); in ath_cmn_process_ht20_40_fft()
296 upper_max_index = spectral_max_index_ht40(mag_info->upper_bins); in ath_cmn_process_ht20_40_fft()
299 lower_bitmap_w = spectral_bitmap_weight(mag_info->lower_bins); in ath_cmn_process_ht20_40_fft()
302 upper_bitmap_w = spectral_bitmap_weight(mag_info->upper_bins); in ath_cmn_process_ht20_40_fft()
305 max_exp = mag_info->max_exp & 0xf; in ath_cmn_process_ht20_40_fft()