Searched refs:snr_a (Results 1 – 1 of 1) sorted by relevance
1557 int snr_a, snr_b; in wpa_scan_result_compar() local1580 snr_a = MIN(wa->level - wa->noise, GREAT_SNR); in wpa_scan_result_compar()1584 snr_a = wa->level; in wpa_scan_result_compar()1589 if ((snr_a && snr_b && abs(snr_b - snr_a) < 5) || in wpa_scan_result_compar()1604 if (snr_b == snr_a) in wpa_scan_result_compar()1606 return snr_b - snr_a; in wpa_scan_result_compar()