• Home
  • Raw
  • Download

Lines Matching full:scanning

423 	/* If controller is not scanning we are done. */  in hci_le_scan_restart_sync()
428 bt_dev_dbg(hdev, "Scanning is paused for suspend"); in hci_le_scan_restart_sync()
1111 * scanning and non-connectable advertising. in hci_update_random_address_sync()
2261 /* If controller is not scanning we are done. */ in hci_scan_disable_sync()
2266 bt_dev_dbg(hdev, "Scanning is paused for suspend"); in hci_scan_disable_sync()
2272 bt_dev_err(hdev, "Unable to disable scanning: %d", err); in hci_scan_disable_sync()
2666 /* Cannot disable addr resolution if scanning is enabled or in hci_pause_addr_resolution()
2750 /* Device must not be scanning when updating the accept list.
2760 * Enable Scanning
2884 * - Interleaved scanning is not currently using the allowlist in hci_update_accept_list_sync()
3024 bt_dev_dbg(hdev, "Scanning is paused for suspend"); in hci_start_scan_sync()
3045 bt_dev_dbg(hdev, "Scanning is paused for suspend"); in hci_passive_scan_sync()
3051 bt_dev_err(hdev, "disable scanning failed: %d", err); in hci_passive_scan_sync()
3056 * during passive scanning. Not using an non-resolvable address in hci_passive_scan_sync()
3072 * happen before enabling scanning. The controller does in hci_passive_scan_sync()
3073 * not allow accept list modification while scanning. in hci_passive_scan_sync()
3078 * passive scanning cannot be started since that would require the host in hci_passive_scan_sync()
3121 /* Disable duplicates filter when scanning for advertisement in hci_passive_scan_sync()
3129 * scanning, it is necessary to disable duplicates filter, in hci_passive_scan_sync()
3151 /* This function controls the passive scanning based on hdev->pend_le_conns
3152 * list. If there are pending LE connection we start the background scanning,
3157 * Disable Scanning -> Update Accept List ->
3160 * Enable Scanning
3164 * Disable Scanning
3178 /* No point in doing scanning if LE support hasn't been enabled */ in hci_update_passive_scan_sync()
3186 /* Reset RSSI and UUID filters when starting background scanning in hci_update_passive_scan_sync()
3205 * background scanning. in hci_update_passive_scan_sync()
3208 bt_dev_dbg(hdev, "stopping background scanning"); in hci_update_passive_scan_sync()
3212 bt_dev_err(hdev, "stop background scanning failed: %d", in hci_update_passive_scan_sync()
3219 /* If controller is connecting, we should not start scanning in hci_update_passive_scan_sync()
3226 bt_dev_dbg(hdev, "start background scanning"); in hci_update_passive_scan_sync()
3230 bt_dev_err(hdev, "start background scanning failed: %d", in hci_update_passive_scan_sync()
5507 /* Return reason if scanning since the connection shall probably be in hci_le_connect_cancel_sync()
5655 * or in case of LE it was still scanning so it can be cleanup in hci_abort_conn_sync()
5900 /* If controller is scanning, it means the passive scanning is in hci_active_scan_sync()
5902 * discovery scanning parameters. in hci_active_scan_sync()
5906 bt_dev_err(hdev, "Unable to disable scanning: %d", err); in hci_active_scan_sync()
5931 * advertisement for one peer(*) during active scanning, and in hci_active_scan_sync()
5939 * it is common to have active scanning for a short period of in hci_active_scan_sync()
5956 /* Resume passive scanning */ in hci_active_scan_sync()
5985 /* When running simultaneous discovery, the LE scanning time in hci_start_discovery_sync()
5987 * and LE scanning are scheduled by the controller. in hci_start_discovery_sync()
5990 * and LE scanning are done sequentially with separate in hci_start_discovery_sync()
6023 * restarting scanning during the discovery phase. in hci_start_discovery_sync()
6074 bool scanning = test_bit(HCI_PSCAN, &hdev->flags); in hci_update_event_filter_sync() local
6106 if (scan && !scanning) in hci_update_event_filter_sync()
6108 else if (!scan && scanning) in hci_update_event_filter_sync()
6133 * Pause discovery (active scanning/inquiry)
6135 * Pause Scanning (passive scanning in case discovery was not active)
6141 * Update passive scanning (lower duty cycle)
6164 /* Prevent disconnects from causing scanning to be re-enabled */ in hci_suspend_sync()
6191 /* Unpause to take care of updating scanning params */ in hci_suspend_sync()
6250 /* Reset passive scanning to normal */ in hci_resume_scan_sync()
6260 * Update passive scanning (normal duty cycle)
6262 * Resume discovery (active scanning/inquiry)
6278 /* Resume scanning */ in hci_resume_sync()
6503 /* If we're active scanning and simultaneous roles is not in hci_le_create_conn_sync()
6537 /* If controller is scanning, we stop it since some controllers are in hci_le_create_conn_sync()