Lines Matching defs:scan

83 	uint8_t		se_seen;		/* seen during current scan */
91 u_int se_scangen; /* iterator scan gen# */
104 ieee80211_scan_table_lock_t st_lock; /* on scan table */
109 u_int st_scangen; /* scan generation # */
199 * Flush all per-scan state.
214 * Flush all entries in the scan cache.
232 * entry in the scan cache or update any previous entry.
361 /* only issue one notify event per scan */
497 checktable(const struct scanlist *scan, const struct ieee80211_channel *c)
501 for (; scan->list != NULL; scan++) {
502 for (i = 0; i < scan->count; i++)
503 if (scan->list[i] == c->ic_freq)
535 * Ignore dynamic turbo channels; we scan them
544 * If a desired mode was specified, scan only
559 * fixed scan order tables. This insures we
571 * - not already on the scan list
573 * - there is space in the scan list
590 const struct scanlist *scan;
599 for (scan = table; scan->list != NULL; scan++) {
600 mode = scan->mode;
608 * The scan table marks 2.4Ghz channels as b
633 * If a desired mode was specified, scan only
653 add_channels(vap, ss, mode, scan->list, scan->count);
719 * Start a station-mode scan by populating the channel list.
740 * Restart a scan, typically a bg scan but can
741 * also be a fg scan that came up empty.
753 * Cancel an ongoing scan.
838 * Used to select the best scan candidate for association in a BSS.
935 /* scan xrates too; sort of an algol68-style for loop */
982 * Test a scan candidate for suitability/compatibility.
999 * the channel list, but it's possible for the scan
1093 * in the scan list to 11b and retry the rate check.
1179 * this scan will not be penalized.
1244 * Manual/background scan, don't select+join the
1258 "%s: no scan candidate\n", __func__);
1271 return 0; /* restart scan */
1283 return 1; /* terminate scan */
1287 * Lookup an entry in the scan cache. We assume we're
1331 /* NB: the most up to date rssi is in the node, not the scan cache */
1350 * Scan cache contents are too old; force a scan now
1352 * decision with. We don't kick off a bg scan if
1355 * XXX force immediate switch on scan complete
1382 * Age entries in the scan cache.
1410 * Iterate over the entries in the scan cache, invoking
1516 * Start an adhoc-mode scan by populating the channel list.
1602 * Manual/background scan, don't select+join the
1616 "%s: no scan candidate\n", __func__);
1660 return 0; /* restart scan */
1680 return 1; /* terminate scan */
1684 * Age entries in the scan cache.
1742 * Cancel an ongoing scan.
1761 /* NB: use scan list order to preserve channel preference */
1807 return 0; /* restart scan */
1822 * Manual/background scan, don't select+join the
1874 * Manual/background scan, don't select+join the
1888 "%s: no scan candidate\n", __func__);
1922 return 0; /* restart scan */
1934 return 1; /* terminate scan */