Lines Matching full:scan

12 #include "fw/api/scan.h"
24 /* adaptive dwell max budget time [TU] for full scan */
26 /* adaptive dwell max budget time [TU] for directed scan */
34 /* number of scan channels */
45 /* minimal number of 2GHz and 5GHz channels in the regular scan request */
48 /* Number of iterations on the channel for mei filtered scan */
82 /* For CDB this is low band scan type, for non-CDB - type. */
234 * Force a non-fragmented scan in that case.
254 * in case of DCM with P2P GO set all scan requests as
255 * fast-balance scan
297 /* require rrm scan whenever the fw supports it */
323 * scan IEs, however the LMAC scan api contains both 2GHZ and 5GHZ IEs
325 * is just iwl_mvm_max_scan_ie_fw_cmd_room() / 2. Currently the scan
327 * bytes for scan IEs, which is clearly not enough. So meanwhile
329 * issue a scan in unified_scan_lmac and unified_sched_scan_lmac
342 "Scan offload iteration complete: status=0x%x scanned channels=%d\n",
346 IWL_DEBUG_SCAN(mvm, "Pass all scheduled scan results found\n");
355 IWL_DEBUG_SCAN(mvm, "Scheduled scan results\n");
387 /* scan status must be locked for proper checking */
390 /* We first check if we were stopping a scan, in which case we
394 * Note that we can have a stopping and a running scan
403 IWL_DEBUG_SCAN(mvm, "Scheduled scan %s, EBS status %s\n",
414 IWL_DEBUG_SCAN(mvm, "Regular scan %s, EBS status %s\n",
422 IWL_DEBUG_SCAN(mvm, "Scheduled scan %s, EBS status %s\n",
439 IWL_DEBUG_SCAN(mvm, "Regular scan %s, EBS status %s (FW)\n",
449 "got scan complete notification but no scan is running\n");
503 /* add SSIDs from scan SSID list */
599 IWL_DEBUG_SCAN(mvm, "Sending scheduled scan profile config\n");
614 "Sending scheduled scan with filtering, n_match_sets %d\n",
620 IWL_DEBUG_SCAN(mvm, "Sending Scheduled scan without filtering\n");
640 * The scan abort will return 1 for success or
642 * due to simply not being in an active scan which
643 * can occur if we send the scan abort before the
644 * microcode has notified us that a scan is completed.
646 IWL_DEBUG_SCAN(mvm, "SCAN OFFLOAD ABORT ret %d.\n", status);
765 * Unfortunately, right now the offload scan doesn't support randomising
767 * it in the driver. This means that the scan iterations won't really be
863 * 3. if only single scan, the single scan EBS API is supported;
867 * 6. the VIF is not an AP interface (scan wants survey results)
988 * If the number of iterations of the last scan plan is set to
990 * For example, when regular scan is requested the driver sets one scan
1220 * Check for fragmented scan on LMAC2 - high band.
1239 IWL_DEBUG_SCAN(mvm, "Sending UMAC scan config\n");
1279 IWL_DEBUG_SCAN(mvm, "Sending UMAC scan config\n");
1668 /* 6 GHz channels should only appear in a scan request
1670 * scan, which has to be passive.
1750 "scan: invalid BSSID at index %u, index_b=%u\n",
1788 * Avoid performing passive scan on non PSC channels unless the
1789 * scan is specifically a passive scan, i.e., no SSIDs
1790 * configured in the scan command.
1830 * In the following cases apply passive scan:
1831 * 1. Non fragmented scan:
1840 * 3. Fragmented scan:
1874 * The optimize the scan time, i.e., reduce the scan dwell time
1910 /* Hidden AP, cannot do passive scan */
1983 /* set fragmented ebs for fragmented scan on HB channels */
1991 * force EBS in case the scan is a fragmented and there is a need to take P2P
1992 * GO operation into consideration during scan operation.
2022 "6GHz passive scan: Not supported by FW\n");
2026 /* 6GHz passive scan allowed only on station interface */
2029 "6GHz passive scan: not station interface\n");
2034 * 6GHz passive scan is allowed in a defined time interval following HW
2036 * has passed since the last 6GHz passive scan.
2044 IWL_DEBUG_SCAN(mvm, "6GHz passive scan: %s\n",
2050 /* not enough channels in the regular scan request */
2053 "6GHz passive scan: not enough channels\n");
2062 /* not a wildcard scan, so cannot enable passive 6GHz scan */
2065 "6GHz passive scan: no wildcard SSID\n");
2071 "6GHz passive scan: no 6GHz channels\n");
2082 * scan
2086 "6GHz passive scan: 6GHz channels enabled\n");
2090 /* all conditions to enable 6ghz passive scan are satisfied */
2091 IWL_DEBUG_SCAN(mvm, "6GHz passive scan: can be enabled\n");
2103 * If no direct SSIDs are provided perform a passive scan. Otherwise,
2105 * that the scan is intended for roaming purposes and thus enable Rx on
2235 * only scan type on low band also for CDB.
2284 * If the number of iterations of the last scan plan is set to
2286 * For example, when regular scan is requested the driver sets one scan
2345 /* set fragmented ebs for fragmented scan on HB channels */
2640 * trying to run a scan type that is already running, we
2642 * different type of scan, we stop the opposite type to make
2645 * scheduled scan before starting a normal scan.
2648 /* FW supports only a single periodic scan */
2681 * another scheduled scan while suspended.
2689 /* Something is wrong if no scan was running but we
2709 IWL_ERR(mvm, "regular scan timed out\n");
2782 * override the scan request to scan only the associated channel and only for
2817 /* The mei filtered scan must find the AP, otherwise CSME will
2819 * make the scan more robust.
2826 IWL_DEBUG_SCAN(mvm, "Mei scan: num iterations=%u\n", scan_iters);
2989 IWL_ERR(mvm, "scan while LAR regdomain is not set\n");
3051 /* If the scan failed, it usually means that the FW was unable
3055 IWL_ERR(mvm, "Scan failed! ret %d\n", ret);
3060 IWL_DEBUG_SCAN(mvm, "Scan request send success: type=%u, uid=%u\n",
3105 IWL_ERR(mvm, "sched-scan while LAR regdomain is not set\n");
3140 * waiting for over 18 hours to start the scan is a bit silly
3200 "Sched scan request send success: type=%u, uid=%u\n",
3205 /* If the scan failed, it usually means that the FW was unable
3209 IWL_ERR(mvm, "Sched scan failed! ret %d\n", ret);
3231 "Scan completed: uid=%u type=%u, status=%s, EBS=%s\n",
3237 IWL_DEBUG_SCAN(mvm, "Scan completed: scan_status=0x%x\n",
3241 "Scan completed: line=%u, iter=%u, elapsed time=%u\n",
3248 /* if the scan is already stopping, we don't need to notify mac80211 */
3258 /* It is possible that by the time the scan is complete the link
3264 IWL_DEBUG_SCAN(mvm, "Scan link is no longer valid\n");
3274 IWL_DEBUG_SCAN(mvm, "Internal MLO scan completed\n");
3276 * Other scan types won't necessarily scan for the MLD links channels.
3277 * Therefore, only select links after successful internal scan.
3284 IWL_DEBUG_SCAN(mvm, "Scan completed: after update: scan_status=0x%x\n",
3306 "UMAC Scan iteration complete: status=0x%x scanned_channels=%d\n",
3310 IWL_DEBUG_SCAN(mvm, "Pass all scheduled scan results found\n");
3316 "UMAC Scan iteration complete: scan started at %llu (TSF)\n",
3328 * checked that this type of scan was running in the generic
3337 IWL_DEBUG_SCAN(mvm, "Sending scan abort, uid %u\n", uid);
3345 IWL_DEBUG_SCAN(mvm, "Scan abort: ret=%d\n", ret);
3363 IWL_DEBUG_SCAN(mvm, "Preparing to stop scan, type %x\n", type);
3371 IWL_DEBUG_SCAN(mvm, "couldn't stop scan type %d\n", type);
3454 /* Sched scan will be restarted by mac80211 in
3465 IWL_DEBUG_SCAN(mvm, "Internal MLO scan aborted\n");
3490 "UMAC scan UID %d status was not cleaned\n",
3504 /* Sched scan will be restarted by mac80211 in
3521 "Request to stop scan: type=0x%x, status=0x%x\n",
3536 IWL_DEBUG_SCAN(mvm, "Failed to stop scan\n");
3539 /* Clear the scan status so the next scan requests will
3540 * succeed and mark the scan as stopping, so that the Rx
3541 * handler doesn't do anything, as the scan was stopped from
3575 IWL_DEBUG_SCAN(mvm, "Starting Internal MLO scan: n_channels=%zu\n",
3607 IWL_DEBUG_SCAN(mvm, "Internal MLO scan: ret=%d\n", ret);
3621 IWL_DEBUG_SCAN(mvm, "Internal MLO scan is already running\n");