Lines Matching refs:scan
1839 /* list of space separated channels to scan, optionally ending with 0 */
2361 IPW_DEBUG_SCAN("Scan completion watchdog aborting scan "
4374 * 1st missed -> roaming_threshold, just wait, don't do any scan/roam.
4375 * roaming_threshold -> disassociate_threshold, scan and roam for better signal.
4395 "Aborting scan with missed beacon.\n");
4416 * bit in the status and kick off a scan.
4432 /* Stop scan to keep fw from getting
4434 * otherwise we'll never scan more than 2 or 3
4437 "Aborting scan with missed beacon.\n");
4458 /* Only userspace-requested scan completion events go out immediately */
4787 /* If a scan completed and we are in roam mode, then
4788 * the scan that completed was the one requested as a
4793 /* Don't schedule if we aborted the scan */
4807 * Also, we generate this even for any scan, regardless
4808 * on how the scan was initiated. User space can just
4809 * sync on periodic scan to get fresh data...
5410 * mask should ever be used -- right now all callers to add the scan rates are
5601 * want to put too much policy logic here; intelligent scan selection
5796 * want to put too much policy logic here; intelligent scan selection
6145 IPW_DEBUG_HC("Ignoring concurrent scan abort request.\n");
6152 IPW_DEBUG_HC("Request to abort scan failed.\n");
6156 struct ipw_scan_request_ext *scan,
6172 scan->channels_list[channel_index] = geo->a[i].channel;
6173 ipw_set_scan_type(scan, channel_index,
6181 scan->channels_list[start] = (u8) (IPW_A_MODE << 6) |
6211 * added in scan, break from loop
6213 * in the next scan.
6221 scan->channels_list[channel_index] = channel;
6224 ipw_set_scan_type(scan, channel_index,
6237 scan->channels_list[channel_index] =
6239 ipw_set_scan_type(scan, channel_index,
6249 scan->channels_list[start] = (u8) (IPW_B_MODE << 6) |
6258 * scan, while associated, causes the firmware to cancel the scan
6271 struct ipw_scan_request_ext scan;
6281 IPW_DEBUG_HC("Direct scan requested but no SSID to scan for\n");
6287 IPW_DEBUG_HC("Concurrent scan requested. Queuing.\n");
6302 IPW_DEBUG_HC("Queuing scan due to RF Kill activation\n");
6308 memset(&scan, 0, sizeof(scan));
6309 scan.full_scan_index = cpu_to_le32(libipw_get_scans(priv->ieee));
6314 scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] =
6316 ipw_add_scan_channels(priv, &scan, scan_type);
6320 /* Use active scan by default. */
6322 scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_SCAN] =
6325 scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_SCAN] =
6328 scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_AND_DIRECT_SCAN] =
6331 scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] =
6333 scan.dwell_time[IPW_SCAN_ACTIVE_DIRECT_SCAN] = cpu_to_le16(20);
6357 scan.channels_list[0] = band;
6358 scan.channels_list[1] = channel;
6359 ipw_set_scan_type(&scan, 1, IPW_SCAN_PASSIVE_FULL_DWELL_SCAN);
6369 scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] =
6374 * this a direct scan for the current network. Finally,
6375 * ensure that every other scan is a fast channel hop scan */
6389 && (le32_to_cpu(scan.full_scan_index) % 2))) {
6401 ipw_add_scan_channels(priv, &scan, scan_type);
6407 err = ipw_send_scan_request_ext(priv, &scan);
6409 IPW_DEBUG_HC("Sending scan command failed: %08X\n", err);
7455 * setting the status ROAM bit and requesting a scan.
7456 * 2. When the scan completes, it schedules the ROAM work
8624 IPW_DEBUG_SCAN("Took %dms to abort current scan\n",
9455 /* Normal active broadcast scan */
9461 IPW_DEBUG_WX("Start scan\n");
10627 /* Queue up another scan... */
11155 /* Age scan list entries found before suspend */
11208 * off a scan. */
11244 IPW_DEBUG_INFO("Aborting scan during shutdown.\n");