Lines Matching full:scan
78 * If there's no scan method pointer, attach the
198 const struct ieee80211_scanner *scan)
202 scanners[mode] = scan;
207 const struct ieee80211_scanner *scan)
211 if (scanners[mode] == scan)
216 ieee80211_scanner_unregister_all(const struct ieee80211_scanner *scan)
221 if (scanners[m] == scan)
235 const struct ieee80211_scanner *scan)
243 if (ss->ss_vap != vap || ss->ss_ops != scan) {
256 if (ss->ss_ops != scan) {
259 * case where a single scan module implements multiple
260 * policies by using different scan ops but a common
265 if (scan == NULL || ss->ss_ops == NULL ||
266 ss->ss_ops->scan_attach != scan->scan_attach) {
269 if (scan != NULL && !scan->scan_attach(ss)) {
272 scan = NULL;
275 ss->ss_ops = scan;
302 if_printf(vap->iv_ifp, "scan set ");
325 * Start a scan unless one is already going.
332 const struct ieee80211_scanner *scan;
335 scan = ieee80211_scanner_get(vap->iv_opmode);
336 if (scan == NULL) {
344 return ic->ic_scan_methods->sc_start_scan(scan, vap, flags, duration,
349 * Check the scan cache for an ap/channel to use; if that
350 * fails then kick off a new scan.
359 const struct ieee80211_scanner *scan;
362 scan = ieee80211_scanner_get(vap->iv_opmode);
363 if (scan == NULL) {
372 * Check if there's a list of scan candidates already.
378 "%s: %s scan, %s%s%s%s%s\n"
388 if (ss->ss_ops != scan) {
396 ieee80211_scan_update_locked(vap, scan);
398 result = ic->ic_scan_methods->sc_check_scan(scan, vap, flags, duration,
407 * Check the scan cache for an ap/channel to use; if that fails
408 * then kick off a scan using the current settings.
420 * Restart a previous scan. If the previous scan completed
427 const struct ieee80211_scanner *scan;
431 scan = ieee80211_scanner_get(vap->iv_opmode);
432 if (scan == NULL) {
445 return (ic->ic_scan_methods->sc_bg_scan(scan, vap, flags));
449 * Cancel any scan currently going on for the specified vap.
460 * Cancel any scan currently going on.
463 * a scan so a newly arrived normal data packet can be sent.
487 * Manually stop a scan that is currently running.
488 * Provided for drivers that are not able to scan single channels
593 * Timeout/age scan cache entries; called from sta timeout
606 * Mark a scan cache entry after a successful associate.
622 * Demerit a scan cache entry after failing to associate.
638 * Iterate over the contents of the scan cache.
651 * Flush the contents of the scan cache.
665 * Check the scan cache for an ap/channel to use; if that
666 * fails then kick off a new scan.
681 "%s: scan module does not support picking a channel, "