Home
last modified time | relevance | path

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

/linux-4.4.14/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()
184 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection()
227 int hci_disconnect(struct hci_conn *conn, __u8 reason) in hci_disconnect()
249 static void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco()
267 bool hci_setup_sync(struct hci_conn *conn, __u16 handle) in hci_setup_sync()
317 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.c29 struct hci_conn *conn = to_hci_conn(dev); in show_link_type()
36 struct hci_conn *conn = to_hci_conn(dev); in show_link_address()
56 struct hci_conn *conn = to_hci_conn(dev); in bt_link_release()
76 void hci_conn_init_sysfs(struct hci_conn *conn) in hci_conn_init_sysfs()
89 void hci_conn_add_sysfs(struct hci_conn *conn) in hci_conn_add_sysfs()
105 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 …]
Dsmp.h183 void smp_cancel_pairing(struct hci_conn *hcon);
184 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level,
186 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level);
187 int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey);
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()
792 struct hci_conn *conn; in hci_cc_read_clock()
862 struct hci_conn *conn; in hci_cc_pin_code_reply()
1063 struct hci_conn *conn; in hci_cc_le_set_adv_enable()
1380 struct hci_conn *conn; in hci_cc_read_rssi()
1400 struct hci_conn *conn; in hci_cc_read_tx_power()
1460 struct hci_conn *conn; in hci_cs_create_conn()
1498 struct hci_conn *acl, *sco; in hci_cs_add_sco()
[all …]
Dhci_request.h59 int hci_abort_conn(struct hci_conn *conn, u8 reason);
60 void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn,
Dsmp.c666 struct hci_conn *hcon = conn->hcon; in build_pairing_cmd()
755 struct hci_conn *hcon = conn->hcon; in smp_chan_destroy()
807 struct hci_conn *hcon = conn->hcon; in smp_failure()
862 struct hci_conn *hcon = conn->hcon; in tk_request()
979 struct hci_conn *hcon = conn->hcon; in smp_random()
1042 struct hci_conn *hcon = conn->hcon; in smp_notify_keys()
1131 struct hci_conn *hcon = smp->conn->hcon; in sc_add_ltk()
1195 struct hci_conn *hcon = smp->conn->hcon; in sc_generate_ltk()
1221 struct hci_conn *hcon = conn->hcon; in smp_distribute_keys()
1398 struct hci_conn *hcon = smp->conn->hcon; in sc_mackey_and_ltk()
[all …]
Dsco.c45 struct hci_conn *hcon;
103 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add()
157 static void sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del()
216 struct hci_conn *hcon; in sco_connect()
728 static void sco_conn_defer_accept(struct hci_conn *conn, u16 setting) in sco_conn_defer_accept()
1110 static void sco_connect_cfm(struct hci_conn *hcon, __u8 status) in sco_connect_cfm()
1127 static void sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) in sco_disconn_cfm()
1137 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) in sco_recv_scodata()
DMakefile14 bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
Dhci_request.c430 struct hci_conn *conn; in disconnected_whitelist_entries()
576 void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn, in __hci_abort_conn()
651 int hci_abort_conn(struct hci_conn *conn, u8 reason) in hci_abort_conn()
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.c2313 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key()
2427 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
3712 struct hci_conn *conn = chan->conn; in hci_queue_acl()
3783 void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb) in hci_send_sco()
3806 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent()
3810 struct hci_conn *conn = NULL, *c; in hci_low_sent()
3869 struct hci_conn *c; in hci_link_tx_to()
3893 struct hci_conn *conn; in hci_chan_sent()
3972 struct hci_conn *conn; in hci_prio_recalculate()
4154 struct hci_conn *conn; in hci_sched_sco()
[all …]
Dl2cap_core.c78 static inline u8 bdaddr_src_type(struct hci_conn *hcon) in bdaddr_src_type()
83 static inline u8 bdaddr_dst_type(struct hci_conn *hcon) in bdaddr_dst_type()
651 struct hci_conn *hcon = conn->hcon; in l2cap_conn_update_id_addr()
874 struct hci_conn *hcon = chan->conn->hcon; in l2cap_do_send()
1477 struct hci_conn *hcon = conn->hcon; in l2cap_le_conn_ready()
1511 struct hci_conn *hcon = conn->hcon; in l2cap_conn_ready()
1656 static void l2cap_conn_del(struct hci_conn *hcon, int err) in l2cap_conn_del()
3893 struct hci_conn *hcon = conn->hcon; in l2cap_connect_req()
4483 struct hci_conn *hs_hcon; in l2cap_create_channel_req()
5188 struct hci_conn *hcon = conn->hcon; in l2cap_conn_param_update_req()
[all …]
Dmgmt.c1622 struct hci_conn *conn; in clean_up_hci_state()
3030 struct hci_conn *conn; in unpair_device()
3160 struct hci_conn *conn; in disconnect()
3243 struct hci_conn *c; in get_connections()
3319 struct hci_conn *conn; in pin_code_reply()
3402 static struct mgmt_pending_cmd *find_pairing(struct hci_conn *conn) in find_pairing()
3423 struct hci_conn *conn = cmd->user_data; in pairing_complete()
3449 void mgmt_smp_complete(struct hci_conn *conn, bool complete) in mgmt_smp_complete()
3461 static void pairing_complete_cb(struct hci_conn *conn, u8 status) in pairing_complete_cb()
3477 static void le_pairing_complete_cb(struct hci_conn *conn, u8 status) in le_pairing_complete_cb()
[all …]
D6lowpan.c732 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan()
1103 struct hci_conn *hcon; in get_l2cap_conn()
Dhci_debugfs.c1132 void hci_debugfs_create_conn(struct hci_conn *conn) in hci_debugfs_create_conn()
/linux-4.4.14/include/net/bluetooth/
Dhci_core.h408 struct hci_conn { struct
484 struct hci_conn *link; argument
486 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); argument
487 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); argument
488 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); argument
494 struct hci_conn *conn;
521 struct hci_conn *conn;
547 int l2cap_disconn_ind(struct hci_conn *hcon);
548 void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags);
552 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb);
[all …]
Dl2cap.h489 struct hci_conn *hs_hcon;
619 struct hci_conn *hcon;
/linux-4.4.14/net/bluetooth/rfcomm/
Dtty.c179 struct hci_conn *conn; in rfcomm_reparent_device()
Dcore.c2113 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt) in rfcomm_security_cfm()