Lines Matching full:scan
2 * WPA Supplicant - background scan and roaming module: simple
17 #include "scan.h"
25 int short_scan_count; /* counter for scans using short scan interval */
26 int max_short_scans; /* maximum times we short-scan before back-off */
51 wpa_printf(MSG_DEBUG, "bgscan simple: Request a background scan");
53 wpa_printf(MSG_DEBUG, "bgscan simple: Failed to trigger scan");
60 * Spend at most the duration of a long scan interval
61 * scanning at the short scan interval. After that,
62 * revert to the long scan interval.
67 "off to long scan interval");
71 * If we lasted a long scan interval without any
72 * CQM triggers, decrease the short-scan count,
73 * which allows 1 more short-scan interval to
100 wpa_printf(MSG_ERROR, "bgscan simple: Missing scan interval "
145 /* Poll for signal info to set initial scan interval */
151 wpa_printf(MSG_DEBUG, "bgscan simple: Init scan interval: %d",
158 * reasonable to assume that a scan was completed recently. This makes
159 * us skip an immediate new scan in cases where the current signal
183 wpa_printf(MSG_DEBUG, "bgscan simple: scan result notification");
190 * A more advanced bgscan could process scan results internally, select
213 int scan = 0;
233 * performed a scan, and we haven't depleted our
234 * budget for short-scans, perform a scan
237 scan = 1;
241 * Restart scan interval timer if currently scheduled
242 * scan is too far in the future.
259 * Signal dropped further 4 dB. Request a new scan if we have
264 scan = 1;
267 if (scan) {
268 wpa_printf(MSG_DEBUG, "bgscan simple: Trigger immediate scan");