Home
last modified time | relevance | path

Searched refs:hci_conn (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/include/net/bluetooth/
Dhci_core.h679 struct hci_conn { struct
766 struct hci_conn *link; argument
769 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); argument
770 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); argument
771 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); argument
773 void (*cleanup)(struct hci_conn *conn); argument
779 struct hci_conn *conn;
807 struct hci_conn *conn;
843 int l2cap_disconn_ind(struct hci_conn *hcon);
844 void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags);
[all …]
Dhci_sync.h119 struct hci_conn;
121 int hci_abort_conn_sync(struct hci_dev *hdev, struct hci_conn *conn, u8 reason);
123 int hci_le_create_conn_sync(struct hci_dev *hdev, struct hci_conn *conn);
Dl2cap.h542 struct hci_conn *hs_hcon;
675 struct hci_conn *hcon;
/linux-6.1.9/net/bluetooth/
Damp.h26 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr,
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);
56 void amp_physical_cfm(struct hci_conn *bredr_hcon, struct hci_conn *hs_hcon);
Dhci_conn.c48 struct hci_conn *conn;
71 static void hci_connect_le_scan_cleanup(struct hci_conn *conn) in hci_connect_le_scan_cleanup()
122 static void hci_conn_cleanup(struct hci_conn *conn) in hci_conn_cleanup()
163 struct hci_conn *conn = container_of(work, struct hci_conn, in le_scan_cleanup()
166 struct hci_conn *c = NULL; in le_scan_cleanup()
190 static void hci_connect_le_scan_remove(struct hci_conn *conn) in hci_connect_le_scan_remove()
212 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection()
270 int hci_disconnect(struct hci_conn *conn, __u8 reason) in hci_disconnect()
292 static void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco()
310 static bool find_next_esco_param(struct hci_conn *conn, in find_next_esco_param()
[all …]
Damp.c105 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, in phylink_add()
109 struct hci_conn *hcon; in phylink_add()
167 int phylink_gen_key(struct hci_conn *conn, u8 *data, u8 *len, u8 *type) in phylink_gen_key()
293 struct hci_conn *hcon) in amp_read_loc_assoc_final_data()
333 struct hci_conn *hcon) in amp_write_rem_assoc_frag()
387 struct hci_conn *hcon; in amp_write_rem_assoc_continue()
402 struct hci_conn *hcon; in amp_write_remote_assoc()
429 struct hci_conn *hcon; in create_phylink_complete()
442 struct hci_conn *hcon) in amp_create_phylink()
481 struct hci_conn *hcon) in amp_accept_phylink()
[all …]
Dhci_sysfs.c13 struct hci_conn *conn = to_hci_conn(dev); in bt_link_release()
32 void hci_conn_init_sysfs(struct hci_conn *conn) in hci_conn_init_sysfs()
45 void hci_conn_add_sysfs(struct hci_conn *conn) in hci_conn_add_sysfs()
64 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
Dhci_debugfs.h28 void hci_debugfs_create_conn(struct hci_conn *conn);
45 static inline void hci_debugfs_create_conn(struct hci_conn *conn) in hci_debugfs_create_conn()
Dsmp.h186 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level,
188 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level);
189 int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey);
Dhci_event.c170 struct hci_conn *conn; in hci_cc_role_discovery()
192 struct hci_conn *conn; in hci_cc_read_link_policy()
214 struct hci_conn *conn; in hci_cc_write_link_policy()
719 struct hci_conn *conn; in hci_cc_read_enc_key_size()
777 struct hci_conn *conn; in hci_cc_read_auth_payload_timeout()
799 struct hci_conn *conn; in hci_cc_write_auth_payload_timeout()
1075 struct hci_conn *conn; in hci_cc_read_clock()
1183 struct hci_conn *conn; in hci_cc_pin_code_reply()
1584 struct hci_conn *conn; in hci_cc_le_set_adv_enable()
1627 struct hci_conn *conn; in hci_cc_le_set_ext_adv_enable()
[all …]
Dsmp.c652 struct hci_conn *hcon = conn->hcon; in build_pairing_cmd()
745 struct hci_conn *hcon = conn->hcon; in smp_chan_destroy()
797 struct hci_conn *hcon = conn->hcon; in smp_failure()
852 struct hci_conn *hcon = conn->hcon; in tk_request()
977 struct hci_conn *hcon = conn->hcon; in smp_random()
1039 struct hci_conn *hcon = conn->hcon; in smp_notify_keys()
1128 struct hci_conn *hcon = smp->conn->hcon; in sc_add_ltk()
1200 struct hci_conn *hcon = smp->conn->hcon; in sc_generate_ltk()
1237 struct hci_conn *hcon = conn->hcon; in smp_distribute_keys()
1379 struct hci_conn *hcon = conn->hcon; in smp_chan_create()
[all …]
Diso.c25 struct hci_conn *hcon;
115 static struct iso_conn *iso_conn_add(struct hci_conn *hcon) in iso_conn_add()
172 static void iso_conn_del(struct hci_conn *hcon, int err) in iso_conn_del()
249 struct hci_conn *hcon; in iso_connect_bis()
320 struct hci_conn *hcon; in iso_connect_cis()
582 static void iso_conn_defer_reject(struct hci_conn *conn) in iso_conn_defer_reject()
1102 static void iso_conn_defer_accept(struct hci_conn *conn) in iso_conn_defer_accept()
1415 struct hci_conn *hcon;
1431 struct hci_conn *hcon; in iso_conn_ready()
1580 static void iso_connect_cfm(struct hci_conn *hcon, __u8 status) in iso_connect_cfm()
[all …]
Dsco.c46 struct hci_conn *hcon;
124 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add()
179 static void sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del()
241 struct hci_conn *hcon; in sco_connect()
759 static void sco_conn_defer_accept(struct hci_conn *conn, u16 setting) in sco_conn_defer_accept()
1355 static void sco_connect_cfm(struct hci_conn *hcon, __u8 status) in sco_connect_cfm()
1372 static void sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) in sco_disconn_cfm()
1382 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) in sco_recv_scodata()
DMakefile15 bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
Dhci_core.c1158 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key()
1302 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
3116 struct hci_conn *conn = chan->conn; in hci_queue_acl()
3187 void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb) in hci_send_sco()
3220 static void hci_queue_iso(struct hci_conn *conn, struct sk_buff_head *queue, in hci_queue_iso()
3265 void hci_send_iso(struct hci_conn *conn, struct sk_buff *skb) in hci_send_iso()
3279 static inline void hci_quote_sent(struct hci_conn *conn, int num, int *quote) in hci_quote_sent()
3318 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent()
3322 struct hci_conn *conn = NULL, *c; in hci_low_sent()
3359 struct hci_conn *c; in hci_link_tx_to()
[all …]
Da2mp.c418 struct hci_conn *hcon; in a2mp_getampassoc_rsp()
478 struct hci_conn *hcon; in a2mp_createphyslink_req()
560 struct hci_conn *hcon; in a2mp_discphyslink_req()
1009 struct hci_conn *hs_hcon; in a2mp_send_create_phy_link_rsp()
Dl2cap_core.c80 static inline u8 bdaddr_src_type(struct hci_conn *hcon) in bdaddr_src_type()
85 static inline u8 bdaddr_dst_type(struct hci_conn *hcon) in bdaddr_dst_type()
738 struct hci_conn *hcon = conn->hcon; in l2cap_conn_update_id_addr()
991 struct hci_conn *hcon = chan->conn->hcon; in l2cap_do_send()
1539 static bool l2cap_check_enc_key_size(struct hci_conn *hcon) in l2cap_check_enc_key_size()
1713 struct hci_conn *hcon = conn->hcon; in l2cap_le_conn_ready()
1747 struct hci_conn *hcon = conn->hcon; in l2cap_conn_ready()
1892 static void l2cap_conn_del(struct hci_conn *hcon, int err) in l2cap_conn_del()
3422 struct hci_conn *conn = chan->conn->hcon; in l2cap_mtu_auto()
4261 struct hci_conn *hcon = conn->hcon; in l2cap_connect_req()
[all …]
Dhci_sync.c2511 struct hci_conn *c; in hci_is_le_conn_scanning()
2983 struct hci_conn *conn; in disconnected_accept_list_entries()
5037 static int hci_disconnect_sync(struct hci_dev *hdev, struct hci_conn *conn, in hci_disconnect_sync()
5063 struct hci_conn *conn) in hci_le_connect_cancel_sync()
5072 static int hci_connect_cancel_sync(struct hci_dev *hdev, struct hci_conn *conn) in hci_connect_cancel_sync()
5084 static int hci_reject_sco_sync(struct hci_dev *hdev, struct hci_conn *conn, in hci_reject_sco_sync()
5103 static int hci_reject_conn_sync(struct hci_dev *hdev, struct hci_conn *conn, in hci_reject_conn_sync()
5119 int hci_abort_conn_sync(struct hci_dev *hdev, struct hci_conn *conn, u8 reason) in hci_abort_conn_sync()
5150 struct hci_conn *conn, *tmp; in hci_disconnect_all_sync()
5775 static bool conn_use_rpa(struct hci_conn *conn) in conn_use_rpa()
[all …]
Dmgmt.c2949 struct hci_conn *conn; in unpair_device_sync()
2971 struct hci_conn *conn; in unpair_device()
3099 struct hci_conn *conn; in disconnect()
3182 struct hci_conn *c; in get_connections()
3256 struct hci_conn *conn; in pin_code_reply()
3338 static struct mgmt_pending_cmd *find_pairing(struct hci_conn *conn) in find_pairing()
3359 struct hci_conn *conn = cmd->user_data; in pairing_complete()
3385 void mgmt_smp_complete(struct hci_conn *conn, bool complete) in mgmt_smp_complete()
3397 static void pairing_complete_cb(struct hci_conn *conn, u8 status) in pairing_complete_cb()
3413 static void le_pairing_complete_cb(struct hci_conn *conn, u8 status) in le_pairing_complete_cb()
[all …]
D6lowpan.c605 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan()
955 struct hci_conn *hcon; in get_l2cap_conn()
Dhci_request.c636 struct hci_conn *c; in hci_is_le_conn_scanning()
Dhci_debugfs.c1243 void hci_debugfs_create_conn(struct hci_conn *conn) in hci_debugfs_create_conn()
/linux-6.1.9/net/bluetooth/rfcomm/
Dtty.c178 struct hci_conn *conn; in rfcomm_reparent_device()
Dcore.c2133 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt) in rfcomm_security_cfm()