/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | smp.c | 599 bt_dev_dbg(conn->hcon->hdev, "code 0x%2.2x", code); in smp_send_cmd() 653 struct hci_conn *hcon = conn->hcon; in build_pairing_cmd() local 654 struct hci_dev *hdev = hcon->hdev; in build_pairing_cmd() 681 if (hcon->dst_type == ADDR_LE_DEV_PUBLIC) in build_pairing_cmd() 686 oob_data = hci_find_remote_oob_data(hdev, &hcon->dst, in build_pairing_cmd() 702 req->io_capability = conn->hcon->io_capability; in build_pairing_cmd() 713 rsp->io_capability = conn->hcon->io_capability; in build_pairing_cmd() 726 struct hci_dev *hdev = conn->hcon->hdev; in check_enc_key_size() 729 if (conn->hcon in check_enc_key_size() 746 struct hci_conn *hcon = conn->hcon; smp_chan_destroy() local 798 struct hci_conn *hcon = conn->hcon; smp_failure() local 853 struct hci_conn *hcon = conn->hcon; tk_request() local 978 struct hci_conn *hcon = conn->hcon; smp_random() local 1040 struct hci_conn *hcon = conn->hcon; smp_notify_keys() local 1136 struct hci_conn *hcon = smp->conn->hcon; sc_add_ltk() local 1208 struct hci_conn *hcon = smp->conn->hcon; sc_generate_ltk() local 1245 struct hci_conn *hcon = conn->hcon; smp_distribute_keys() local 1387 struct hci_conn *hcon = conn->hcon; smp_chan_create() local 1427 struct hci_conn *hcon = smp->conn->hcon; sc_mackey_and_ltk() local 1448 struct hci_conn *hcon = smp->conn->hcon; sc_dhkey_check() local 1485 struct hci_conn *hcon = conn->hcon; sc_passkey_send_confirm() local 1506 struct hci_conn *hcon = conn->hcon; sc_passkey_round() local 1593 struct hci_conn *hcon = conn->hcon; sc_user_reply() local 1632 smp_user_confirm_reply(struct hci_conn *hcon, u16 mgmt_op, __le32 passkey) smp_user_confirm_reply() argument 2055 struct hci_conn *hcon = conn->hcon; fixup_sc_false_positive() local 2093 struct hci_conn *hcon = conn->hcon; smp_cmd_pairing_confirm() local 2138 struct hci_conn *hcon = conn->hcon; smp_cmd_pairing_random() local 2249 struct hci_conn *hcon = conn->hcon; smp_ltk_encrypt() local 2270 smp_sufficient_security(struct hci_conn *hcon, u8 sec_level, enum smp_key_pref key_pref) smp_sufficient_security() argument 2297 struct hci_conn *hcon = conn->hcon; smp_cmd_security_req() local 2357 smp_conn_security(struct hci_conn *hcon, __u8 sec_level) smp_conn_security() argument 2452 struct hci_conn *hcon; smp_cancel_and_remove_pairing() local 2531 struct hci_conn *hcon = conn->hcon; smp_cmd_initiator_ident() local 2596 struct hci_conn *hcon = conn->hcon; smp_cmd_ident_addr_info() local 2693 struct hci_conn *hcon = conn->hcon; sc_select_method() local 2738 struct hci_conn *hcon = conn->hcon; smp_cmd_public_key() local 2879 struct hci_conn *hcon = conn->hcon; smp_cmd_dhkey_check() local 2953 struct hci_conn *hcon = conn->hcon; smp_sig_channel() local 3079 struct hci_conn *hcon = conn->hcon; bredr_pairing() local 3147 struct hci_conn *hcon = conn->hcon; smp_resume_cb() local 3170 struct hci_conn *hcon = conn->hcon; smp_ready_cb() local [all...] |
H A D | amp.c | 108 bdaddr_t *dst = &mgr->l2cap_conn->hcon->dst; in phylink_add() 109 struct hci_conn *hcon; in phylink_add() local 112 hcon = hci_conn_add(hdev, AMP_LINK, dst, role); in phylink_add() 113 if (!hcon) in phylink_add() 116 BT_DBG("hcon %p dst %pMR", hcon, dst); in phylink_add() 118 hcon->state = BT_CONNECT; in phylink_add() 119 hcon->attempt++; in phylink_add() 120 hcon->handle = __next_handle(mgr); in phylink_add() 121 hcon in phylink_add() 292 amp_read_loc_assoc_final_data(struct hci_dev *hdev, struct hci_conn *hcon) amp_read_loc_assoc_final_data() argument 332 amp_write_rem_assoc_frag(struct hci_dev *hdev, struct hci_conn *hcon) amp_write_rem_assoc_frag() argument 387 struct hci_conn *hcon; amp_write_rem_assoc_continue() local 402 struct hci_conn *hcon; amp_write_remote_assoc() local 429 struct hci_conn *hcon; create_phylink_complete() local 441 amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, struct hci_conn *hcon) amp_create_phylink() argument 480 amp_accept_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, struct hci_conn *hcon) amp_accept_phylink() argument 574 struct hci_conn *hcon = hchan->conn; amp_disconnect_logical_link() local [all...] |
H A D | sco.c | 46 struct hci_conn *hcon; member 86 if (!conn->hcon) { in sco_sock_timeout() 128 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add() argument 130 struct hci_dev *hdev = hcon->hdev; in sco_conn_add() 131 struct sco_conn *conn = hcon->sco_data; in sco_conn_add() 143 hcon->sco_data = conn; in sco_conn_add() 144 conn->hcon = hcon; in sco_conn_add() 151 BT_DBG("hcon %p conn %p", hcon, con in sco_conn_add() 183 sco_conn_del(struct hci_conn *hcon, int err) sco_conn_del() argument 244 struct hci_conn *hcon; sco_connect() local 1185 sco_connect_cfm(struct hci_conn *hcon, __u8 status) sco_connect_cfm() argument 1202 sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) sco_disconn_cfm() argument 1212 sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) sco_recv_scodata() argument [all...] |
H A D | l2cap_core.c | 80 static inline u8 bdaddr_src_type(struct hci_conn *hcon) in bdaddr_src_type() argument 82 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type() 85 static inline u8 bdaddr_dst_type(struct hci_conn *hcon) in bdaddr_dst_type() argument 87 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type() 270 if (conn->hcon->type == LE_LINK) in l2cap_alloc_cid() 599 if (conn->hcon->type == ACL_LINK) in __l2cap_chan_add() 633 hci_conn_hold(conn->hcon); in __l2cap_chan_add() 657 struct amp_mgr *mgr = conn->hcon in l2cap_chan_del() 754 struct hci_conn *hcon = conn->hcon; l2cap_conn_update_id_addr() local 993 struct hci_conn *hcon = chan->conn->hcon; l2cap_do_send() local 1541 l2cap_check_enc_key_size(struct hci_conn *hcon) l2cap_check_enc_key_size() argument 1709 struct hci_conn *hcon = conn->hcon; l2cap_le_conn_ready() local 1743 struct hci_conn *hcon = conn->hcon; l2cap_conn_ready() local 1888 l2cap_conn_del(struct hci_conn *hcon, int err) l2cap_conn_del() argument 4276 struct hci_conn *hcon = conn->hcon; l2cap_connect_req() local 5592 struct hci_conn *hcon = conn->hcon; l2cap_conn_param_update_req() local 5643 struct hci_conn *hcon = conn->hcon; l2cap_le_connect_rsp() local 6152 struct hci_conn *hcon = conn->hcon; l2cap_ecred_conn_rsp() local 6456 struct hci_conn *hcon = conn->hcon; l2cap_le_sig_channel() local 6505 struct hci_conn *hcon = conn->hcon; l2cap_sig_channel() local 7741 struct hci_conn *hcon = conn->hcon; l2cap_conless_channel() local 7778 struct hci_conn *hcon = conn->hcon; l2cap_recv_frame() local 7842 l2cap_conn_add(struct hci_conn *hcon) l2cap_conn_add() argument 7951 struct hci_conn *hcon; l2cap_chan_connect() local 8201 l2cap_global_fixed_chan(struct l2cap_chan *c, struct hci_conn *hcon) l2cap_global_fixed_chan() argument 8233 l2cap_connect_cfm(struct hci_conn *hcon, u8 status) l2cap_connect_cfm() argument 8294 l2cap_disconn_ind(struct hci_conn *hcon) l2cap_disconn_ind() argument 8305 l2cap_disconn_cfm(struct hci_conn *hcon, u8 reason) l2cap_disconn_cfm() argument 8332 l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt) l2cap_security_cfm() argument 8424 l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags) l2cap_recv_acldata() argument [all...] |
H A D | amp.h | 29 int phylink_gen_key(struct hci_conn *hcon, u8 *data, u8 *len, u8 *type); 35 struct hci_conn *hcon); 37 struct hci_conn *hcon); 39 struct hci_conn *hcon);
|
H A D | a2mp.c | 418 struct hci_conn *hcon; in a2mp_getampassoc_rsp() local 456 hcon = phylink_add(hdev, mgr, rsp->id, true); in a2mp_getampassoc_rsp() 457 if (!hcon) in a2mp_getampassoc_rsp() 460 BT_DBG("Created hcon %p: loc:%d -> rem:%d", hcon, hdev->id, rsp->id); in a2mp_getampassoc_rsp() 464 amp_create_phylink(hdev, mgr, hcon); in a2mp_getampassoc_rsp() 478 struct hci_conn *hcon; in a2mp_createphyslink_req() local 527 hcon = phylink_add(hdev, mgr, req->local_id, false); in a2mp_createphyslink_req() 528 if (hcon) { in a2mp_createphyslink_req() 529 amp_accept_phylink(hdev, mgr, hcon); in a2mp_createphyslink_req() 560 struct hci_conn *hcon; a2mp_discphyslink_req() local [all...] |
H A D | 6lowpan.c | 253 if (conn->hcon->hdev == entry->hdev) { in lookup_dev() 634 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan() argument 636 if (hcon->type != LE_LINK) in is_bt_6lowpan() 707 SET_NETDEV_DEV(netdev, &chan->conn->hcon->hdev->dev); in setup_netdev() 712 (*dev)->hdev = chan->conn->hcon->hdev; in setup_netdev() 801 if (chan->conn && chan->conn->hcon) { in chan_close_cb() 802 if (!is_bt_6lowpan(chan->conn->hcon)) in chan_close_cb() 993 struct hci_conn *hcon; in get_l2cap_conn() local 1011 hcon = hci_conn_hash_lookup_le(hdev, addr, *addr_type); in get_l2cap_conn() 1015 if (!hcon) in get_l2cap_conn() [all...] |
H A D | hci_event.c | 1856 BT_DBG("%s bdaddr %pMR hcon %p", hdev->name, &cp->bdaddr, conn); in hci_cs_create_conn() 4963 struct hci_conn *hcon; in hci_chan_selected_evt() local 4969 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_chan_selected_evt() 4970 if (!hcon) in hci_chan_selected_evt() 4973 amp_read_loc_assoc_final_data(hdev, hcon); in hci_chan_selected_evt() 4980 struct hci_conn *hcon, *bredr_hcon; in hci_phy_link_complete_evt() local 4987 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_phy_link_complete_evt() 4988 if (!hcon) { in hci_phy_link_complete_evt() 4993 if (!hcon->amp_mgr) { in hci_phy_link_complete_evt() 4999 hci_conn_del(hcon); in hci_phy_link_complete_evt() 5024 struct hci_conn *hcon; hci_loglink_complete_evt() local 5088 struct hci_conn *hcon; hci_disconn_phylink_complete_evt() local 5914 struct hci_conn *hcon; hci_le_remote_conn_param_req_evt() local [all...] |
H A D | smp.h | 186 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level, 188 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level);
|
H A D | l2cap_sock.c | 553 cinfo.hci_handle = chan->conn->hcon->handle; in l2cap_sock_getsockopt_old() 554 memcpy(cinfo.dev_class, chan->conn->hcon->dev_class, 3); in l2cap_sock_getsockopt_old() 605 sec.level = chan->conn->hcon->sec_level; in l2cap_sock_getsockopt() 608 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt() 689 phys = hci_conn_get_phy(chan->conn->hcon); in l2cap_sock_getsockopt() 952 if (smp_conn_security(conn->hcon, sec.level)) { in l2cap_sock_setsockopt() 1009 if (!conn || !lmp_no_flush_capable(conn->hcon->hdev)) { in l2cap_sock_setsockopt()
|
H A D | hci_conn.c | 152 BT_DBG("%s hcon %p", hdev->name, conn); in le_scan_cleanup() 176 BT_DBG("%s hcon %p", conn->hdev->name, conn); in hci_connect_le_scan_remove() 202 BT_DBG("hcon %p", conn); in hci_acl_create_connection() 239 BT_DBG("hcon %p", conn); in hci_disconnect() 264 BT_DBG("hcon %p", conn); in hci_add_sco() 283 BT_DBG("hcon %p", conn); in hci_setup_sync() 369 BT_DBG("hcon %p", conn); in hci_le_start_enc() 389 BT_DBG("hcon %p", conn); in hci_sco_setup() 408 BT_DBG("hcon %p state %s", conn, state_to_string(conn->state)); in hci_conn_timeout() 439 BT_DBG("hcon in hci_conn_idle() 1770 __hci_chan_lookup_handle(struct hci_conn *hcon, __u16 handle) __hci_chan_lookup_handle() argument 1786 struct hci_conn *hcon; hci_chan_lookup_handle() local [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | smp.c | 600 bt_dev_dbg(conn->hcon->hdev, "code 0x%2.2x", code); in smp_send_cmd() 654 struct hci_conn *hcon = conn->hcon; in build_pairing_cmd() local 655 struct hci_dev *hdev = hcon->hdev; in build_pairing_cmd() 682 if (hcon->dst_type == ADDR_LE_DEV_PUBLIC) in build_pairing_cmd() 687 oob_data = hci_find_remote_oob_data(hdev, &hcon->dst, in build_pairing_cmd() 703 req->io_capability = conn->hcon->io_capability; in build_pairing_cmd() 714 rsp->io_capability = conn->hcon->io_capability; in build_pairing_cmd() 727 struct hci_dev *hdev = conn->hcon->hdev; in check_enc_key_size() 730 if (conn->hcon in check_enc_key_size() 747 struct hci_conn *hcon = conn->hcon; smp_chan_destroy() local 799 struct hci_conn *hcon = conn->hcon; smp_failure() local 854 struct hci_conn *hcon = conn->hcon; tk_request() local 979 struct hci_conn *hcon = conn->hcon; smp_random() local 1041 struct hci_conn *hcon = conn->hcon; smp_notify_keys() local 1142 struct hci_conn *hcon = smp->conn->hcon; sc_add_ltk() local 1214 struct hci_conn *hcon = smp->conn->hcon; sc_generate_ltk() local 1251 struct hci_conn *hcon = conn->hcon; smp_distribute_keys() local 1393 struct hci_conn *hcon = conn->hcon; smp_chan_create() local 1433 struct hci_conn *hcon = smp->conn->hcon; sc_mackey_and_ltk() local 1454 struct hci_conn *hcon = smp->conn->hcon; sc_dhkey_check() local 1491 struct hci_conn *hcon = conn->hcon; sc_passkey_send_confirm() local 1512 struct hci_conn *hcon = conn->hcon; sc_passkey_round() local 1599 struct hci_conn *hcon = conn->hcon; sc_user_reply() local 1638 smp_user_confirm_reply(struct hci_conn *hcon, u16 mgmt_op, __le32 passkey) smp_user_confirm_reply() argument 2061 struct hci_conn *hcon = conn->hcon; fixup_sc_false_positive() local 2099 struct hci_conn *hcon = conn->hcon; smp_cmd_pairing_confirm() local 2144 struct hci_conn *hcon = conn->hcon; smp_cmd_pairing_random() local 2255 struct hci_conn *hcon = conn->hcon; smp_ltk_encrypt() local 2276 smp_sufficient_security(struct hci_conn *hcon, u8 sec_level, enum smp_key_pref key_pref) smp_sufficient_security() argument 2303 struct hci_conn *hcon = conn->hcon; smp_cmd_security_req() local 2363 smp_conn_security(struct hci_conn *hcon, __u8 sec_level) smp_conn_security() argument 2458 struct hci_conn *hcon; smp_cancel_and_remove_pairing() local 2537 struct hci_conn *hcon = conn->hcon; smp_cmd_initiator_ident() local 2602 struct hci_conn *hcon = conn->hcon; smp_cmd_ident_addr_info() local 2699 struct hci_conn *hcon = conn->hcon; sc_select_method() local 2744 struct hci_conn *hcon = conn->hcon; smp_cmd_public_key() local 2885 struct hci_conn *hcon = conn->hcon; smp_cmd_dhkey_check() local 2959 struct hci_conn *hcon = conn->hcon; smp_sig_channel() local 3085 struct hci_conn *hcon = conn->hcon; bredr_pairing() local 3153 struct hci_conn *hcon = conn->hcon; smp_resume_cb() local 3176 struct hci_conn *hcon = conn->hcon; smp_ready_cb() local [all...] |
H A D | iso.c | 26 struct hci_conn *hcon; member 137 static struct iso_conn *iso_conn_add(struct hci_conn *hcon) in iso_conn_add() argument 139 struct iso_conn *conn = hcon->iso_data; in iso_conn_add() 142 if (!conn->hcon) in iso_conn_add() 143 conn->hcon = hcon; in iso_conn_add() 154 hcon->iso_data = conn; in iso_conn_add() 155 conn->hcon = hcon; in iso_conn_add() 158 BT_DBG("hcon in iso_conn_add() 199 struct hci_conn *hcon = data; iso_match_conn_sync_handle() local 207 iso_conn_del(struct hci_conn *hcon, int err) iso_conn_del() argument 304 struct hci_conn *hcon; iso_connect_bis() local 395 struct hci_conn *hcon; iso_connect_cis() local 1594 struct hci_conn *hcon; global() member 1617 struct hci_conn *hcon; iso_conn_ready() local 1854 iso_connect_cfm(struct hci_conn *hcon, __u8 status) iso_connect_cfm() argument 1895 iso_disconn_cfm(struct hci_conn *hcon, __u8 reason) iso_disconn_cfm() argument 1905 iso_recv(struct hci_conn *hcon, struct sk_buff *skb, u16 flags) iso_recv() argument [all...] |
H A D | sco.c | 46 struct hci_conn *hcon; member 123 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add() argument 125 struct hci_dev *hdev = hcon->hdev; in sco_conn_add() 126 struct sco_conn *conn = hcon->sco_data; in sco_conn_add() 129 if (!conn->hcon) in sco_conn_add() 130 conn->hcon = hcon; in sco_conn_add() 141 hcon->sco_data = conn; in sco_conn_add() 142 conn->hcon = hcon; in sco_conn_add() 181 sco_conn_del(struct hci_conn *hcon, int err) sco_conn_del() argument 243 struct hci_conn *hcon; sco_connect() local 1347 sco_connect_cfm(struct hci_conn *hcon, __u8 status) sco_connect_cfm() argument 1364 sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) sco_disconn_cfm() argument 1374 sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) sco_recv_scodata() argument [all...] |
H A D | l2cap_core.c | 78 static inline u8 bdaddr_src_type(struct hci_conn *hcon) in bdaddr_src_type() argument 80 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type() 83 static inline u8 bdaddr_dst_type(struct hci_conn *hcon) in bdaddr_dst_type() argument 85 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type() 250 if (conn->hcon->type == LE_LINK) in l2cap_alloc_cid() 576 if (conn->hcon->type == ACL_LINK) in __l2cap_chan_add() 610 hci_conn_hold(conn->hcon); in __l2cap_chan_add() 647 hci_conn_drop(conn->hcon); in l2cap_chan_del() 718 struct hci_conn *hcon = conn->hcon; l2cap_conn_update_id_addr() local 951 struct hci_conn *hcon = chan->conn->hcon; l2cap_do_send() local 1380 l2cap_check_enc_key_size(struct hci_conn *hcon) l2cap_check_enc_key_size() argument 1549 struct hci_conn *hcon = conn->hcon; l2cap_le_conn_ready() local 1583 struct hci_conn *hcon = conn->hcon; l2cap_conn_ready() local 1723 l2cap_conn_del(struct hci_conn *hcon, int err) l2cap_conn_del() argument 4051 struct hci_conn *hcon = conn->hcon; l2cap_connect_req() local 4609 struct hci_conn *hcon = conn->hcon; l2cap_conn_param_update_req() local 4666 struct hci_conn *hcon = conn->hcon; l2cap_le_connect_rsp() local 5154 struct hci_conn *hcon = conn->hcon; l2cap_ecred_conn_rsp() local 5458 struct hci_conn *hcon = conn->hcon; l2cap_le_sig_channel() local 5507 struct hci_conn *hcon = conn->hcon; l2cap_sig_channel() local 6724 struct hci_conn *hcon = conn->hcon; l2cap_conless_channel() local 6761 struct hci_conn *hcon = conn->hcon; l2cap_recv_frame() local 6825 l2cap_conn_add(struct hci_conn *hcon) l2cap_conn_add() argument 6931 struct hci_conn *hcon; l2cap_chan_connect() local 7181 l2cap_global_fixed_chan(struct l2cap_chan *c, struct hci_conn *hcon) l2cap_global_fixed_chan() argument 7213 l2cap_connect_cfm(struct hci_conn *hcon, u8 status) l2cap_connect_cfm() argument 7274 l2cap_disconn_ind(struct hci_conn *hcon) l2cap_disconn_ind() argument 7285 l2cap_disconn_cfm(struct hci_conn *hcon, u8 reason) l2cap_disconn_cfm() argument 7312 l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt) l2cap_security_cfm() argument 7463 l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags) l2cap_recv_acldata() argument [all...] |
H A D | 6lowpan.c | 224 if (conn->hcon->hdev == entry->hdev) { in lookup_dev() 605 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan() argument 607 if (hcon->type != LE_LINK) in is_bt_6lowpan() 679 SET_NETDEV_DEV(netdev, &chan->conn->hcon->hdev->dev); in setup_netdev() 684 (*dev)->hdev = chan->conn->hcon->hdev; in setup_netdev() 773 if (chan->conn && chan->conn->hcon) { in chan_close_cb() 774 if (!is_bt_6lowpan(chan->conn->hcon)) in chan_close_cb() 955 struct hci_conn *hcon; in get_l2cap_conn() local 973 hcon = hci_conn_hash_lookup_le(hdev, addr, *addr_type); in get_l2cap_conn() 977 if (!hcon) in get_l2cap_conn() [all...] |
H A D | smp.h | 186 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level, 188 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level);
|
H A D | hci_event.c | 2339 bt_dev_dbg(hdev, "bdaddr %pMR hcon %p", &cp->bdaddr, conn); in hci_cs_create_conn() 5684 struct hci_conn *hcon; in hci_chan_selected_evt() local 5688 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_chan_selected_evt() 5689 if (!hcon) in hci_chan_selected_evt() 5692 amp_read_loc_assoc_final_data(hdev, hcon); in hci_chan_selected_evt() 5699 struct hci_conn *hcon, *bredr_hcon; in hci_phy_link_complete_evt() local 5706 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_phy_link_complete_evt() 5707 if (!hcon) in hci_phy_link_complete_evt() 5710 if (!hcon->amp_mgr) in hci_phy_link_complete_evt() 5714 hci_conn_del(hcon); in hci_phy_link_complete_evt() 5740 struct hci_conn *hcon; hci_loglink_complete_evt() local 5803 struct hci_conn *hcon; hci_disconn_phylink_complete_evt() local 6784 struct hci_conn *hcon; hci_le_remote_conn_param_req_evt() local [all...] |
H A D | l2cap_sock.c | 535 cinfo.hci_handle = chan->conn->hcon->handle; in l2cap_sock_getsockopt_old() 536 memcpy(cinfo.dev_class, chan->conn->hcon->dev_class, 3); in l2cap_sock_getsockopt_old() 587 sec.level = chan->conn->hcon->sec_level; in l2cap_sock_getsockopt() 590 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt() 671 phys = hci_conn_get_phy(chan->conn->hcon); in l2cap_sock_getsockopt() 934 if (smp_conn_security(conn->hcon, sec.level)) { in l2cap_sock_setsockopt() 991 if (!conn || !lmp_no_flush_capable(conn->hcon->hdev)) { in l2cap_sock_setsockopt()
|
H A D | hci_conn.c | 187 BT_DBG("hcon %p", conn); in hci_acl_create_connection() 241 BT_DBG("hcon %p", conn); in hci_disconnect() 266 BT_DBG("hcon %p", conn); in hci_add_sco() 289 BT_DBG("hcon %p skipped attempt %d, eSCO 2M not supported", in find_next_esco_param() 345 bt_dev_dbg(hdev, "hcon %p", conn); in hci_enhanced_setup_sync() 465 bt_dev_dbg(hdev, "hcon %p", conn); in hci_setup_sync_conn() 577 BT_DBG("hcon %p", conn); in hci_le_start_enc() 598 BT_DBG("hcon %p", conn); in hci_sco_setup() 617 BT_DBG("hcon %p state %s", conn, state_to_string(conn->state)); in hci_conn_timeout() 641 BT_DBG("hcon in hci_conn_idle() 2134 hci_le_big_create_sync(struct hci_dev *hdev, struct hci_conn *hcon, struct bt_iso_qos *qos, __u16 sync_handle, __u8 num_bis, __u8 bis[]) hci_le_big_create_sync() argument 2766 __hci_chan_lookup_handle(struct hci_conn *hcon, __u16 handle) __hci_chan_lookup_handle() argument 2782 struct hci_conn *hcon; hci_chan_lookup_handle() local [all...] |
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
H A D | core.c | 546 if (!conn || !conn->hcon) in bnep_get_device() 549 return &conn->hcon->dev; in bnep_get_device()
|
/kernel/linux/linux-6.6/net/bluetooth/bnep/ |
H A D | core.c | 546 if (!conn || !conn->hcon) in bnep_get_device() 549 return &conn->hcon->dev; in bnep_get_device()
|
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci_core.h | 866 int l2cap_disconn_ind(struct hci_conn *hcon); 867 void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags); 871 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb); 879 static inline void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) in sco_recv_scodata() argument 886 void iso_recv(struct hci_conn *hcon, struct sk_buff *skb, u16 flags); 893 static inline void iso_recv(struct hci_conn *hcon, struct sk_buff *skb, in iso_recv() argument 1495 int hci_le_big_create_sync(struct hci_dev *hdev, struct hci_conn *hcon, 1543 BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt)); in hci_conn_hold() 1553 BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt)); in hci_conn_drop()
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
H A D | sock.c | 785 cinfo.hci_handle = conn->hcon->handle; in rfcomm_sock_getsockopt_old() 786 memcpy(cinfo.dev_class, conn->hcon->dev_class, 3); in rfcomm_sock_getsockopt_old()
|
/kernel/linux/linux-6.6/net/bluetooth/rfcomm/ |
H A D | sock.c | 787 cinfo.hci_handle = conn->hcon->handle; in rfcomm_sock_getsockopt_old() 788 memcpy(cinfo.dev_class, conn->hcon->dev_class, 3); in rfcomm_sock_getsockopt_old()
|