Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching full:scan

24 #include "scan.h"
128 "end of scan list - go back to beginning");
213 * wpa_supplicant_trigger_scan - Request driver to start a scan
215 * @params: Scan parameters
244 wpa_dbg(wpa_s, MSG_DEBUG, "Starting delayed sched scan");
256 wpa_dbg(wpa_s, MSG_DEBUG, "Sched scan timeout - stopping it");
336 /* Optimize provisioning state scan based on GO information */
339 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Scan only GO "
347 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Scan only common "
361 * Optimize post-provisioning scan based on channel used
364 wpa_dbg(wpa_s, MSG_DEBUG, "WPS: Scan only frequency %u MHz "
374 /* Optimize provisioning scan based on already known channel */
375 wpa_dbg(wpa_s, MSG_DEBUG, "WPS: Scan only frequency %u MHz",
558 wpa_dbg(wpa_s, MSG_DEBUG, "Skip scan - interface disabled");
564 wpa_dbg(wpa_s, MSG_DEBUG, "Disconnected - do not scan");
571 /* If we are already in scanning state, we shall ignore this new scan request*/
572 wpa_dbg(wpa_s, MSG_DEBUG, "Skip scan - already scanning");
578 wpa_dbg(wpa_s, MSG_DEBUG, "No enabled networks - do not scan");
603 "mode scan during P2P search");
605 wpa_dbg(wpa_s, MSG_DEBUG, "Delay station mode scan "
637 goto scan;
648 "without scan step");
657 wpa_printf(MSG_DEBUG, "P2P: Use specific SSID for scan during "
686 * User-initiated scan request in ap_scan == 2; scan with
699 wpa_hexdump_ascii(MSG_DEBUG, "Scan SSID",
736 * waiting a long time for a wildcard scan.
742 wpa_dbg(wpa_s, MSG_DEBUG, "Starting AP scan for "
748 "Starting AP scan for specific SSID: %s",
756 "the scan request");
761 wpa_dbg(wpa_s, MSG_DEBUG, "Starting AP scan for wildcard "
772 wpa_dbg(wpa_s, MSG_DEBUG, "Optimize scan based on previously "
780 /* See if user specified frequencies. If so, scan only those. */
783 "Optimize scan based on conf->freq_list");
795 wpa_dbg(wpa_s, MSG_DEBUG, "Scan only the "
825 scan:
830 * is operating there may not be need to scan other channels apart from
847 wpa_dbg(wpa_s, MSG_DEBUG, "Scan only the current operating channels since all channels are already used");
863 wpa_msg(wpa_s, MSG_WARNING, "Failed to initiate AP scan");
866 /* Restore scan_req since we will try to scan again */
897 * wpa_supplicant_req_scan - Schedule a scan for neighboring access points
899 * @sec: Number of seconds after which to scan
900 * @usec: Number of microseconds after which to scan
902 * This function is used to schedule a scan for neighboring access points after
909 * then don't cancel the scan and reschedule. Some drivers do
910 * background scanning which generates frequent scan results, and that
911 * causes the specific SSID scan to get continually pushed back and
925 wpa_dbg(wpa_s, MSG_DEBUG, "Not rescheduling scan to "
931 wpa_dbg(wpa_s, MSG_DEBUG, "Setting scan request: %d sec %d usec",
939 * wpa_supplicant_delayed_sched_scan - Request a delayed scheduled scan
941 * @sec: Number of seconds after which to scan
942 * @usec: Number of microseconds after which to scan
963 * wpa_supplicant_req_sched_scan - Start a periodic scheduled scan
968 * access points repeating the scan continuously.
1010 * Normal scan is more reliable and faster for WPS
1015 wpa_dbg(wpa_s, MSG_DEBUG, "Use normal scan instead of "
1028 * When normal scan can speed up operations, use that for the
1030 * user space sleep more. We do this only if the normal scan
1034 wpa_dbg(wpa_s, MSG_DEBUG, "Use normal scan instead of "
1053 goto scan;
1112 "add to active scan ssid: %s",
1148 scan:
1151 "Starting sched scan: interval %d timeout %d",
1155 "Starting sched scan: interval %d (no timeout)",
1166 wpa_msg(wpa_s, MSG_WARNING, "Failed to initiate sched scan");
1172 /* If we have more SSIDs to scan, add a timeout so we scan them too */
1196 * wpa_supplicant_cancel_scan - Cancel a scheduled scan request
1199 * This function is used to cancel a scan request scheduled with
1204 wpa_dbg(wpa_s, MSG_DEBUG, "Cancelling scan request");
1214 * wpa_supplicant_cancel_delayed_sched_scan - Stop a delayed scheduled scan
1217 * This function is used to stop a delayed scheduled scan.
1224 wpa_dbg(wpa_s, MSG_DEBUG, "Cancelling delayed sched scan");
1234 scan.
1241 wpa_dbg(wpa_s, MSG_DEBUG, "Cancelling sched scan");
1248 * wpa_supplicant_notify_scanning - Indicate possible scan state change
1253 * there may have been a change in scanning (scan started, completed, stopped).
1290 * wpa_scan_get_ie - Fetch a specified information element from a scan result
1291 * @res: Scan result entry
1295 * This function returns the first matching information element in the scan
1318 * wpa_scan_get_vendor_ie - Fetch vendor information element from a scan result
1319 * @res: Scan result entry
1323 * This function returns the first matching information element in the scan
1348 * wpa_scan_get_vendor_ie_multi - Fetch vendor IE data from a scan result
1349 * @res: Scan result entry
1354 * specific information elements in the scan result. The caller is responsible
1398 /* Compare function for sorting scan results. Return >0 if @b is considered
1465 /* Compare function for sorting scan results when searching a WPS AP for
1520 wpa_printf(MSG_EXCESSIVE, "Sorted scan results");
1559 * This function is used to filter out specific BSSIDs from scan reslts mainly
1599 wpa_printf(MSG_DEBUG, "Filtered out %d scan results",
1607 * wpa_supplicant_get_scan_results - Get scan results
1610 * @new_scan: Whether a new scan was performed
1611 * Returns: Scan results, %NULL on failure
1613 * This function request the current scan results from the driver and updates
1627 wpa_dbg(wpa_s, MSG_DEBUG, "Failed to get scan results");
1641 wpa_dbg(wpa_s, MSG_DEBUG, "WPS: Order scan results with WPS "
1662 * wpa_supplicant_update_scan_results - Update scan results from the driver
1667 * currently available scan results from the driver without requesting a new
1668 * scan. This is used in cases where the driver indicates an association
1686 * scan_only_handler - Reports scan results
1691 wpa_dbg(wpa_s, MSG_DEBUG, "Scan-only results received");