Home
last modified time | relevance | path

Searched refs:cur_bb_spur (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dar9002_phy.c182 int cur_bb_spur; in ar9002_hw_spur_mitigate() local
189 cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz); in ar9002_hw_spur_mitigate()
191 if (AR_NO_SPUR == cur_bb_spur) in ar9002_hw_spur_mitigate()
195 cur_bb_spur = (cur_bb_spur / 10) + AR_BASE_FREQ_2GHZ; in ar9002_hw_spur_mitigate()
197 cur_bb_spur = (cur_bb_spur / 10) + AR_BASE_FREQ_5GHZ; in ar9002_hw_spur_mitigate()
199 cur_bb_spur = cur_bb_spur - freq; in ar9002_hw_spur_mitigate()
202 if ((cur_bb_spur > -AR_SPUR_FEEQ_BOUND_HT40) && in ar9002_hw_spur_mitigate()
203 (cur_bb_spur < AR_SPUR_FEEQ_BOUND_HT40)) { in ar9002_hw_spur_mitigate()
204 bb_spur = cur_bb_spur; in ar9002_hw_spur_mitigate()
207 } else if ((cur_bb_spur > -AR_SPUR_FEEQ_BOUND_HT20) && in ar9002_hw_spur_mitigate()
[all …]
Dar5008_phy.c443 int cur_bb_spur; in ar5008_hw_spur_mitigate() local
447 cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz); in ar5008_hw_spur_mitigate()
448 if (AR_NO_SPUR == cur_bb_spur) in ar5008_hw_spur_mitigate()
450 cur_bb_spur = cur_bb_spur - (chan->channel * 10); in ar5008_hw_spur_mitigate()
451 if ((cur_bb_spur > -95) && (cur_bb_spur < 95)) { in ar5008_hw_spur_mitigate()
452 bb_spur = cur_bb_spur; in ar5008_hw_spur_mitigate()
Dar9003_phy.c242 int cur_bb_spur, negative = 0, cck_spur_freq; in ar9003_hw_spur_mitigate_mrc_cck() local
281 cur_bb_spur = ath9k_hw_fbin2freq(spur_fbin_ptr[i], in ar9003_hw_spur_mitigate_mrc_cck()
284 cur_bb_spur = spur_freq[i]; in ar9003_hw_spur_mitigate_mrc_cck()
286 cur_bb_spur -= synth_freq; in ar9003_hw_spur_mitigate_mrc_cck()
287 if (cur_bb_spur < 0) { in ar9003_hw_spur_mitigate_mrc_cck()
289 cur_bb_spur = -cur_bb_spur; in ar9003_hw_spur_mitigate_mrc_cck()
291 if (cur_bb_spur < range) { in ar9003_hw_spur_mitigate_mrc_cck()
292 cck_spur_freq = (int)((cur_bb_spur << 19) / 11); in ar9003_hw_spur_mitigate_mrc_cck()