/openbmc/linux/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->pending_sec_level == BT_SECURITY_FIPS && in check_enc_key_size() 747 struct hci_conn *hcon = conn->hcon; in smp_chan_destroy() local [all …]
|
H A D | iso.c | 26 struct hci_conn *hcon; member 145 static struct iso_conn *iso_conn_add(struct hci_conn *hcon) in iso_conn_add() argument 147 struct iso_conn *conn = hcon->iso_data; in iso_conn_add() 150 if (!conn->hcon) in iso_conn_add() 151 conn->hcon = hcon; in iso_conn_add() 162 hcon->iso_data = conn; in iso_conn_add() 163 conn->hcon = hcon; in iso_conn_add() 166 BT_DBG("hcon in iso_conn_add() 207 struct hci_conn *hcon = data; iso_match_conn_sync_handle() local 215 iso_conn_del(struct hci_conn * hcon,int err) iso_conn_del() argument 310 struct hci_conn *hcon; iso_connect_bis() local 401 struct hci_conn *hcon; iso_connect_cis() local 730 struct hci_conn *hcon = iso_pi(sk)->conn->hcon; iso_sock_disconn() local 1668 struct hci_conn *hcon; global() member 1691 struct hci_conn *hcon; iso_conn_ready() local 1932 iso_match(struct hci_conn * hcon) iso_match() argument 1937 iso_connect_cfm(struct hci_conn * hcon,__u8 status) iso_connect_cfm() argument 1978 iso_disconn_cfm(struct hci_conn * hcon,__u8 reason) iso_disconn_cfm() argument 1988 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 96 if (!conn->hcon) { in sco_sock_timeout() 135 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add() argument 137 struct sco_conn *conn = hcon->sco_data; in sco_conn_add() 140 if (!conn->hcon) in sco_conn_add() 141 conn->hcon = hcon; in sco_conn_add() 152 hcon->sco_data = conn; in sco_conn_add() 153 conn->hcon = hcon; in sco_conn_add() 193 sco_conn_del(struct hci_conn * hcon,int err) sco_conn_del() argument 253 struct hci_conn *hcon; sco_connect() local 1356 sco_match(struct hci_conn * hcon) sco_match() argument 1361 sco_connect_cfm(struct hci_conn * hcon,__u8 status) sco_connect_cfm() argument 1375 sco_disconn_cfm(struct hci_conn * hcon,__u8 reason) sco_disconn_cfm() argument 1382 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() 246 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() 671 hci_conn_drop(conn->hcon); in l2cap_chan_del() 746 struct hci_conn *hcon = conn->hcon; l2cap_conn_update_id_addr() local 979 struct hci_conn *hcon = chan->conn->hcon; l2cap_do_send() local 1408 l2cap_check_enc_key_size(struct hci_conn * hcon) l2cap_check_enc_key_size() argument 1577 struct hci_conn *hcon = conn->hcon; l2cap_le_conn_ready() local 1611 struct hci_conn *hcon = conn->hcon; l2cap_conn_ready() local 1751 l2cap_conn_del(struct hci_conn * hcon,int err) l2cap_conn_del() argument 4622 struct hci_conn *hcon = conn->hcon; l2cap_conn_param_update_req() local 4673 struct hci_conn *hcon = conn->hcon; l2cap_le_connect_rsp() local 5161 struct hci_conn *hcon = conn->hcon; l2cap_ecred_conn_rsp() local 5465 struct hci_conn *hcon = conn->hcon; l2cap_le_sig_channel() local 5514 struct hci_conn *hcon = conn->hcon; l2cap_sig_channel() local 6749 struct hci_conn *hcon = conn->hcon; l2cap_conless_channel() local 6790 struct hci_conn *hcon = conn->hcon; l2cap_recv_frame() local 6854 l2cap_conn_add(struct hci_conn * hcon) l2cap_conn_add() argument 6949 struct hci_conn *hcon; l2cap_chan_connect() local 7200 l2cap_global_fixed_chan(struct l2cap_chan * c,struct hci_conn * hcon) l2cap_global_fixed_chan() argument 7231 l2cap_match(struct hci_conn * hcon) l2cap_match() argument 7236 l2cap_connect_cfm(struct hci_conn * hcon,u8 status) l2cap_connect_cfm() argument 7294 l2cap_disconn_ind(struct hci_conn * hcon) l2cap_disconn_ind() argument 7305 l2cap_disconn_cfm(struct hci_conn * hcon,u8 reason) l2cap_disconn_cfm() argument 7329 l2cap_security_cfm(struct hci_conn * hcon,u8 status,u8 encrypt) l2cap_security_cfm() argument 7480 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 | l2cap_sock.c | 536 cinfo.hci_handle = chan->conn->hcon->handle; in l2cap_sock_getsockopt_old() 537 memcpy(cinfo.dev_class, chan->conn->hcon->dev_class, 3); in l2cap_sock_getsockopt_old() 588 sec.level = chan->conn->hcon->sec_level; in l2cap_sock_getsockopt() 591 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt() 672 phys = hci_conn_get_phy(chan->conn->hcon); in l2cap_sock_getsockopt() 930 if (smp_conn_security(conn->hcon, sec.level)) { in l2cap_sock_setsockopt() 985 if (!conn || !lmp_no_flush_capable(conn->hcon->hdev)) { in l2cap_sock_setsockopt()
|
H A D | hci_conn.c | 2086 int hci_le_big_create_sync(struct hci_dev *hdev, struct hci_conn *hcon, in hci_le_big_create_sync() argument 2103 if (hcon) in hci_le_big_create_sync() 2104 hcon->iso_qos.bcast.big = qos->bcast.big; in hci_le_big_create_sync() 2722 static struct hci_chan *__hci_chan_lookup_handle(struct hci_conn *hcon, in __hci_chan_lookup_handle() argument 2727 list_for_each_entry(hchan, &hcon->chan_list, list) { in __hci_chan_lookup_handle() 2738 struct hci_conn *hcon; in hci_chan_lookup_handle() local 2743 list_for_each_entry_rcu(hcon, &h->list, list) { in hci_chan_lookup_handle() 2744 hchan = __hci_chan_lookup_handle(hcon, handle); in hci_chan_lookup_handle()
|
H A D | hci_event.c | 2278 bt_dev_dbg(hdev, "bdaddr %pMR hcon %p", &cp->bdaddr, conn); in hci_cs_create_conn() 6528 struct hci_conn *hcon; in hci_le_remote_conn_param_req_evt() 6539 hcon = hci_conn_hash_lookup_handle(hdev, handle); in hci_le_remote_conn_param_req_evt() 6540 if (!hcon || hcon->state != BT_CONNECTED) in hci_le_remote_conn_param_req_evt() 6544 if (max > hcon->le_conn_max_interval) in hci_le_remote_conn_param_req_evt() 6552 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt() 6558 params = hci_conn_params_lookup(hdev, &hcon->dst, in hci_le_remote_conn_param_req_evt() 6559 hcon->dst_type); in hci_le_remote_conn_param_req_evt() 6572 mgmt_new_conn_param(hdev, &hcon in hci_le_remote_conn_param_req_evt() 6521 struct hci_conn *hcon; hci_le_remote_conn_param_req_evt() local [all...] |
/openbmc/linux/include/net/bluetooth/ |
H A D | hci_core.h | 830 int l2cap_disconn_ind(struct hci_conn *hcon); 831 void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags); 835 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb); 843 static inline void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) in sco_recv_scodata() 850 void iso_recv(struct hci_conn *hcon, struct sk_buff *skb, u16 flags); 857 static inline void iso_recv(struct hci_conn *hcon, struct sk_buff *skb, in iso_recv() 1493 int hci_le_big_create_sync(struct hci_dev *hdev, struct hci_conn *hcon, 1541 BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt)); in hci_conn_hold() 1551 BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt)); in hci_conn_drop() 842 sco_recv_scodata(struct hci_conn * hcon,struct sk_buff * skb) sco_recv_scodata() argument 856 iso_recv(struct hci_conn * hcon,struct sk_buff * skb,u16 flags) iso_recv() argument
|
H A D | l2cap.h | 636 struct hci_conn *hcon; member
|
/openbmc/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()
|
/openbmc/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() 2137 rfcomm_match(struct hci_conn * hcon) rfcomm_match() argument
|
/openbmc/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()
|