Lines Matching refs:min_diff
1661 int min_diff, diff; in wpa_supplicant_need_to_roam() local
1737 min_diff = 2; in wpa_supplicant_need_to_roam()
1740 min_diff = 1; in wpa_supplicant_need_to_roam()
1742 min_diff = 2; in wpa_supplicant_need_to_roam()
1744 min_diff = 3; in wpa_supplicant_need_to_roam()
1746 min_diff = 4; in wpa_supplicant_need_to_roam()
1748 min_diff = 5; in wpa_supplicant_need_to_roam()
1750 min_diff += 10; in wpa_supplicant_need_to_roam()
1752 min_diff += 5; in wpa_supplicant_need_to_roam()
1754 min_diff += 2; in wpa_supplicant_need_to_roam()
1756 min_diff++; in wpa_supplicant_need_to_roam()
1769 if (min_diff > reduce) in wpa_supplicant_need_to_roam()
1770 min_diff -= reduce; in wpa_supplicant_need_to_roam()
1772 min_diff = 0; in wpa_supplicant_need_to_roam()
1775 if (diff < min_diff) { in wpa_supplicant_need_to_roam()
1778 diff, min_diff); in wpa_supplicant_need_to_roam()
1784 diff, min_diff); in wpa_supplicant_need_to_roam()