Home
last modified time | relevance | path

Searched refs:link_type (Results 1 – 4 of 4) sorted by relevance

/net/bluetooth/
Dmgmt.c2630 static u8 link_to_bdaddr(u8 link_type, u8 addr_type) in link_to_bdaddr() argument
2632 switch (link_type) { in link_to_bdaddr()
8057 ev.key.addr.type = link_to_bdaddr(key->link_type, key->bdaddr_type); in mgmt_new_link_key()
8108 ev.key.addr.type = link_to_bdaddr(key->link_type, key->bdaddr_type); in mgmt_new_ltk()
8137 ev.irk.addr.type = link_to_bdaddr(irk->link_type, irk->addr_type); in mgmt_new_irk()
8166 ev.key.addr.type = link_to_bdaddr(csrk->link_type, csrk->bdaddr_type); in mgmt_new_csrk()
8271 u8 link_type, u8 addr_type, u8 reason, in mgmt_device_disconnected() argument
8288 if (link_type != ACL_LINK && link_type != LE_LINK) in mgmt_device_disconnected()
8294 ev.addr.type = link_to_bdaddr(link_type, addr_type); in mgmt_device_disconnected()
8311 u8 link_type, u8 addr_type, u8 status) in mgmt_disconnect_failed() argument
[all …]
Dhci_event.c2581 conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); in hci_conn_complete_evt()
2592 if (ev->link_type == ACL_LINK && in hci_conn_complete_evt()
2596 conn = hci_conn_add(hdev, ev->link_type, &ev->bdaddr, in hci_conn_complete_evt()
2603 if (ev->link_type != SCO_LINK) in hci_conn_complete_evt()
2670 } else if (ev->link_type == SCO_LINK) { in hci_conn_complete_evt()
2705 ev->link_type); in hci_conn_request_evt()
2717 mask |= hci_proto_connect_ind(hdev, &ev->bdaddr, ev->link_type, in hci_conn_request_evt()
2751 conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, in hci_conn_request_evt()
2754 conn = hci_conn_add(hdev, ev->link_type, &ev->bdaddr, in hci_conn_request_evt()
2767 if (ev->link_type == ACL_LINK || in hci_conn_request_evt()
[all …]
Dsmp.c1062 smp->remote_irk->link_type = hcon->type; in smp_notify_keys()
1077 smp->csrk->link_type = hcon->type; in smp_notify_keys()
1084 smp->responder_csrk->link_type = hcon->type; in smp_notify_keys()
1091 smp->ltk->link_type = hcon->type; in smp_notify_keys()
1098 smp->responder_ltk->link_type = hcon->type; in smp_notify_keys()
1118 key->link_type = hcon->type; in smp_notify_keys()
Dl2cap_core.c68 static inline u8 bdaddr_type(u8 link_type, u8 bdaddr_type) in bdaddr_type() argument
70 if (link_type == LE_LINK) { in bdaddr_type()
1970 u8 link_type) in l2cap_global_chan_by_psm() argument
1980 if (link_type == ACL_LINK && c->src_type != BDADDR_BREDR) in l2cap_global_chan_by_psm()
1983 if (link_type == LE_LINK && c->src_type == BDADDR_BREDR) in l2cap_global_chan_by_psm()