Home
last modified time | relevance | path

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

/linux-4.1.27/net/bluetooth/
Dhci_conn.c62 static void hci_le_create_connection_cancel(struct hci_conn *conn) in hci_le_create_connection_cancel()
67 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection()
110 static void hci_acl_create_connection_cancel(struct hci_conn *conn) in hci_acl_create_connection_cancel()
123 static void hci_reject_sco(struct hci_conn *conn) in hci_reject_sco()
133 int hci_disconnect(struct hci_conn *conn, __u8 reason) in hci_disconnect()
160 static void hci_amp_disconn(struct hci_conn *conn) in hci_amp_disconn()
174 static void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco()
192 bool hci_setup_sync(struct hci_conn *conn, __u16 handle) in hci_setup_sync()
242 u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency, in hci_le_conn_update()
278 void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __le64 rand, in hci_le_start_enc()
[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);
49 void amp_physical_cfm(struct hci_conn *bredr_hcon, struct hci_conn *hs_hcon);
Damp.c111 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, in phylink_add()
115 struct hci_conn *hcon; in phylink_add()
174 int phylink_gen_key(struct hci_conn *conn, u8 *data, u8 *len, u8 *type) in phylink_gen_key()
251 struct hci_conn *hcon) in amp_read_loc_assoc_final_data()
268 struct hci_conn *hcon) in amp_write_rem_assoc_frag()
319 struct hci_conn *hcon; in amp_write_rem_assoc_continue()
334 struct hci_conn *hcon; in amp_write_remote_assoc()
348 struct hci_conn *hcon) in amp_create_phylink()
367 struct hci_conn *hcon) in amp_accept_phylink()
385 void amp_physical_cfm(struct hci_conn *bredr_hcon, struct hci_conn *hs_hcon) in amp_physical_cfm()
[all …]
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()
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.c99 struct hci_conn *conn; in hci_cc_role_discovery()
118 struct hci_conn *conn; in hci_cc_read_link_policy()
137 struct hci_conn *conn; in hci_cc_write_link_policy()
787 struct hci_conn *conn; in hci_cc_read_clock()
897 struct hci_conn *conn; in hci_cc_pin_code_reply()
1098 struct hci_conn *conn; in hci_cc_le_set_adv_enable()
1429 struct hci_conn *conn; in hci_cc_read_rssi()
1449 struct hci_conn *conn; in hci_cc_read_tx_power()
1509 struct hci_conn *conn; in hci_cs_create_conn()
1547 struct hci_conn *acl, *sco; in hci_cs_add_sco()
[all …]
Dsmp.h183 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level,
185 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level);
186 int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey);
Dsmp.c648 struct hci_conn *hcon = conn->hcon; in build_pairing_cmd()
736 struct hci_conn *hcon = conn->hcon; in smp_chan_destroy()
788 struct hci_conn *hcon = conn->hcon; in smp_failure()
844 struct hci_conn *hcon = conn->hcon; in tk_request()
961 struct hci_conn *hcon = conn->hcon; in smp_random()
1030 struct hci_conn *hcon = conn->hcon; in smp_notify_keys()
1134 struct hci_conn *hcon = smp->conn->hcon; in sc_add_ltk()
1201 struct hci_conn *hcon = smp->conn->hcon; in sc_generate_ltk()
1227 struct hci_conn *hcon = conn->hcon; in smp_distribute_keys()
1397 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 int sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del()
214 struct hci_conn *hcon; in sco_connect()
720 static void sco_conn_defer_accept(struct hci_conn *conn, u16 setting) in sco_conn_defer_accept()
1089 static void sco_connect_cfm(struct hci_conn *hcon, __u8 status) in sco_connect_cfm()
1106 static void sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) in sco_disconn_cfm()
1116 int 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.c422 struct hci_conn *conn; in disconnected_whitelist_entries()
482 struct hci_conn *conn; in __hci_update_background_scan()
Da2mp.c401 struct hci_conn *hcon; in a2mp_getampassoc_rsp()
462 struct hci_conn *hcon; in a2mp_createphyslink_req()
541 struct hci_conn *hcon; in a2mp_discphyslink_req()
984 struct hci_conn *hs_hcon; in a2mp_send_create_phy_link_rsp()
Dhci_core.c2210 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key()
2324 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
3435 struct hci_conn *conn = chan->conn; in hci_queue_acl()
3506 void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb) in hci_send_sco()
3529 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent()
3533 struct hci_conn *conn = NULL, *c; in hci_low_sent()
3592 struct hci_conn *c; in hci_link_tx_to()
3616 struct hci_conn *conn; in hci_chan_sent()
3695 struct hci_conn *conn; in hci_prio_recalculate()
3877 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()
1660 static void l2cap_conn_del(struct hci_conn *hcon, int err) in l2cap_conn_del()
3897 struct hci_conn *hcon = conn->hcon; in l2cap_connect_req()
4487 struct hci_conn *hs_hcon; in l2cap_create_channel_req()
5192 struct hci_conn *hcon = conn->hcon; in l2cap_conn_param_update_req()
[all …]
Dmgmt.c1488 struct hci_conn *conn; in clean_up_hci_state()
2921 struct hci_conn *conn; in unpair_device()
3037 struct hci_conn *conn; in disconnect()
3119 struct hci_conn *c; in get_connections()
3195 struct hci_conn *conn; in pin_code_reply()
3278 static struct mgmt_pending_cmd *find_pairing(struct hci_conn *conn) in find_pairing()
3299 struct hci_conn *conn = cmd->user_data; in pairing_complete()
3325 void mgmt_smp_complete(struct hci_conn *conn, bool complete) in mgmt_smp_complete()
3337 static void pairing_complete_cb(struct hci_conn *conn, u8 status) in pairing_complete_cb()
3353 static void le_pairing_complete_cb(struct hci_conn *conn, u8 status) in le_pairing_complete_cb()
[all …]
D6lowpan.c755 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan()
1144 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.1.27/include/net/bluetooth/
Dhci_core.h396 struct hci_conn { struct
471 struct hci_conn *link; argument
473 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); argument
474 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); argument
475 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); argument
481 struct hci_conn *conn;
507 struct hci_conn *conn;
532 int l2cap_disconn_ind(struct hci_conn *hcon);
533 int l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags);
536 int sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb);
[all …]
Dl2cap.h485 struct hci_conn *hs_hcon;
615 struct hci_conn *hcon;
/linux-4.1.27/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()