Lines Matching refs:min_diff
1348 int min_diff; in wpa_supplicant_need_to_roam() local
1414 min_diff = 2; in wpa_supplicant_need_to_roam()
1417 min_diff = 1; in wpa_supplicant_need_to_roam()
1419 min_diff = 2; in wpa_supplicant_need_to_roam()
1421 min_diff = 3; in wpa_supplicant_need_to_roam()
1423 min_diff = 4; in wpa_supplicant_need_to_roam()
1425 min_diff = 5; in wpa_supplicant_need_to_roam()
1429 if (min_diff > 2) in wpa_supplicant_need_to_roam()
1430 min_diff -= 2; in wpa_supplicant_need_to_roam()
1432 min_diff = 0; in wpa_supplicant_need_to_roam()
1434 if (abs(current_bss->level - selected->level) < min_diff) { in wpa_supplicant_need_to_roam()