Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/bluetooth/
Dhci_core.h1016 case LE_LINK: in hci_conn_hash_add()
1045 case LE_LINK: in hci_conn_hash_del()
1068 case LE_LINK: in hci_conn_num()
1204 if (c->type != LE_LINK) in hci_conn_hash_lookup_le()
1417 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_lookup_le_connect()
1438 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_is_le_conn_scanning()
1559 case LE_LINK: in hci_conn_drop()
1939 if (conn->type != ACL_LINK && conn->type != LE_LINK) in hci_proto_disconn_ind()
Dhci.h513 #define LE_LINK 0x80 macro
/linux-6.6.21/net/bluetooth/
Dhci_conn.c979 case LE_LINK: in hci_conn_add()
1130 } else if (conn->type == LE_LINK) { in hci_conn_del()
1244 case LE_LINK: in hci_conn_failed()
1390 conn = hci_conn_add_unset(hdev, LE_LINK, dst, role); in hci_connect_le()
1599 conn = hci_conn_add_unset(hdev, LE_LINK, dst, HCI_ROLE_MASTER); in hci_connect_le_scan()
2413 if (conn->type == LE_LINK) in hci_conn_security()
2880 case LE_LINK: in hci_conn_get_phy()
Dl2cap_core.c70 if (link_type == LE_LINK) { in bdaddr_type()
270 if (conn->hcon->type == LE_LINK) in l2cap_alloc_cid()
839 else if (conn->hcon->type == LE_LINK) { in l2cap_chan_close()
924 if (conn->hcon->type == LE_LINK) in l2cap_chan_check_security()
969 conn->hcon->type == LE_LINK) in l2cap_send_cmd()
1007 if (hcon->type == LE_LINK || in l2cap_do_send()
1511 } else if (chan->conn->hcon->type == LE_LINK) { in l2cap_start_connection()
1561 if (conn->hcon->type == LE_LINK) { in l2cap_do_start()
1762 if (hcon->type == LE_LINK) { in l2cap_conn_ready()
1776 if (hcon->type == LE_LINK) in l2cap_conn_ready()
[all …]
Dhci_event.c1800 mgmt_device_found(hdev, &d->last_adv_addr, LE_LINK, in le_set_scan_enable_complete()
2801 if (conn->type == LE_LINK && conn->role == HCI_ROLE_SLAVE) { in hci_cs_disconnect()
3476 if (conn->type == LE_LINK && conn->role == HCI_ROLE_SLAVE) { in hci_disconn_complete_evt()
3620 conn->type == LE_LINK) in hci_encrypt_change_evt()
3631 if (ev->status && conn->type == LE_LINK) { in hci_encrypt_change_evt()
3689 (conn->type == LE_LINK && (hdev->le_features[0] & HCI_LE_PING)))) { in hci_encrypt_change_evt()
4471 case LE_LINK: in hci_num_comp_pkts_evt()
5229 if (conn->type != LE_LINK) in hci_key_refresh_complete_evt()
5893 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, bdaddr); in le_conn_complete_evt()
5901 conn = hci_conn_add_unset(hdev, LE_LINK, bdaddr, role); in le_conn_complete_evt()
[all …]
Dhci_core.c1179 if (conn->type == LE_LINK) in hci_persistent_key()
3360 case LE_LINK: in hci_quote_sent()
3567 case LE_LINK: in __check_timeout()
3757 if (!hci_conn_num(hdev, LE_LINK)) in hci_sched_le()
3762 __check_timeout(hdev, cnt, LE_LINK); in hci_sched_le()
3765 while (cnt && (chan = hci_chan_sent(hdev, LE_LINK, &quote))) { in hci_sched_le()
3796 hci_prio_recalculate(hdev, LE_LINK); in hci_sched_le()
Dmgmt.c3189 case LE_LINK: in link_to_bdaddr()
6463 hci_conn_num(hdev, LE_LINK) > 0 || in set_advertising()
7324 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr); in get_conn_info_sync()
7382 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr); in get_conn_info()
7561 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, addr); in is_connected()
9664 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param()
9778 if (link_type != ACL_LINK && link_type != LE_LINK) in mgmt_device_disconnected()
10363 ev->addr.type = link_to_bdaddr(LE_LINK, addr_type); in mesh_device_found()
10390 if (hci_dev_test_flag(hdev, HCI_MESH) && link_type == LE_LINK) in mgmt_device_found()
10402 if (link_type == LE_LINK && !list_empty(&hdev->pend_le_reports)) in mgmt_device_found()
D6lowpan.c607 if (hcon->type != LE_LINK) in is_bt_6lowpan()
Dhci_sync.c812 if (hci_conn_num(hdev, LE_LINK) == 0) in is_advertising_allowed()
832 if (hci_conn_num(hdev, LE_LINK) != hdev->conn_hash.le_num_peripheral) { in is_advertising_allowed()
5279 if (conn->type == LE_LINK) in hci_connect_cancel_sync()
Dsmp.c1070 if (hcon->type == LE_LINK) { in smp_notify_keys()
1276 if (hcon->type == LE_LINK && (*keydist & SMP_DIST_LINK_KEY)) in smp_distribute_keys()
Diso.c1857 if (hcon->type != LE_LINK) in iso_connect_cfm()