Lines Matching full:scan
16 #include "scan.h"
40 if (wl->scan.state == WL1271_SCAN_STATE_IDLE) in wl1271_scan_complete_work()
46 * Rearm the tx watchdog just before idling scan. This in wl1271_scan_complete_work()
51 wl->scan.state = WL1271_SCAN_STATE_IDLE; in wl1271_scan_complete_work()
52 memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); in wl1271_scan_complete_work()
53 wl->scan.req = NULL; in wl1271_scan_complete_work()
65 if (wl->scan.failed) { in wl1271_scan_complete_work()
66 wl1271_info("Scan completed due to error."); in wl1271_scan_complete_work()
140 /* configure dwell times according to scan type */ in wlcore_scan_get_channels()
142 struct conf_scan_settings *c = &wl->conf.scan; in wlcore_scan_get_channels()
342 if (wl->scan.state != WL1271_SCAN_STATE_IDLE) in wlcore_scan()
345 wl->scan.state = WL1271_SCAN_STATE_2GHZ_ACTIVE; in wlcore_scan()
348 wl->scan.ssid_len = ssid_len; in wlcore_scan()
349 memcpy(wl->scan.ssid, ssid, ssid_len); in wlcore_scan()
351 wl->scan.ssid_len = 0; in wlcore_scan()
355 wl->scan.req = req; in wlcore_scan()
356 memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); in wlcore_scan()
359 wl->scan.failed = true; in wlcore_scan()
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"); in wlcore_scan_sched_scan_ssid_list()
459 wl1271_error("cmd sched scan ssid list failed"); in wlcore_scan_sched_scan_ssid_list()
474 wl1271_debug(DEBUG_SCAN, "got periodic scan results"); in wlcore_scan_sched_scan_results()