Lines Matching refs:discovery
4641 bt_dev_dbg(hdev, "Unpaused discovery");
4692 if (hdev->discovery.state != DISCOVERY_STOPPED ||
4705 /* Can't start discovery when it is paused */
4712 /* Clear the discovery filter first to free any previously
4717 hdev->discovery.type = cp->type;
4718 hdev->discovery.report_invalid_rssi = false;
4720 hdev->discovery.limited = true;
4722 hdev->discovery.limited = false;
4785 if (hdev->discovery.state != DISCOVERY_STOPPED ||
4832 /* Clear the discovery filter first to free any previously
4837 hdev->discovery.result_filtering = true;
4838 hdev->discovery.type = cp->type;
4839 hdev->discovery.rssi = cp->rssi;
4840 hdev->discovery.uuid_count = uuid_count;
4843 hdev->discovery.uuids = kmemdup(cp->uuids, uuid_count * 16,
4845 if (!hdev->discovery.uuids) {
4882 bt_dev_dbg(hdev, "Paused discovery");
4905 if (hdev->discovery.type != mgmt_cp->type) {
5362 hdev->discovery.state == DISCOVERY_STOPPED) {
8737 hdev->discovery.scan_start +
8738 hdev->discovery.scan_duration))
8757 if (hdev->discovery.rssi != HCI_RSSI_INVALID &&
8759 (rssi < hdev->discovery.rssi &&
8763 if (hdev->discovery.uuid_count != 0) {
8767 if (!eir_has_uuids(eir, eir_len, hdev->discovery.uuid_count,
8768 hdev->discovery.uuids) &&
8770 hdev->discovery.uuid_count,
8771 hdev->discovery.uuids))
8782 if (hdev->discovery.rssi != HCI_RSSI_INVALID &&
8783 rssi < hdev->discovery.rssi)
8798 /* Don't send events for a non-kernel initiated discovery. With
8812 if (hdev->discovery.result_filtering) {
8813 /* We are using service discovery */
8819 if (hdev->discovery.limited) {
8839 /* In case of device discovery with BR/EDR devices (pre 1.2), the
8841 * is kept when using device discovery. This is required for full
8844 * However when using service discovery, the value 127 will be
8847 if (rssi == HCI_RSSI_INVALID && !hdev->discovery.report_invalid_rssi &&
8905 ev.type = hdev->discovery.type;