| /linux/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 1041 struct hci_conn *hcon = conn->hcon; smp_notify_keys() local 1135 struct hci_conn *hcon = smp->conn->hcon; sc_add_ltk() local 1207 struct hci_conn *hcon = smp->conn->hcon; sc_generate_ltk() local 1244 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 2053 struct hci_conn *hcon = conn->hcon; fixup_sc_false_positive() local 2091 struct hci_conn *hcon = conn->hcon; smp_cmd_pairing_confirm() local 2137 struct hci_conn *hcon = conn->hcon; smp_cmd_pairing_random() local 2231 struct hci_conn *hcon = conn->hcon; smp_ltk_encrypt() local 2252 smp_sufficient_security(struct hci_conn * hcon,u8 sec_level,enum smp_key_pref key_pref) smp_sufficient_security() argument 2296 struct hci_conn *hcon = conn->hcon; smp_cmd_security_req() local 2360 smp_conn_security(struct hci_conn * hcon,__u8 sec_level) smp_conn_security() argument 2443 struct hci_conn *hcon; smp_cancel_and_remove_pairing() local 2522 struct hci_conn *hcon = conn->hcon; smp_cmd_initiator_ident() local 2587 struct hci_conn *hcon = conn->hcon; smp_cmd_ident_addr_info() local 2727 struct hci_conn *hcon = conn->hcon; smp_cmd_public_key() local 2868 struct hci_conn *hcon = conn->hcon; smp_cmd_dhkey_check() local 2942 struct hci_conn *hcon = conn->hcon; smp_sig_channel() local 3085 struct hci_conn *hcon = conn->hcon; bredr_pairing() local 3145 struct hci_conn *hcon = conn->hcon; smp_resume_cb() local 3168 struct hci_conn *hcon = conn->hcon; smp_ready_cb() local [all...] |
| H A D | iso.c | 27 struct hci_conn *hcon; member 107 if (conn->hcon) { in iso_conn_free() 108 conn->hcon->iso_data = NULL; in iso_conn_free() 109 hci_conn_drop(conn->hcon); in iso_conn_free() 200 static struct iso_conn *iso_conn_add(struct hci_conn *hcon) in iso_conn_add() argument 202 struct iso_conn *conn = hcon->iso_data; in iso_conn_add() 206 if (!conn->hcon) { in iso_conn_add() 208 conn->hcon = hcon; in iso_conn_add() 223 hcon->iso_data = conn; in iso_conn_add() 224 conn->hcon = hcon; in iso_conn_add() [all …]
|
| H A D | sco.c | 46 struct hci_conn *hcon; member 89 if (conn->hcon) { in sco_conn_free() 90 conn->hcon->sco_data = NULL; in sco_conn_free() 91 hci_conn_drop(conn->hcon); in sco_conn_free() 152 if (!conn->hcon) { in sco_sock_timeout() 193 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add() argument 195 struct sco_conn *conn = hcon->sco_data; in sco_conn_add() 199 if (!conn->hcon) { in sco_conn_add() 201 conn->hcon = hcon; in sco_conn_add() 254 sco_conn_del(struct hci_conn * hcon,int err) sco_conn_del() argument 313 struct hci_conn *hcon; sco_connect() local 1437 sco_connect_cfm(struct hci_conn * hcon,__u8 status) sco_connect_cfm() argument 1456 sco_disconn_cfm(struct hci_conn * hcon,__u8 reason) sco_disconn_cfm() argument 1468 struct hci_conn *hcon; sco_recv_scodata() local [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() 246 if (conn->hcon->type == LE_LINK) in l2cap_alloc_cid() 600 if (conn->hcon->type == ACL_LINK) in __l2cap_chan_add() 634 hci_conn_hold(conn->hcon); in __l2cap_chan_add() 672 hci_conn_drop(conn->hcon); in l2cap_chan_del() 743 struct hci_conn *hcon = conn->hcon; in l2cap_conn_update_id_addr() local 750 bacpy(&chan->dst, &hcon->dst); in l2cap_conn_update_id_addr() [all …]
|
| H A D | 6lowpan.c | 232 if (conn->hcon->hdev == entry->hdev) { in lookup_dev() 614 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan() argument 616 if (hcon->type != LE_LINK) in is_bt_6lowpan() 688 SET_NETDEV_DEV(netdev, &chan->conn->hcon->hdev->dev); in setup_netdev() 693 (*dev)->hdev = chan->conn->hcon->hdev; in setup_netdev() 782 if (chan->conn && chan->conn->hcon) { in chan_close_cb() 783 if (!is_bt_6lowpan(chan->conn->hcon)) in chan_close_cb() 971 struct hci_conn *hcon; in get_l2cap_conn() local 1009 hcon = hci_conn_hash_lookup_le(hdev, addr, le_addr_type); in get_l2cap_conn() 1013 if (!hcon) in get_l2cap_conn() [all …]
|
| H A D | smp.h | 187 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level, 189 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level);
|
| H A D | l2cap_sock.c | 537 cinfo.hci_handle = chan->conn->hcon->handle; in l2cap_sock_getsockopt_old() 538 memcpy(cinfo.dev_class, chan->conn->hcon->dev_class, 3); in l2cap_sock_getsockopt_old() 589 sec.level = chan->conn->hcon->sec_level; in l2cap_sock_getsockopt() 592 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt() 673 phys = hci_conn_get_phy(chan->conn->hcon); in l2cap_sock_getsockopt() 932 if (smp_conn_security(conn->hcon, sec.level)) { in l2cap_sock_setsockopt() 987 if (!conn || !lmp_no_flush_capable(conn->hcon->hdev)) { in l2cap_sock_setsockopt() 1084 err = hci_conn_set_phy(conn->hcon, phys); in l2cap_sock_setsockopt()
|
| H A D | hci_conn.c | 180 BT_DBG("hcon %p", conn); in hci_disconnect() 205 BT_DBG("hcon %p", conn); in hci_add_sco() 228 BT_DBG("hcon %p skipped attempt %d, eSCO 2M not supported", in find_next_esco_param() 294 bt_dev_dbg(hdev, "hcon %p", conn); in hci_enhanced_setup_sync() 413 bt_dev_dbg(hdev, "hcon %p", conn); in hci_setup_sync_conn() 525 BT_DBG("hcon %p", conn); in hci_le_start_enc() 546 BT_DBG("hcon %p", conn); in hci_sco_setup() 565 BT_DBG("hcon %p state %s", conn, state_to_string(conn->state)); in hci_conn_timeout() 589 BT_DBG("hcon %p mode %d", conn, conn->mode); in hci_conn_idle() 777 bt_dev_dbg(hdev, "hcon in hci_le_big_terminate() 2170 hci_conn_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_conn_big_create_sync() argument 2827 __hci_chan_lookup_handle(struct hci_conn * hcon,__u16 handle) __hci_chan_lookup_handle() argument 2843 struct hci_conn *hcon; hci_chan_lookup_handle() local [all...] |
| H A D | hci_event.c | 2263 bt_dev_dbg(hdev, "bdaddr %pMR hcon %p", &cp->bdaddr, conn); in hci_cs_create_conn() 3090 bt_dev_dbg(hdev, "hcon %p", conn); in hci_read_enc_key_size() 3126 * testing is trying to play tricks to destroy the hcon object before in hci_conn_complete_evt() 3127 * it even attempts to connect (e.g. hcon->state == BT_OPEN). in hci_conn_complete_evt() 4515 bt_dev_warn(hdev, "hcon %p sent %u < count %u", in hci_num_comp_pkts_evt() 5739 * testing is trying to play tricks to destroy the hcon object before in le_conn_complete_evt() 5740 * it even attempts to connect (e.g. hcon->state == BT_OPEN). in le_conn_complete_evt() 6776 struct hci_conn *hcon; in hci_le_remote_conn_param_req_evt() 6789 hcon = hci_conn_hash_lookup_handle(hdev, handle); in hci_le_remote_conn_param_req_evt() 6790 if (!hcon || hco in hci_le_remote_conn_param_req_evt() 6759 struct hci_conn *hcon; hci_le_remote_conn_param_req_evt() local [all...] |
| /linux/net/bluetooth/bnep/ |
| H A D | core.c | 547 if (!conn || !conn->hcon) in bnep_get_device() 550 return &conn->hcon->dev; in bnep_get_device()
|
| /linux/net/bluetooth/rfcomm/ |
| H A D | sock.c | 784 cinfo.hci_handle = conn->hcon->handle; in rfcomm_sock_getsockopt_old() 785 memcpy(cinfo.dev_class, conn->hcon->dev_class, 3); in rfcomm_sock_getsockopt_old()
|
| H A D | core.c | 232 return hci_conn_security(conn->hcon, d->sec_level, auth_type, in rfcomm_check_security() 1337 hci_conn_switch_role(conn->hcon, 0x00); in rfcomm_dlc_accept()
|
| /linux/net/bluetooth/hidp/ |
| H A D | core.c | 703 input->dev.parent = &session->conn->hcon->dev; in hidp_setup_input() 793 hid->dev.parent = &session->conn->hcon->dev; in hidp_setup_hid()
|
| /linux/include/net/bluetooth/ |
| H A D | l2cap.h | 644 struct hci_conn *hcon; member
|
| H A D | hci_core.h | 862 int l2cap_disconn_ind(struct hci_conn *hcon); 1618 int hci_conn_big_create_sync(struct hci_dev *hdev, struct hci_conn *hcon,
|