Home
last modified time | relevance | path

Searched refs:cur_vit_mask (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9280_attach.c587 int upper, lower, cur_vit_mask; in ar9280SpurMitigate() local
760 cur_vit_mask = 6100; in ar9280SpurMitigate()
765 if ((cur_vit_mask > lower) && (cur_vit_mask < upper)) { in ar9280SpurMitigate()
766 if ((abs(cur_vit_mask - bin)) < 75) { in ar9280SpurMitigate()
771 if (cur_vit_mask < 0) { in ar9280SpurMitigate()
772 mask_m[abs(cur_vit_mask / 100)] = mask_amt; in ar9280SpurMitigate()
774 mask_p[cur_vit_mask / 100] = mask_amt; in ar9280SpurMitigate()
777 cur_vit_mask -= 100; in ar9280SpurMitigate()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_attach.c652 int upper, lower, cur_vit_mask; in ar5416SpurMitigate() local
770 cur_vit_mask = 6100; in ar5416SpurMitigate()
775 if ((cur_vit_mask > lower) && (cur_vit_mask < upper)) { in ar5416SpurMitigate()
776 if ((abs(cur_vit_mask - bin)) < 75) { in ar5416SpurMitigate()
781 if (cur_vit_mask < 0) { in ar5416SpurMitigate()
782 mask_m[abs(cur_vit_mask / 100)] = mask_amt; in ar5416SpurMitigate()
784 mask_p[cur_vit_mask / 100] = mask_amt; in ar5416SpurMitigate()
787 cur_vit_mask -= 100; in ar5416SpurMitigate()