Lines Matching full:ss

84 ar5416ConfigureSpectralScan(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss)  in ar5416ConfigureSpectralScan()  argument
92 if (ss->ss_fft_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
94 val |= SM(ss->ss_fft_period, AR_PHY_SPECTRAL_SCAN_FFT_PERIOD); in ar5416ConfigureSpectralScan()
97 if (ss->ss_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
99 val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); in ar5416ConfigureSpectralScan()
102 if (ss->ss_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
104 val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); in ar5416ConfigureSpectralScan()
109 if (ss->ss_count != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
111 val |= SM(ss->ss_count, AR_PHY_SPECTRAL_SCAN_COUNT); in ar5416ConfigureSpectralScan()
114 if (ss->ss_short_report == AH_TRUE) { in ar5416ConfigureSpectralScan()
116 } else if (ss->ss_short_report != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
120 if (ss->ss_count != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
125 if (ss->ss_count == 128) in ar5416ConfigureSpectralScan()
126 ss->ss_count = 0; in ar5416ConfigureSpectralScan()
128 val |= SM(ss->ss_count, AR_PHY_SPECTRAL_SCAN_COUNT_KIWI); in ar5416ConfigureSpectralScan()
131 if (ss->ss_short_report == AH_TRUE) { in ar5416ConfigureSpectralScan()
133 } else if (ss->ss_short_report != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
143 ar5416GetSpectralParams(ah, ss); in ar5416ConfigureSpectralScan()
151 ar5416GetSpectralParams(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss) in ar5416GetSpectralParams() argument
157 ss->ss_fft_period = MS(val, AR_PHY_SPECTRAL_SCAN_FFT_PERIOD); in ar5416GetSpectralParams()
158 ss->ss_period = MS(val, AR_PHY_SPECTRAL_SCAN_PERIOD); in ar5416GetSpectralParams()
160 ss->ss_count = MS(val, AR_PHY_SPECTRAL_SCAN_COUNT); in ar5416GetSpectralParams()
161 ss->ss_short_report = MS(val, AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT); in ar5416GetSpectralParams()
163 ss->ss_count = MS(val, AR_PHY_SPECTRAL_SCAN_COUNT_KIWI); in ar5416GetSpectralParams()
164 ss->ss_short_report = MS(val, AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT_KIWI); in ar5416GetSpectralParams()
167 ss->radar_bin_thresh_sel = MS(val, AR_PHY_RADAR_1_BIN_THRESH_SELECT); in ar5416GetSpectralParams()