Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dhci_conn.c425 if (conn->state == BT_CONNECT && conn->type == LE_LINK && in hci_conn_timeout()
559 case LE_LINK: in hci_conn_add()
622 } else if (conn->type == LE_LINK) { in hci_conn_del()
1055 conn = hci_conn_add(hdev, LE_LINK, dst, role); in hci_connect_le()
1215 conn = hci_conn_add(hdev, LE_LINK, dst, HCI_ROLE_MASTER); in hci_connect_le_scan()
1413 if (conn->type == LE_LINK) in hci_conn_security()
1868 case LE_LINK: in hci_conn_get_phy()
H A Dhci_event.c1371 mgmt_device_found(hdev, &d->last_adv_addr, LE_LINK, in le_set_scan_enable_complete()
2284 if (type == LE_LINK) in hci_cs_disconnect()
2889 if (type == LE_LINK) in hci_disconn_complete_evt()
3074 conn->type == LE_LINK) in hci_encrypt_change_evt()
3085 if (ev->status && conn->type == LE_LINK) { in hci_encrypt_change_evt()
3147 (conn->type == LE_LINK && (hdev->le_features[0] & HCI_LE_PING)))) { in hci_encrypt_change_evt()
3791 case LE_LINK: in hci_num_comp_pkts_evt()
4482 if (conn->type != LE_LINK) in hci_key_refresh_complete_evt()
5147 conn = hci_conn_add(hdev, LE_LINK, bdaddr, role); in le_conn_complete_evt()
5563 mgmt_device_found(hdev, bdaddr, LE_LINK, bdaddr_type, NULL, 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_core.c2446 if (conn->type == LE_LINK) in hci_persistent_key()
4307 case LE_LINK: in hci_low_sent()
4413 case LE_LINK: in hci_chan_sent()
4491 case LE_LINK: in __check_timeout()
4681 if (!hci_conn_num(hdev, LE_LINK)) in hci_sched_le()
4686 __check_timeout(hdev, cnt, LE_LINK); in hci_sched_le()
4689 while (cnt && (chan = hci_chan_sent(hdev, LE_LINK, &quote))) { in hci_sched_le()
4720 hci_prio_recalculate(hdev, LE_LINK); in hci_sched_le()
H A Dhci_request.c977 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_is_le_conn_scanning()
1407 if (hci_conn_num(hdev, LE_LINK) == 0) in is_advertising_allowed()
1425 if (hci_conn_num(hdev, LE_LINK) != hdev->conn_hash.le_num_slave) { in is_advertising_allowed()
2692 if (conn->type == LE_LINK) { in __hci_abort_conn()
2782 conn = hci_conn_hash_lookup_state(hdev, LE_LINK, BT_CONNECT); in bg_scan_update()
H A Dmgmt.c2632 case LE_LINK: in link_to_bdaddr()
5196 hci_conn_num(hdev, LE_LINK) > 0 || in set_advertising()
6169 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr); in get_conn_info()
6405 conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, addr); in is_connected()
8097 ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); in mgmt_new_ltk()
8126 ev.irk.addr.type = link_to_bdaddr(LE_LINK, irk->addr_type); in mgmt_new_irk()
8155 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk()
8173 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param()
8277 if (link_type != ACL_LINK && link_type != LE_LINK) in mgmt_device_disconnected()
8790 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.c1066 if (hcon->type == LE_LINK) { in smp_notify_keys()
1261 if (hcon->type == LE_LINK && (*keydist & SMP_DIST_LINK_KEY)) in smp_distribute_keys()
/OK3568_Linux_fs/kernel/include/net/bluetooth/
H A Dhci_core.h871 case LE_LINK: in hci_conn_hash_add()
897 case LE_LINK: in hci_conn_hash_del()
917 case LE_LINK: in hci_conn_num()
1003 if (c->type != LE_LINK) in hci_conn_hash_lookup_le()
1045 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_lookup_le_connect()
1143 case LE_LINK: in hci_conn_drop()
1419 if (conn->type != ACL_LINK && conn->type != LE_LINK) in hci_proto_disconn_ind()
H A Dhci.h416 #define LE_LINK 0x80 macro
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/
H A Dhci_ldisc.c695 conn = hci_conn_hash_lookup_state(hu->hdev, LE_LINK, BT_CONNECTED); in rtkbt_simulate_disconnect_event()