Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9280_attach.c596 int cur_bb_spur; in ar9280SpurMitigate() local
610 cur_bb_spur = ath_hal_getSpurChan(ah, i, is2GHz); in ar9280SpurMitigate()
613 cur_bb_spur = (cur_bb_spur / 10) + AR_BASE_FREQ_2GHZ; in ar9280SpurMitigate()
615 cur_bb_spur = (cur_bb_spur / 10) + AR_BASE_FREQ_5GHZ; in ar9280SpurMitigate()
618 if (AR_NO_SPUR == cur_bb_spur) in ar9280SpurMitigate()
620 cur_bb_spur = cur_bb_spur - freq; in ar9280SpurMitigate()
623 if ((cur_bb_spur > -AR_SPUR_FEEQ_BOUND_HT40) && in ar9280SpurMitigate()
624 (cur_bb_spur < AR_SPUR_FEEQ_BOUND_HT40)) { in ar9280SpurMitigate()
625 bb_spur = cur_bb_spur; in ar9280SpurMitigate()
628 } else if ((cur_bb_spur > -AR_SPUR_FEEQ_BOUND_HT20) && in ar9280SpurMitigate()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_attach.c660 int cur_bb_spur; in ar5416SpurMitigate() local
672 cur_bb_spur = ath_hal_getSpurChan(ah, i, is2GHz); in ar5416SpurMitigate()
673 if (AR_NO_SPUR == cur_bb_spur) in ar5416SpurMitigate()
675 cur_bb_spur = cur_bb_spur - (freq * 10); in ar5416SpurMitigate()
676 if ((cur_bb_spur > -95) && (cur_bb_spur < 95)) { in ar5416SpurMitigate()
677 bb_spur = cur_bb_spur; in ar5416SpurMitigate()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_reset.c942 int cur_bb_spur, negative = 0, cck_spur_freq; in ar9300_spur_mitigate_mrc_cck() local
987 cur_bb_spur = in ar9300_spur_mitigate_mrc_cck()
990 cur_bb_spur = spur_freq_for_jupiter[i] - synth_freq; in ar9300_spur_mitigate_mrc_cck()
992 cur_bb_spur = spur_freq_for_osprey[i] - synth_freq; in ar9300_spur_mitigate_mrc_cck()
995 if (cur_bb_spur < 0) { in ar9300_spur_mitigate_mrc_cck()
997 cur_bb_spur = -cur_bb_spur; in ar9300_spur_mitigate_mrc_cck()
999 if (cur_bb_spur < range) { in ar9300_spur_mitigate_mrc_cck()
1000 cck_spur_freq = (int)((cur_bb_spur << 19) / 11); in ar9300_spur_mitigate_mrc_cck()