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(mag_info->all_bins, in ath_cmn_max_idx_verify_ht20_fft()
64 max_magnitude = spectral_max_magnitude(mag_info->all_bins); in ath_cmn_max_idx_verify_ht20_fft()
66 max_exp = mag_info->max_exp & 0xf; in ath_cmn_max_idx_verify_ht20_fft()
84 struct ath_ht20_40_mag_info *mag_info; in ath_cmn_max_idx_verify_ht20_40_fft() local
97 mag_info = (struct ath_ht20_40_mag_info *) (sample_end - in ath_cmn_max_idx_verify_ht20_40_fft()
102 lower_mag = spectral_max_magnitude(mag_info->lower_bins); in ath_cmn_max_idx_verify_ht20_40_fft()
103 lower_max_index = spectral_max_index(mag_info->lower_bins, in ath_cmn_max_idx_verify_ht20_40_fft()
106 upper_mag = spectral_max_magnitude(mag_info->upper_bins); in ath_cmn_max_idx_verify_ht20_40_fft()
107 upper_max_index = spectral_max_index(mag_info->upper_bins, in ath_cmn_max_idx_verify_ht20_40_fft()
110 max_exp = mag_info->max_exp & 0xf; in ath_cmn_max_idx_verify_ht20_40_fft()
151 struct ath_ht20_mag_info *mag_info; in ath_cmn_process_ht20_fft() local
166 mag_info = (struct ath_ht20_mag_info *) (sample_buf + in ath_cmn_process_ht20_fft()
169 magnitude = spectral_max_magnitude(mag_info->all_bins); in ath_cmn_process_ht20_fft()
172 max_index = spectral_max_index(mag_info->all_bins, in ath_cmn_process_ht20_fft()
176 bitmap_w = spectral_bitmap_weight(mag_info->all_bins); in ath_cmn_process_ht20_fft()
179 max_exp = mag_info->max_exp & 0xf; in ath_cmn_process_ht20_fft()
256 struct ath_ht20_40_mag_info *mag_info; in ath_cmn_process_ht20_40_fft() local
296 mag_info = (struct ath_ht20_40_mag_info *) (sample_buf + in ath_cmn_process_ht20_40_fft()
299 lower_mag = spectral_max_magnitude(mag_info->lower_bins); in ath_cmn_process_ht20_40_fft()
302 upper_mag = spectral_max_magnitude(mag_info->upper_bins); in ath_cmn_process_ht20_40_fft()
305 lower_max_index = spectral_max_index(mag_info->lower_bins, in ath_cmn_process_ht20_40_fft()
309 upper_max_index = spectral_max_index(mag_info->upper_bins, in ath_cmn_process_ht20_40_fft()
313 lower_bitmap_w = spectral_bitmap_weight(mag_info->lower_bins); in ath_cmn_process_ht20_40_fft()
316 upper_bitmap_w = spectral_bitmap_weight(mag_info->upper_bins); in ath_cmn_process_ht20_40_fft()
319 max_exp = mag_info->max_exp & 0xf; in ath_cmn_process_ht20_40_fft()