Lines Matching defs:scanning

406 	/* If controller is not scanning we are done. */
937 * scanning and non-connectable advertising.
2037 /* If controller is not scanning we are done. */
2048 bt_dev_err(hdev, "Unable to disable scanning: %d", err);
2438 /* Cannot disable addr resolution if scanning is enabled or
2522 /* Device must not be scanning when updating the accept list.
2656 * - Interleaved scanning is not currently using the allowlist
2779 bt_dev_err(hdev, "disable scanning failed: %d", err);
2784 * during passive scanning. Not using an non-resolvable address
2800 * happen before enabling scanning. The controller does
2801 * not allow accept list modification while scanning.
2844 /* This function controls the passive scanning based on hdev->pend_le_conns
2845 * list. If there are pending LE connection we start the background scanning,
2871 /* No point in doing scanning if LE support hasn't been enabled */
2879 /* Reset RSSI and UUID filters when starting background scanning
2898 * background scanning.
2901 bt_dev_dbg(hdev, "stopping background scanning");
2905 bt_dev_err(hdev, "stop background scanning failed: %d",
2912 /* If controller is connecting, we should not start scanning
2919 bt_dev_dbg(hdev, "start background scanning");
2923 bt_dev_err(hdev, "start background scanning failed: %d",
5279 /* Return reason if scanning since the connection shall probably be
5442 * or in case of LE it was still scanning so it can be cleanup
5687 /* If controller is scanning, it means the passive scanning is
5689 * discovery scanning parameters.
5693 bt_dev_err(hdev, "Unable to disable scanning: %d", err);
5718 * advertisement for one peer(*) during active scanning, and
5726 * it is common to have active scanning for a short period of
5743 /* Resume passive scanning */
5772 /* When running simultaneous discovery, the LE scanning time
5774 * and LE scanning are scheduled by the controller.
5777 * and LE scanning are done sequentially with separate
5810 * restarting scanning during the discovery phase.
5861 bool scanning = test_bit(HCI_PSCAN, &hdev->flags);
5893 if (scan && !scanning)
5895 else if (!scan && scanning)
5920 * Pause discovery (active scanning/inquiry)
5922 * Pause Scanning (passive scanning in case discovery was not active)
5928 * Update passive scanning (lower duty cycle)
5951 /* Prevent disconnects from causing scanning to be re-enabled */
5978 /* Unpause to take care of updating scanning params */
6037 /* Reset passive scanning to normal */
6047 * Update passive scanning (normal duty cycle)
6049 * Resume discovery (active scanning/inquiry)
6065 /* Resume scanning */
6276 /* If we're active scanning and simultaneous roles is not
6310 /* If controller is scanning, we stop it since some controllers are