Lines Matching refs:scan
16 #include "scan.h"
40 if (wl->scan.state == WL1271_SCAN_STATE_IDLE)
46 * Rearm the tx watchdog just before idling scan. This
51 wl->scan.state = WL1271_SCAN_STATE_IDLE;
52 memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch));
53 wl->scan.req = NULL;
65 if (wl->scan.failed) {
140 /* configure dwell times according to scan type */
142 struct conf_scan_settings *c = &wl->conf.scan;
342 if (wl->scan.state != WL1271_SCAN_STATE_IDLE)
345 wl->scan.state = WL1271_SCAN_STATE_2GHZ_ACTIVE;
348 wl->scan.ssid_len = ssid_len;
349 memcpy(wl->scan.ssid, ssid, ssid_len);
351 wl->scan.ssid_len = 0;
355 wl->scan.req = req;
356 memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch));
359 wl->scan.failed = true;
367 /* Returns the scan type to be used or a negative value on error */
378 wl1271_debug((DEBUG_CMD | DEBUG_SCAN), "cmd sched scan ssid list");
459 wl1271_error("cmd sched scan ssid list failed");
474 wl1271_debug(DEBUG_SCAN, "got periodic scan results");