Lines Matching full:scan

12 #include "fw/api/scan.h"
25 /* adaptive dwell max budget time [TU] for full scan */
27 /* adaptive dwell max budget time [TU] for directed scan */
35 /* number of scan channels */
46 /* minimal number of 2GHz and 5GHz channels in the regular scan request */
78 /* For CDB this is low band scan type, for non-CDB - type. */
239 * set all scan requests as fast-balance scan in _iwl_mvm_get_scan_type()
292 /* require rrm scan whenever the fw supports it */ in iwl_mvm_rrm_scan_needed()
318 * scan IEs, however the LMAC scan api contains both 2GHZ and 5GHZ IEs in iwl_mvm_max_scan_ie_len()
320 * is just iwl_mvm_max_scan_ie_fw_cmd_room() / 2. Currently the scan in iwl_mvm_max_scan_ie_len()
322 * bytes for scan IEs, which is clearly not enough. So meanwhile in iwl_mvm_max_scan_ie_len()
324 * issue a scan in unified_scan_lmac and unified_sched_scan_lmac in iwl_mvm_max_scan_ie_len()
337 "Scan offload iteration complete: status=0x%x scanned channels=%d\n", in iwl_mvm_rx_lmac_scan_iter_complete_notif()
341 IWL_DEBUG_SCAN(mvm, "Pass all scheduled scan results found\n"); in iwl_mvm_rx_lmac_scan_iter_complete_notif()
350 IWL_DEBUG_SCAN(mvm, "Scheduled scan results\n"); in iwl_mvm_rx_scan_match_found()
382 /* scan status must be locked for proper checking */ in iwl_mvm_rx_lmac_scan_complete_notif()
385 /* We first check if we were stopping a scan, in which case we in iwl_mvm_rx_lmac_scan_complete_notif()
389 * Note that we can have a stopping and a running scan in iwl_mvm_rx_lmac_scan_complete_notif()
398 IWL_DEBUG_SCAN(mvm, "Scheduled scan %s, EBS status %s\n", in iwl_mvm_rx_lmac_scan_complete_notif()
409 IWL_DEBUG_SCAN(mvm, "Regular scan %s, EBS status %s\n", in iwl_mvm_rx_lmac_scan_complete_notif()
417 IWL_DEBUG_SCAN(mvm, "Scheduled scan %s, EBS status %s\n", in iwl_mvm_rx_lmac_scan_complete_notif()
434 IWL_DEBUG_SCAN(mvm, "Regular scan %s, EBS status %s (FW)\n", in iwl_mvm_rx_lmac_scan_complete_notif()
444 "got scan complete notification but no scan is running\n"); in iwl_mvm_rx_lmac_scan_complete_notif()
494 /* add SSIDs from scan SSID list */ in iwl_scan_build_ssids()
588 IWL_DEBUG_SCAN(mvm, "Sending scheduled scan profile config\n"); in iwl_mvm_config_sched_scan_profiles()
603 "Sending scheduled scan with filtering, n_match_sets %d\n", in iwl_mvm_scan_pass_all()
609 IWL_DEBUG_SCAN(mvm, "Sending Scheduled scan without filtering\n"); in iwl_mvm_scan_pass_all()
629 * The scan abort will return 1 for success or in iwl_mvm_lmac_scan_abort()
631 * due to simply not being in an active scan which in iwl_mvm_lmac_scan_abort()
632 * can occur if we send the scan abort before the in iwl_mvm_lmac_scan_abort()
633 * microcode has notified us that a scan is completed. in iwl_mvm_lmac_scan_abort()
635 IWL_DEBUG_SCAN(mvm, "SCAN OFFLOAD ABORT ret %d.\n", status); in iwl_mvm_lmac_scan_abort()
758 * Unfortunately, right now the offload scan doesn't support randomising in iwl_mvm_build_scan_probe()
760 * it in the driver. This means that the scan iterations won't really be in iwl_mvm_build_scan_probe()
856 * 3. if only single scan, the single scan EBS API is supported; in iwl_mvm_scan_use_ebs()
979 * If the number of iterations of the last scan plan is set to in iwl_mvm_scan_lmac()
981 * For example, when regular scan is requested the driver sets one scan in iwl_mvm_scan_lmac()
1213 * Check for fragmented scan on LMAC2 - high band. in iwl_mvm_legacy_config_scan()
1232 IWL_DEBUG_SCAN(mvm, "Sending UMAC scan config\n"); in iwl_mvm_legacy_config_scan()
1274 IWL_DEBUG_SCAN(mvm, "Sending UMAC scan config\n"); in iwl_mvm_config_scan()
1763 * The optimize the scan time, i.e., reduce the scan dwell time in iwl_mvm_umac_scan_cfg_channels_v6_6g()
1793 * matching SSID, i.e., scan for hidden in iwl_mvm_umac_scan_cfg_channels_v6_6g()
1839 * In the following cases apply passive scan: in iwl_mvm_umac_scan_cfg_channels_v6_6g()
1840 * 1. Non fragmented scan: in iwl_mvm_umac_scan_cfg_channels_v6_6g()
1849 * 3. Fragmented scan: in iwl_mvm_umac_scan_cfg_channels_v6_6g()
1892 /* set fragmented ebs for fragmented scan on HB channels */ in iwl_mvm_scan_umac_chan_flags_v2()
1915 "6GHz passive scan: Not supported by FW\n"); in iwl_mvm_scan_6ghz_passive_scan()
1919 /* 6GHz passive scan allowed only on station interface */ in iwl_mvm_scan_6ghz_passive_scan()
1922 "6GHz passive scan: not station interface\n"); in iwl_mvm_scan_6ghz_passive_scan()
1927 * 6GHz passive scan is allowed while associated in a defined time in iwl_mvm_scan_6ghz_passive_scan()
1934 IWL_DEBUG_SCAN(mvm, "6GHz passive scan: associated\n"); in iwl_mvm_scan_6ghz_passive_scan()
1938 /* No need for 6GHz passive scan if not enough time elapsed */ in iwl_mvm_scan_6ghz_passive_scan()
1942 "6GHz passive scan: timeout did not expire\n"); in iwl_mvm_scan_6ghz_passive_scan()
1946 /* not enough channels in the regular scan request */ in iwl_mvm_scan_6ghz_passive_scan()
1949 "6GHz passive scan: not enough channels\n"); in iwl_mvm_scan_6ghz_passive_scan()
1958 /* not a wildcard scan, so cannot enable passive 6GHz scan */ in iwl_mvm_scan_6ghz_passive_scan()
1961 "6GHz passive scan: no wildcard SSID\n"); in iwl_mvm_scan_6ghz_passive_scan()
1967 "6GHz passive scan: no 6GHz channels\n"); in iwl_mvm_scan_6ghz_passive_scan()
1978 * scan in iwl_mvm_scan_6ghz_passive_scan()
1982 "6GHz passive scan: 6GHz channels enabled\n"); in iwl_mvm_scan_6ghz_passive_scan()
1986 /* all conditions to enable 6ghz passive scan are satisfied */ in iwl_mvm_scan_6ghz_passive_scan()
1987 IWL_DEBUG_SCAN(mvm, "6GHz passive scan: can be enabled\n"); in iwl_mvm_scan_6ghz_passive_scan()
2084 * only scan type on low band also for CDB. in iwl_mvm_scan_umac_flags()
2133 * If the number of iterations of the last scan plan is set to in iwl_mvm_fill_scan_sched_params()
2135 * For example, when regular scan is requested the driver sets one scan in iwl_mvm_fill_scan_sched_params()
2196 /* set fragmented ebs for fragmented scan on HB channels */ in iwl_mvm_scan_umac()
2432 * trying to run a scan type that is already running, we in iwl_mvm_check_running_scans()
2434 * different type of scan, we stop the opposite type to make in iwl_mvm_check_running_scans()
2437 * scheduled scan before starting a normal scan. in iwl_mvm_check_running_scans()
2440 /* FW supports only a single periodic scan */ in iwl_mvm_check_running_scans()
2473 * another scheduled scan while suspended. in iwl_mvm_check_running_scans()
2481 /* Something is wrong if no scan was running but we in iwl_mvm_check_running_scans()
2501 IWL_ERR(mvm, "regular scan timed out\n"); in iwl_mvm_scan_timeout_wk()
2600 IWL_ERR(mvm, "scan while LAR regdomain is not set\n"); in iwl_mvm_reg_scan_start()
2653 /* If the scan failed, it usually means that the FW was unable in iwl_mvm_reg_scan_start()
2657 IWL_ERR(mvm, "Scan failed! ret %d\n", ret); in iwl_mvm_reg_scan_start()
2663 IWL_DEBUG_SCAN(mvm, "Scan request was sent successfully\n"); in iwl_mvm_reg_scan_start()
2695 IWL_ERR(mvm, "sched-scan while LAR regdomain is not set\n"); in iwl_mvm_sched_scan_start()
2728 * waiting for over 18 hours to start the scan is a bit silly in iwl_mvm_sched_scan_start()
2790 "Sched scan request was sent successfully\n"); in iwl_mvm_sched_scan_start()
2793 /* If the scan failed, it usually means that the FW was unable in iwl_mvm_sched_scan_start()
2797 IWL_ERR(mvm, "Sched scan failed! ret %d\n", ret); in iwl_mvm_sched_scan_start()
2816 /* if the scan is already stopping, we don't need to notify mac80211 */ in iwl_mvm_rx_umac_scan_complete_notif()
2835 "Scan completed, uid %u type %u, status %s, EBS status %s\n", in iwl_mvm_rx_umac_scan_complete_notif()
2861 "UMAC Scan iteration complete: status=0x%x scanned_channels=%d\n", in iwl_mvm_rx_umac_scan_iter_complete_notif()
2865 IWL_DEBUG_SCAN(mvm, "Pass all scheduled scan results found\n"); in iwl_mvm_rx_umac_scan_iter_complete_notif()
2871 "UMAC Scan iteration complete: scan started at %llu (TSF)\n", in iwl_mvm_rx_umac_scan_iter_complete_notif()
2883 * checked that this type of scan was running in the generic in iwl_mvm_umac_scan_abort()
2892 IWL_DEBUG_SCAN(mvm, "Sending scan abort, uid %u\n", uid); in iwl_mvm_umac_scan_abort()
2918 IWL_DEBUG_SCAN(mvm, "Preparing to stop scan, type %x\n", type); in iwl_mvm_scan_stop_wait()
2926 IWL_DEBUG_SCAN(mvm, "couldn't stop scan type %d\n", type); in iwl_mvm_scan_stop_wait()
3009 /* Sched scan will be restarted by mac80211 in in iwl_mvm_report_scan_aborted()
3034 "UMAC scan UID %d status was not cleaned\n", in iwl_mvm_report_scan_aborted()
3048 /* Sched scan will be restarted by mac80211 in in iwl_mvm_report_scan_aborted()
3076 /* Clear the scan status so the next scan requests will in iwl_mvm_scan_stop()
3077 * succeed and mark the scan as stopping, so that the Rx in iwl_mvm_scan_stop()
3078 * handler doesn't do anything, as the scan was stopped from in iwl_mvm_scan_stop()