Lines Matching refs:discovery
5856 if (hdev->discovery.state != DISCOVERY_STOPPED ||
5869 /* Can't start discovery when it is paused */
5876 /* Clear the discovery filter first to free any previously
5881 hdev->discovery.type = cp->type;
5882 hdev->discovery.report_invalid_rssi = false;
5884 hdev->discovery.limited = true;
5886 hdev->discovery.limited = false;
5945 if (hdev->discovery.state != DISCOVERY_STOPPED ||
5998 /* Clear the discovery filter first to free any previously
6003 hdev->discovery.result_filtering = true;
6004 hdev->discovery.type = cp->type;
6005 hdev->discovery.rssi = cp->rssi;
6006 hdev->discovery.uuid_count = uuid_count;
6009 hdev->discovery.uuids = kmemdup(cp->uuids, uuid_count * 16,
6011 if (!hdev->discovery.uuids) {
6092 if (hdev->discovery.type != mgmt_cp->type) {
6530 hdev->discovery.state == DISCOVERY_STOPPED)
10074 hdev->discovery.scan_start +
10075 hdev->discovery.scan_duration))
10094 if (hdev->discovery.rssi != HCI_RSSI_INVALID &&
10096 (rssi < hdev->discovery.rssi &&
10100 if (hdev->discovery.uuid_count != 0) {
10104 if (!eir_has_uuids(eir, eir_len, hdev->discovery.uuid_count,
10105 hdev->discovery.uuids) &&
10107 hdev->discovery.uuid_count,
10108 hdev->discovery.uuids))
10119 if (hdev->discovery.rssi != HCI_RSSI_INVALID &&
10120 rssi < hdev->discovery.rssi)
10180 * 1. the kernel has initiated active discovery
10314 /* Don't send events for a non-kernel initiated discovery. With
10327 if (hdev->discovery.result_filtering) {
10328 /* We are using service discovery */
10334 if (hdev->discovery.limited) {
10354 /* In case of device discovery with BR/EDR devices (pre 1.2), the
10356 * is kept when using device discovery. This is required for full
10359 * However when using service discovery, the value 127 will be
10362 if (rssi == HCI_RSSI_INVALID && !hdev->discovery.report_invalid_rssi &&
10426 ev.type = hdev->discovery.type;