Lines Matching defs:scanning

987 	 * scanning and non-connectable advertising.
2074 /* If controller is not scanning we are done. */
2085 bt_dev_err(hdev, "Unable to disable scanning: %d", err);
2475 /* Cannot disable addr resolution if scanning is enabled or
2569 /* Device must not be scanning when updating the accept list.
2728 * - Interleaved scanning is not currently using the allowlist
2895 bt_dev_err(hdev, "disable scanning failed: %d", err);
2900 * during passive scanning. Not using an non-resolvable address
2916 * happen before enabling scanning. The controller does
2917 * not allow accept list modification while scanning.
2960 /* This function controls the passive scanning based on hdev->pend_le_conns
2961 * list. If there are pending LE connection we start the background scanning,
2987 /* No point in doing scanning if LE support hasn't been enabled */
2995 /* Reset RSSI and UUID filters when starting background scanning
3014 * background scanning.
3017 bt_dev_dbg(hdev, "stopping background scanning");
3021 bt_dev_err(hdev, "stop background scanning failed: %d",
3028 /* If controller is connecting, we should not start scanning
3035 bt_dev_dbg(hdev, "start background scanning");
3039 bt_dev_err(hdev, "start background scanning failed: %d",
5294 /* 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
5693 /* If controller is scanning, it means the passive scanning is
5695 * discovery scanning parameters.
5699 bt_dev_err(hdev, "Unable to disable scanning: %d", err);
5726 * advertisement for one peer(*) during active scanning, and
5748 /* Resume passive scanning */
5777 /* When running simultaneous discovery, the LE scanning time
5779 * and LE scanning are scheduled by the controller.
5782 * and LE scanning are done sequentially with separate
5855 bool scanning = test_bit(HCI_PSCAN, &hdev->flags);
5887 if (scan && !scanning)
5889 else if (!scan && scanning)
5914 * Pause discovery (active scanning/inquiry)
5916 * Pause Scanning (passive scanning in case discovery was not active)
5922 * Update passive scanning (lower duty cycle)
5945 /* Prevent disconnects from causing scanning to be re-enabled */
5972 /* Unpause to take care of updating scanning params */
6031 /* Reset passive scanning to normal */
6041 * Update passive scanning (normal duty cycle)
6043 * Resume discovery (active scanning/inquiry)
6059 /* Resume scanning */
6282 /* If we're active scanning and simultaneous roles is not
6316 /* If controller is scanning, we stop it since some controllers are