Home
last modified time | relevance | path

Searched refs:LE_LINK (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/include/net/bluetooth/
H A Dhci_core.h870 case LE_LINK:
896 case LE_LINK:
916 case LE_LINK:
1002 if (c->type != LE_LINK)
1044 if (c->type == LE_LINK && c->state == BT_CONNECT &&
1142 case LE_LINK:
1418 if (conn->type != ACL_LINK && conn->type != LE_LINK)
H A Dhci.h416 #define LE_LINK 0x80 macro
/kernel/linux/linux-5.10/net/bluetooth/
H A Dhci_conn.c423 if (conn->state == BT_CONNECT && conn->type == LE_LINK && in hci_conn_timeout()
557 case LE_LINK: in hci_conn_add()
620 } else if (conn->type == LE_LINK) { in hci_conn_del()
1053 conn = hci_conn_add(hdev, LE_LINK, dst, role); in hci_connect_le()
1213 conn = hci_conn_add(hdev, LE_LINK, dst, HCI_ROLE_MASTER); in hci_connect_le_scan()
1418 if (conn->type == LE_LINK) in hci_conn_security()
1880 case LE_LINK: in hci_conn_get_phy()
H A Dhci_event.c1373 mgmt_device_found(hdev, &d->last_adv_addr, LE_LINK, in le_set_scan_enable_complete()
2287 if (type == LE_LINK) in hci_cs_disconnect()
2905 if (type == LE_LINK) in hci_disconn_complete_evt()
3083 conn->type == LE_LINK) in hci_encrypt_change_evt()
3094 if (ev->status && conn->type == LE_LINK) { in hci_encrypt_change_evt()
3156 (conn->type == LE_LINK && (hdev->le_features[0] & HCI_LE_PING)))) { in hci_encrypt_change_evt()
3800 case LE_LINK: in hci_num_comp_pkts_evt()
4513 if (conn->type != LE_LINK) in hci_key_refresh_complete_evt()
5181 conn = hci_conn_add(hdev, LE_LINK, bdaddr, role); in le_conn_complete_evt()
5597 mgmt_device_found(hdev, bdaddr, LE_LINK, bdaddr_typ in process_adv_report()
[all...]
H A Dl2cap_core.c70 if (link_type == LE_LINK) { in bdaddr_type()
270 if (conn->hcon->type == LE_LINK) in l2cap_alloc_cid()
844 else if (conn->hcon->type == LE_LINK) { in l2cap_chan_close()
929 if (conn->hcon->type == LE_LINK) in l2cap_chan_check_security()
974 conn->hcon->type == LE_LINK) in l2cap_send_cmd()
1012 if (hcon->type == LE_LINK || in l2cap_do_send()
1516 } else if (chan->conn->hcon->type == LE_LINK) { in l2cap_start_connection()
1560 if (conn->hcon->type == LE_LINK) { in l2cap_do_start()
1761 if (hcon->type == LE_LINK) { in l2cap_conn_ready()
1775 if (hcon->type == LE_LINK) in l2cap_conn_ready()
[all...]
H A Dhci_request.c1030 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_is_le_conn_scanning()
1465 if (hci_conn_num(hdev, LE_LINK) == 0) in is_advertising_allowed()
1483 if (hci_conn_num(hdev, LE_LINK) != hdev->conn_hash.le_num_slave) { in is_advertising_allowed()
2813 if (conn->type == LE_LINK) { in __hci_abort_conn()
2903 conn = hci_conn_hash_lookup_state(hdev, LE_LINK, BT_CONNECT); in bg_scan_update()
H A Dhci_core.c2448 if (conn->type == LE_LINK) in hci_persistent_key()
4318 case LE_LINK: in hci_low_sent()
4424 case LE_LINK: in hci_chan_sent()
4502 case LE_LINK: in __check_timeout()
4692 if (!hci_conn_num(hdev, LE_LINK)) in hci_sched_le()
4697 __check_timeout(hdev, cnt, LE_LINK); in hci_sched_le()
4700 while (cnt && (chan = hci_chan_sent(hdev, LE_LINK, &quote))) { in hci_sched_le()
4731 hci_prio_recalculate(hdev, LE_LINK); in hci_sched_le()
H A Dmgmt.c2633 case LE_LINK: in link_to_bdaddr()
5201 hci_conn_num(hdev, LE_LINK) > 0 || in set_advertising()
6184 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr); in get_conn_info()
6420 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, addr); in is_connected()
8188 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param()
8292 if (link_type != ACL_LINK && link_type != LE_LINK) in mgmt_device_disconnected()
8805 if (link_type == LE_LINK && in mgmt_device_found()
H A D6lowpan.c636 if (hcon->type != LE_LINK) in is_bt_6lowpan()
H A Dsmp.c1069 if (hcon->type == LE_LINK) { in smp_notify_keys()
1270 if (hcon->type == LE_LINK && (*keydist & SMP_DIST_LINK_KEY)) in smp_distribute_keys()
/kernel/linux/linux-6.6/include/net/bluetooth/
H A Dhci_core.h1017 case LE_LINK: in hci_conn_hash_add()
1046 case LE_LINK: in hci_conn_hash_del()
1069 case LE_LINK: in hci_conn_num()
1205 if (c->type != LE_LINK) in hci_conn_hash_lookup_le()
1418 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_lookup_le_connect()
1439 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_is_le_conn_scanning()
1560 case LE_LINK: in hci_conn_drop()
1940 if (conn->type != ACL_LINK && conn->type != LE_LINK) in hci_proto_disconn_ind()
H A Dhci.h511 #define LE_LINK 0x80 macro
/kernel/linux/linux-6.6/net/bluetooth/
H A Dhci_conn.c978 case LE_LINK: in hci_conn_add()
1129 } else if (conn->type == LE_LINK) { in hci_conn_del()
1240 case LE_LINK: in hci_conn_failed()
1386 conn = hci_conn_add_unset(hdev, LE_LINK, dst, role); in hci_connect_le()
1595 conn = hci_conn_add_unset(hdev, LE_LINK, dst, HCI_ROLE_MASTER); in hci_connect_le_scan()
2409 if (conn->type == LE_LINK) in hci_conn_security()
2876 case LE_LINK: in hci_conn_get_phy()
H A Dl2cap_core.c68 if (link_type == LE_LINK) { in bdaddr_type()
250 if (conn->hcon->type == LE_LINK) in l2cap_alloc_cid()
808 else if (conn->hcon->type == LE_LINK) { in l2cap_chan_close()
893 if (conn->hcon->type == LE_LINK) in l2cap_chan_check_security()
938 conn->hcon->type == LE_LINK) in l2cap_send_cmd()
961 if (hcon->type == LE_LINK || in l2cap_do_send()
1355 if (chan->conn->hcon->type == LE_LINK) { in l2cap_start_connection()
1405 if (conn->hcon->type == LE_LINK) { in l2cap_do_start()
1596 if (hcon->type == LE_LINK) { in l2cap_conn_ready()
1610 if (hcon->type == LE_LINK) in l2cap_conn_ready()
[all...]
H A Dhci_event.c1798 mgmt_device_found(hdev, &d->last_adv_addr, LE_LINK, in le_set_scan_enable_complete()
2797 if (conn->type == LE_LINK && conn->role == HCI_ROLE_SLAVE) { in hci_cs_disconnect()
3472 if (conn->type == LE_LINK && conn->role == HCI_ROLE_SLAVE) { in hci_disconn_complete_evt()
3614 conn->type == LE_LINK) in hci_encrypt_change_evt()
3625 if (ev->status && conn->type == LE_LINK) { in hci_encrypt_change_evt()
3683 (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()
5230 if (conn->type != LE_LINK) in hci_key_refresh_complete_evt()
5894 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, bdaddr); in le_conn_complete_evt()
5902 conn = hci_conn_add_unset(hdev, LE_LINK, bdadd in le_conn_complete_evt()
[all...]
H A Dhci_core.c1179 if (conn->type == LE_LINK) in hci_persistent_key()
3391 case LE_LINK: in hci_quote_sent()
3598 case LE_LINK: in __check_timeout()
3788 if (!hci_conn_num(hdev, LE_LINK)) in hci_sched_le()
3793 __check_timeout(hdev, cnt, LE_LINK); in hci_sched_le()
3796 while (cnt && (chan = hci_chan_sent(hdev, LE_LINK, &quote))) { in hci_sched_le()
3827 hci_prio_recalculate(hdev, LE_LINK); in hci_sched_le()
H A Dmgmt.c3122 case LE_LINK: in link_to_bdaddr()
6396 hci_conn_num(hdev, LE_LINK) > 0 || in set_advertising()
7256 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr); in get_conn_info_sync()
7314 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr); in get_conn_info()
7493 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, addr); in is_connected()
9596 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param()
9705 if (link_type != ACL_LINK && link_type != LE_LINK) in mgmt_device_disconnected()
10282 ev->addr.type = link_to_bdaddr(LE_LINK, addr_type); in mesh_device_found()
10309 if (hci_dev_test_flag(hdev, HCI_MESH) && link_type == LE_LINK) in mgmt_device_found()
10321 if (link_type == LE_LINK in mgmt_device_found()
[all...]
H A D6lowpan.c607 if (hcon->type != LE_LINK) in is_bt_6lowpan()
H A Dhci_sync.c818 if (hci_conn_num(hdev, LE_LINK) == 0) in is_advertising_allowed()
838 if (hci_conn_num(hdev, LE_LINK) != hdev->conn_hash.le_num_peripheral) { in is_advertising_allowed()
5296 if (conn->type == LE_LINK) in hci_connect_cancel_sync()
H A 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()
H A Diso.c1857 if (hcon->type != LE_LINK) in iso_connect_cfm()

Completed in 116 milliseconds