Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs: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");
62 "off to long scan interval");
66 * If we lasted a long scan interval without any
67 * CQM triggers, decrease the short-scan count,
68 * which allows 1 more short-scan interval to
92 wpa_printf(MSG_ERROR, "bgscan simple: Missing scan interval "
137 /* Poll for signal info to set initial scan interval */
143 wpa_printf(MSG_DEBUG, "bgscan simple: Init scan interval: %d",
150 * reasonable to assume that a scan was completed recently. This makes
151 * us skip an immediate new scan in cases where the current signal
175 wpa_printf(MSG_DEBUG, "bgscan simple: scan result notification");
182 * A more advanced bgscan could process scan results internally, select
205 int scan = 0;
225 * performed a scan, and we haven't depleted our
226 * budget for short-scans, perform a scan
229 scan = 1;
233 * Restart scan interval timer if currently scheduled
234 * scan is too far in the future.
251 * Signal dropped further 4 dB. Request a new scan if we have
256 scan = 1;
259 if (scan) {
260 wpa_printf(MSG_DEBUG, "bgscan simple: Trigger immediate scan");