Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/bluetooth/
Dhci_core.h434 struct hci_conn { struct
510 struct hci_conn *link; argument
512 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); argument
513 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); argument
514 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); argument
520 struct hci_conn *conn;
547 struct hci_conn *conn;
573 int l2cap_disconn_ind(struct hci_conn *hcon);
574 void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags);
578 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb);
[all …]
Dl2cap.h495 struct hci_conn *hs_hcon;
625 struct hci_conn *hcon;
/Linux-v4.19/net/bluetooth/
Dhci_conn.c63 static void hci_connect_le_scan_cleanup(struct hci_conn *conn) in hci_connect_le_scan_cleanup()
114 static void hci_conn_cleanup(struct hci_conn *conn) in hci_conn_cleanup()
139 struct hci_conn *conn = container_of(work, struct hci_conn, in le_scan_cleanup()
142 struct hci_conn *c = NULL; in le_scan_cleanup()
166 static void hci_connect_le_scan_remove(struct hci_conn *conn) in hci_connect_le_scan_remove()
188 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection()
231 int hci_disconnect(struct hci_conn *conn, __u8 reason) in hci_disconnect()
253 static void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco()
271 bool hci_setup_sync(struct hci_conn *conn, __u16 handle) in hci_setup_sync()
321 u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency, in hci_le_conn_update()
[all …]
Damp.h33 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr,
36 int phylink_gen_key(struct hci_conn *hcon, u8 *data, u8 *len, u8 *type);
42 struct hci_conn *hcon);
44 struct hci_conn *hcon);
46 struct hci_conn *hcon);
63 void amp_physical_cfm(struct hci_conn *bredr_hcon, struct hci_conn *hs_hcon);
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()
61 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
Damp.c112 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, in phylink_add()
116 struct hci_conn *hcon; in phylink_add()
175 int phylink_gen_key(struct hci_conn *conn, u8 *data, u8 *len, u8 *type) in phylink_gen_key()
301 struct hci_conn *hcon) in amp_read_loc_assoc_final_data()
338 struct hci_conn *hcon) in amp_write_rem_assoc_frag()
392 struct hci_conn *hcon; in amp_write_rem_assoc_continue()
407 struct hci_conn *hcon; in amp_write_remote_assoc()
434 struct hci_conn *hcon; in create_phylink_complete()
447 struct hci_conn *hcon) in amp_create_phylink()
486 struct hci_conn *hcon) in amp_accept_phylink()
[all …]
Dhci_debugfs.h28 void hci_debugfs_create_conn(struct hci_conn *conn);
44 static inline void hci_debugfs_create_conn(struct hci_conn *conn) in hci_debugfs_create_conn()
Dhci_event.c104 struct hci_conn *conn; in hci_cc_role_discovery()
123 struct hci_conn *conn; in hci_cc_read_link_policy()
142 struct hci_conn *conn; in hci_cc_write_link_policy()
793 struct hci_conn *conn; in hci_cc_read_clock()
863 struct hci_conn *conn; in hci_cc_pin_code_reply()
1115 struct hci_conn *conn; in hci_cc_le_set_adv_enable()
1149 struct hci_conn *conn; in hci_cc_le_set_ext_adv_enable()
1610 struct hci_conn *conn; in hci_cc_read_rssi()
1630 struct hci_conn *conn; in hci_cc_read_tx_power()
1690 struct hci_conn *conn; in hci_cs_create_conn()
[all …]
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);
Dsmp.c672 struct hci_conn *hcon = conn->hcon; in build_pairing_cmd()
761 struct hci_conn *hcon = conn->hcon; in smp_chan_destroy()
814 struct hci_conn *hcon = conn->hcon; in smp_failure()
869 struct hci_conn *hcon = conn->hcon; in tk_request()
986 struct hci_conn *hcon = conn->hcon; in smp_random()
1050 struct hci_conn *hcon = conn->hcon; in smp_notify_keys()
1139 struct hci_conn *hcon = smp->conn->hcon; in sc_add_ltk()
1211 struct hci_conn *hcon = smp->conn->hcon; in sc_generate_ltk()
1248 struct hci_conn *hcon = conn->hcon; in smp_distribute_keys()
1436 struct hci_conn *hcon = smp->conn->hcon; in sc_mackey_and_ltk()
[all …]
Dhci_request.h106 int hci_abort_conn(struct hci_conn *conn, u8 reason);
107 void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn,
Dsco.c46 struct hci_conn *hcon;
104 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add()
158 static void sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del()
217 struct hci_conn *hcon; in sco_connect()
727 static void sco_conn_defer_accept(struct hci_conn *conn, u16 setting) in sco_conn_defer_accept()
1109 static void sco_connect_cfm(struct hci_conn *hcon, __u8 status) in sco_connect_cfm()
1126 static void sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) in sco_disconn_cfm()
1136 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 \
Da2mp.c416 struct hci_conn *hcon; in a2mp_getampassoc_rsp()
477 struct hci_conn *hcon; in a2mp_createphyslink_req()
556 struct hci_conn *hcon; in a2mp_discphyslink_req()
999 struct hci_conn *hs_hcon; in a2mp_send_create_phy_link_rsp()
Dhci_core.c2267 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key()
2381 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
3589 struct hci_conn *conn = chan->conn; in hci_queue_acl()
3660 void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb) in hci_send_sco()
3683 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent()
3687 struct hci_conn *conn = NULL, *c; in hci_low_sent()
3746 struct hci_conn *c; in hci_link_tx_to()
3770 struct hci_conn *conn; in hci_chan_sent()
3849 struct hci_conn *conn; in hci_prio_recalculate()
4031 struct hci_conn *conn; in hci_sched_sco()
[all …]
Dl2cap_core.c79 static inline u8 bdaddr_src_type(struct hci_conn *hcon) in bdaddr_src_type()
84 static inline u8 bdaddr_dst_type(struct hci_conn *hcon) in bdaddr_dst_type()
662 struct hci_conn *hcon = conn->hcon; in l2cap_conn_update_id_addr()
885 struct hci_conn *hcon = chan->conn->hcon; in l2cap_do_send()
1488 struct hci_conn *hcon = conn->hcon; in l2cap_le_conn_ready()
1522 struct hci_conn *hcon = conn->hcon; in l2cap_conn_ready()
1667 static void l2cap_conn_del(struct hci_conn *hcon, int err) in l2cap_conn_del()
3922 struct hci_conn *hcon = conn->hcon; in l2cap_connect_req()
4512 struct hci_conn *hs_hcon; in l2cap_create_channel_req()
5217 struct hci_conn *hcon = conn->hcon; in l2cap_conn_param_update_req()
[all …]
Dmgmt.c1124 struct hci_conn *conn; in clean_up_hci_state()
2381 struct hci_conn *conn; in unpair_device()
2508 struct hci_conn *conn; in disconnect()
2591 struct hci_conn *c; in get_connections()
2669 struct hci_conn *conn; in pin_code_reply()
2752 static struct mgmt_pending_cmd *find_pairing(struct hci_conn *conn) in find_pairing()
2773 struct hci_conn *conn = cmd->user_data; in pairing_complete()
2799 void mgmt_smp_complete(struct hci_conn *conn, bool complete) in mgmt_smp_complete()
2811 static void pairing_complete_cb(struct hci_conn *conn, u8 status) in pairing_complete_cb()
2827 static void le_pairing_complete_cb(struct hci_conn *conn, u8 status) in le_pairing_complete_cb()
[all …]
D6lowpan.c631 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan()
990 struct hci_conn *hcon; in get_l2cap_conn()
Dhci_request.c1937 struct hci_conn *conn; in disconnected_whitelist_entries()
2149 void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn, in __hci_abort_conn()
2224 int hci_abort_conn(struct hci_conn *conn, u8 reason) in hci_abort_conn()
2254 struct hci_conn *conn; in bg_scan_update()
Dhci_debugfs.c1006 void hci_debugfs_create_conn(struct hci_conn *conn) in hci_debugfs_create_conn()
/Linux-v4.19/net/bluetooth/rfcomm/
Dtty.c179 struct hci_conn *conn; in rfcomm_reparent_device()
Dcore.c2098 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt) in rfcomm_security_cfm()