Lines Matching defs:scan
1807 /* list of space separated channels to scan, optionally ending with 0 */
2329 IPW_DEBUG_SCAN("Scan completion watchdog aborting scan "
4328 * 1st missed -> roaming_threshold, just wait, don't do any scan/roam.
4329 * roaming_threshold -> disassociate_threshold, scan and roam for better signal.
4349 "Aborting scan with missed beacon.\n");
4370 * bit in the status and kick off a scan.
4386 /* Stop scan to keep fw from getting
4388 * otherwise we'll never scan more than 2 or 3
4391 "Aborting scan with missed beacon.\n");
4412 /* Only userspace-requested scan completion events go out immediately */
4741 /* If a scan completed and we are in roam mode, then
4742 * the scan that completed was the one requested as a
4747 /* Don't schedule if we aborted the scan */
4761 * Also, we generate this even for any scan, regardless
4762 * on how the scan was initiated. User space can just
4763 * sync on periodic scan to get fresh data...
5364 * mask should ever be used -- right now all callers to add the scan rates are
5555 * want to put too much policy logic here; intelligent scan selection
5750 * want to put too much policy logic here; intelligent scan selection
6099 IPW_DEBUG_HC("Ignoring concurrent scan abort request.\n");
6106 IPW_DEBUG_HC("Request to abort scan failed.\n");
6110 struct ipw_scan_request_ext *scan,
6126 scan->channels_list[channel_index] = geo->a[i].channel;
6127 ipw_set_scan_type(scan, channel_index,
6135 scan->channels_list[start] = (u8) (IPW_A_MODE << 6) |
6165 * added in scan, break from loop
6167 * in the next scan.
6175 scan->channels_list[channel_index] = channel;
6178 ipw_set_scan_type(scan, channel_index,
6191 scan->channels_list[channel_index] =
6193 ipw_set_scan_type(scan, channel_index,
6203 scan->channels_list[start] = (u8) (IPW_B_MODE << 6) |
6212 * scan, while associated, causes the firmware to cancel the scan
6225 struct ipw_scan_request_ext scan;
6235 IPW_DEBUG_HC("Direct scan requested but no SSID to scan for\n");
6241 IPW_DEBUG_HC("Concurrent scan requested. Queuing.\n");
6256 IPW_DEBUG_HC("Queuing scan due to RF Kill activation\n");
6262 memset(&scan, 0, sizeof(scan));
6263 scan.full_scan_index = cpu_to_le32(libipw_get_scans(priv->ieee));
6268 scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] =
6270 ipw_add_scan_channels(priv, &scan, scan_type);
6274 /* Use active scan by default. */
6276 scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_SCAN] =
6279 scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_SCAN] =
6282 scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_AND_DIRECT_SCAN] =
6285 scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] =
6287 scan.dwell_time[IPW_SCAN_ACTIVE_DIRECT_SCAN] = cpu_to_le16(20);
6311 scan.channels_list[0] = band;
6312 scan.channels_list[1] = channel;
6313 ipw_set_scan_type(&scan, 1, IPW_SCAN_PASSIVE_FULL_DWELL_SCAN);
6323 scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] =
6328 * this a direct scan for the current network. Finally,
6329 * ensure that every other scan is a fast channel hop scan */
6343 && (le32_to_cpu(scan.full_scan_index) % 2))) {
6355 ipw_add_scan_channels(priv, &scan, scan_type);
6361 err = ipw_send_scan_request_ext(priv, &scan);
6363 IPW_DEBUG_HC("Sending scan command failed: %08X\n", err);
7409 * setting the status ROAM bit and requesting a scan.
7410 * 2. When the scan completes, it schedules the ROAM work
8578 IPW_DEBUG_SCAN("Took %dms to abort current scan\n",
9409 /* Normal active broadcast scan */
9415 IPW_DEBUG_WX("Start scan\n");
10581 /* Queue up another scan... */
11109 /* Age scan list entries found before suspend */
11162 * off a scan. */
11198 IPW_DEBUG_INFO("Aborting scan during shutdown.\n");