Lines Matching full:scanning

1093 	 * scanning and non-connectable advertising.  in hci_update_random_address_sync()
2156 /* If controller is not scanning we are done. */ in hci_scan_disable_sync()
2161 bt_dev_dbg(hdev, "Scanning is paused for suspend"); in hci_scan_disable_sync()
2167 bt_dev_err(hdev, "Unable to disable scanning: %d", err); in hci_scan_disable_sync()
2552 /* Cannot disable addr resolution if scanning is enabled or in hci_pause_addr_resolution()
2646 /* Device must not be scanning when updating the accept list.
2656 * Enable Scanning
2805 * - Interleaved scanning is not currently using the allowlist in hci_update_accept_list_sync()
2945 bt_dev_dbg(hdev, "Scanning is paused for suspend"); in hci_start_scan_sync()
2966 bt_dev_dbg(hdev, "Scanning is paused for suspend"); in hci_passive_scan_sync()
2972 bt_dev_err(hdev, "disable scanning failed: %d", err); in hci_passive_scan_sync()
2977 * during passive scanning. Not using an non-resolvable address in hci_passive_scan_sync()
2993 * happen before enabling scanning. The controller does in hci_passive_scan_sync()
2994 * not allow accept list modification while scanning. in hci_passive_scan_sync()
2999 * passive scanning cannot be started since that would require the host in hci_passive_scan_sync()
3042 /* Disable duplicates filter when scanning for advertisement in hci_passive_scan_sync()
3050 * scanning, it is necessary to disable duplicates filter, in hci_passive_scan_sync()
3072 /* This function controls the passive scanning based on hdev->pend_le_conns
3073 * list. If there are pending LE connection we start the background scanning,
3078 * Disable Scanning -> Update Accept List ->
3081 * Enable Scanning
3085 * Disable Scanning
3099 /* No point in doing scanning if LE support hasn't been enabled */ in hci_update_passive_scan_sync()
3107 /* Reset RSSI and UUID filters when starting background scanning in hci_update_passive_scan_sync()
3126 * background scanning. in hci_update_passive_scan_sync()
3129 bt_dev_dbg(hdev, "stopping background scanning"); in hci_update_passive_scan_sync()
3133 bt_dev_err(hdev, "stop background scanning failed: %d", in hci_update_passive_scan_sync()
3140 /* If controller is connecting, we should not start scanning in hci_update_passive_scan_sync()
3147 bt_dev_dbg(hdev, "start background scanning"); in hci_update_passive_scan_sync()
3151 bt_dev_err(hdev, "start background scanning failed: %d", in hci_update_passive_scan_sync()
5460 /* Return reason if scanning since the connection shall probably be in hci_le_connect_cancel_sync()
5608 * or in case of LE it was still scanning so it can be cleanup in hci_abort_conn_sync()
5860 /* If controller is scanning, it means the passive scanning is in hci_active_scan_sync()
5862 * discovery scanning parameters. in hci_active_scan_sync()
5866 bt_dev_err(hdev, "Unable to disable scanning: %d", err); in hci_active_scan_sync()
5893 * advertisement for one peer(*) during active scanning, and in hci_active_scan_sync()
5915 /* Resume passive scanning */ in hci_active_scan_sync()
5944 /* When running simultaneous discovery, the LE scanning time in hci_start_discovery_sync()
5946 * and LE scanning are scheduled by the controller. in hci_start_discovery_sync()
5949 * and LE scanning are done sequentially with separate in hci_start_discovery_sync()
6021 bool scanning = test_bit(HCI_PSCAN, &hdev->flags); in hci_update_event_filter_sync() local
6053 if (scan && !scanning) in hci_update_event_filter_sync()
6055 else if (!scan && scanning) in hci_update_event_filter_sync()
6080 * Pause discovery (active scanning/inquiry)
6082 * Pause Scanning (passive scanning in case discovery was not active)
6088 * Update passive scanning (lower duty cycle)
6111 /* Prevent disconnects from causing scanning to be re-enabled */ in hci_suspend_sync()
6138 /* Unpause to take care of updating scanning params */ in hci_suspend_sync()
6197 /* Reset passive scanning to normal */ in hci_resume_scan_sync()
6207 * Update passive scanning (normal duty cycle)
6209 * Resume discovery (active scanning/inquiry)
6225 /* Resume scanning */ in hci_resume_sync()
6448 /* If we're active scanning and simultaneous roles is not in hci_le_create_conn_sync()
6482 /* If controller is scanning, we stop it since some controllers are in hci_le_create_conn_sync()