Home
last modified time | relevance | path

Searched refs:LE_LINK (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/net/bluetooth/
Dhci_conn.c458 if (conn->state == BT_CONNECT && conn->type == LE_LINK && in hci_conn_timeout()
590 case LE_LINK: in hci_conn_add()
653 } else if (conn->type == LE_LINK) { in hci_conn_del()
1099 conn = hci_conn_add(hdev, LE_LINK, dst, role); in hci_connect_le()
1264 conn = hci_conn_add(hdev, LE_LINK, dst, HCI_ROLE_MASTER); in hci_connect_le_scan()
1462 if (conn->type == LE_LINK) in hci_conn_security()
1917 case LE_LINK: in hci_conn_get_phy()
Dhci_event.c1449 mgmt_device_found(hdev, &d->last_adv_addr, LE_LINK, in le_set_scan_enable_complete()
2354 if (conn->type == LE_LINK) { in hci_cs_disconnect()
2964 if (conn->type == LE_LINK) { in hci_disconn_complete_evt()
3153 conn->type == LE_LINK) in hci_encrypt_change_evt()
3164 if (ev->status && conn->type == LE_LINK) { in hci_encrypt_change_evt()
3226 (conn->type == LE_LINK && (hdev->le_features[0] & HCI_LE_PING)))) { in hci_encrypt_change_evt()
3885 case LE_LINK: in hci_num_comp_pkts_evt()
4576 if (conn->type != LE_LINK) in hci_key_refresh_complete_evt()
5236 conn = hci_conn_add(hdev, LE_LINK, bdaddr, role); in le_conn_complete_evt()
5681 mgmt_device_found(hdev, bdaddr, LE_LINK, bdaddr_type, NULL, in process_adv_report()
[all …]
Dl2cap_core.c67 if (link_type == LE_LINK) { in bdaddr_type()
254 if (conn->hcon->type == LE_LINK) in l2cap_alloc_cid()
813 else if (conn->hcon->type == LE_LINK) { in l2cap_chan_close()
898 if (conn->hcon->type == LE_LINK) in l2cap_chan_check_security()
943 conn->hcon->type == LE_LINK) in l2cap_send_cmd()
981 if (hcon->type == LE_LINK || in l2cap_do_send()
1484 } else if (chan->conn->hcon->type == LE_LINK) { in l2cap_start_connection()
1534 if (conn->hcon->type == LE_LINK) { in l2cap_do_start()
1735 if (hcon->type == LE_LINK) { in l2cap_conn_ready()
1749 if (hcon->type == LE_LINK) in l2cap_conn_ready()
[all …]
Dhci_request.c1034 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_is_le_conn_scanning()
1520 if (hci_conn_num(hdev, LE_LINK) == 0) in is_advertising_allowed()
1539 if (hci_conn_num(hdev, LE_LINK) != hdev->conn_hash.le_num_peripheral) { in is_advertising_allowed()
2866 if (conn->type == LE_LINK) { in __hci_abort_conn()
2956 conn = hci_conn_hash_lookup_state(hdev, LE_LINK, BT_CONNECT); in bg_scan_update()
Dhci_core.c2457 if (conn->type == LE_LINK) in hci_persistent_key()
4497 case LE_LINK: in hci_low_sent()
4603 case LE_LINK: in hci_chan_sent()
4859 if (!hci_conn_num(hdev, LE_LINK)) in hci_sched_le()
4867 while (cnt && (chan = hci_chan_sent(hdev, LE_LINK, &quote))) { in hci_sched_le()
4898 hci_prio_recalculate(hdev, LE_LINK); in hci_sched_le()
Dmgmt.c2637 case LE_LINK: in link_to_bdaddr()
5426 hci_conn_num(hdev, LE_LINK) > 0 || in set_advertising()
6399 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr); in get_conn_info()
6635 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, addr); in is_connected()
8691 ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); in mgmt_new_ltk()
8720 ev.irk.addr.type = link_to_bdaddr(LE_LINK, irk->addr_type); in mgmt_new_irk()
8749 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk()
8767 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param()
8875 if (link_type != ACL_LINK && link_type != LE_LINK) in mgmt_device_disconnected()
9388 if (link_type == LE_LINK && in mgmt_device_found()
D6lowpan.c607 if (hcon->type != LE_LINK) in is_bt_6lowpan()
Dsmp.c1067 if (hcon->type == LE_LINK) { in smp_notify_keys()
1262 if (hcon->type == LE_LINK && (*keydist & SMP_DIST_LINK_KEY)) in smp_distribute_keys()
/Linux-v5.15/include/net/bluetooth/
Dhci_core.h896 case LE_LINK: in hci_conn_hash_add()
922 case LE_LINK: in hci_conn_hash_del()
942 case LE_LINK: in hci_conn_num()
1028 if (c->type != LE_LINK) in hci_conn_hash_lookup_le()
1070 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_lookup_le_connect()
1168 case LE_LINK: in hci_conn_drop()
1476 if (conn->type != ACL_LINK && conn->type != LE_LINK) in hci_proto_disconn_ind()
Dhci.h418 #define LE_LINK 0x80 macro