Lines Matching refs:scan

76 	 * If there's no scan method pointer, attach the
191 const struct ieee80211_scanner *scan)
195 scanners[mode] = scan;
200 const struct ieee80211_scanner *scan)
204 if (scanners[mode] == scan)
209 ieee80211_scanner_unregister_all(const struct ieee80211_scanner *scan)
214 if (scanners[m] == scan)
228 const struct ieee80211_scanner *scan)
236 if (ss->ss_vap != vap || ss->ss_ops != scan) {
249 if (ss->ss_ops != scan) {
252 * case where a single scan module implements multiple
253 * policies by using different scan ops but a common
258 if (scan == NULL || ss->ss_ops == NULL ||
259 ss->ss_ops->scan_attach != scan->scan_attach) {
262 if (scan != NULL && !scan->scan_attach(ss)) {
265 scan = NULL;
268 ss->ss_ops = scan;
295 if_printf(vap->iv_ifp, "scan set ");
318 * Start a scan unless one is already going.
325 const struct ieee80211_scanner *scan;
328 scan = ieee80211_scanner_get(vap->iv_opmode);
329 if (scan == NULL) {
337 return ic->ic_scan_methods->sc_start_scan(scan, vap, flags, duration,
342 * Check the scan cache for an ap/channel to use; if that
343 * fails then kick off a new scan.
352 const struct ieee80211_scanner *scan;
355 scan = ieee80211_scanner_get(vap->iv_opmode);
356 if (scan == NULL) {
365 * Check if there's a list of scan candidates already.
371 "%s: %s scan, %s%s%s%s%s\n"
381 if (ss->ss_ops != scan) {
389 ieee80211_scan_update_locked(vap, scan);
391 result = ic->ic_scan_methods->sc_check_scan(scan, vap, flags, duration,
400 * Check the scan cache for an ap/channel to use; if that fails
401 * then kick off a scan using the current settings.
413 * Restart a previous scan. If the previous scan completed
420 const struct ieee80211_scanner *scan;
424 scan = ieee80211_scanner_get(vap->iv_opmode);
425 if (scan == NULL) {
438 return (ic->ic_scan_methods->sc_bg_scan(scan, vap, flags));
442 * Cancel any scan currently going on for the specified vap.
453 * Cancel any scan currently going on.
456 * a scan so a newly arrived normal data packet can be sent.
480 * Manually stop a scan that is currently running.
481 * Provided for drivers that are not able to scan single channels
586 * Timeout/age scan cache entries; called from sta timeout
599 * Mark a scan cache entry after a successful associate.
614 * Demerit a scan cache entry after failing to associate.
630 * Iterate over the contents of the scan cache.
643 * Flush the contents of the scan cache.
657 * Check the scan cache for an ap/channel to use; if that
658 * fails then kick off a new scan.
673 "%s: scan module does not support picking a channel, "