Lines Matching refs:hci_conn
199 struct hci_conn { struct
250 struct hci_conn *link; argument
252 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); argument
253 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); argument
254 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); argument
317 static inline void hci_conn_hash_add(struct hci_dev *hdev, struct hci_conn *c) in hci_conn_hash_add()
335 static inline void hci_conn_hash_del(struct hci_dev *hdev, struct hci_conn *c) in hci_conn_hash_del()
353 static inline struct hci_conn *hci_conn_hash_lookup_handle(struct hci_dev *hdev, in hci_conn_hash_lookup_handle()
358 struct hci_conn *c; in hci_conn_hash_lookup_handle()
361 c = list_entry(p, struct hci_conn, list); in hci_conn_hash_lookup_handle()
368 static inline struct hci_conn *hci_conn_hash_lookup_ba(struct hci_dev *hdev, in hci_conn_hash_lookup_ba()
373 struct hci_conn *c; in hci_conn_hash_lookup_ba()
376 c = list_entry(p, struct hci_conn, list); in hci_conn_hash_lookup_ba()
383 static inline struct hci_conn *hci_conn_hash_lookup_state(struct hci_dev *hdev, in hci_conn_hash_lookup_state()
388 struct hci_conn *c; in hci_conn_hash_lookup_state()
391 c = list_entry(p, struct hci_conn, list); in hci_conn_hash_lookup_state()
398 void hci_acl_connect(struct hci_conn *conn);
399 void hci_acl_disconn(struct hci_conn *conn, __u8 reason);
400 void hci_add_sco(struct hci_conn *conn, __u16 handle);
401 void hci_setup_sync(struct hci_conn *conn, __u16 handle);
402 void hci_sco_setup(struct hci_conn *conn, __u8 status);
404 struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst);
405 int hci_conn_del(struct hci_conn *conn);
409 struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, __u8 sec_level, __u8 au…
410 int hci_conn_check_link_mode(struct hci_conn *conn);
411 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type);
412 int hci_conn_change_link_key(struct hci_conn *conn);
413 int hci_conn_switch_role(struct hci_conn *conn, __u8 role);
415 void hci_conn_enter_active_mode(struct hci_conn *conn);
416 void hci_conn_enter_sniff_mode(struct hci_conn *conn);
418 void hci_conn_hold_device(struct hci_conn *conn);
419 void hci_conn_put_device(struct hci_conn *conn);
421 static inline void hci_conn_hold(struct hci_conn *conn) in hci_conn_hold()
427 static inline void hci_conn_put(struct hci_conn *conn) in hci_conn_put()
518 void hci_conn_init_sysfs(struct hci_conn *conn);
519 void hci_conn_add_sysfs(struct hci_conn *conn);
520 void hci_conn_del_sysfs(struct hci_conn *conn);
543 int (*connect_cfm) (struct hci_conn *conn, __u8 status);
544 int (*disconn_ind) (struct hci_conn *conn);
545 int (*disconn_cfm) (struct hci_conn *conn, __u8 reason);
546 int (*recv_acldata) (struct hci_conn *conn, struct sk_buff *skb, __u16 flags);
547 int (*recv_scodata) (struct hci_conn *conn, struct sk_buff *skb);
548 int (*security_cfm) (struct hci_conn *conn, __u8 status, __u8 encrypt);
567 static inline void hci_proto_connect_cfm(struct hci_conn *conn, __u8 status) in hci_proto_connect_cfm()
583 static inline int hci_proto_disconn_ind(struct hci_conn *conn) in hci_proto_disconn_ind()
599 static inline void hci_proto_disconn_cfm(struct hci_conn *conn, __u8 reason) in hci_proto_disconn_cfm()
615 static inline void hci_proto_auth_cfm(struct hci_conn *conn, __u8 status) in hci_proto_auth_cfm()
637 static inline void hci_proto_encrypt_cfm(struct hci_conn *conn, __u8 status, __u8 encrypt) in hci_proto_encrypt_cfm()
662 void (*security_cfm) (struct hci_conn *conn, __u8 status, __u8 encrypt);
663 void (*key_change_cfm) (struct hci_conn *conn, __u8 status);
664 void (*role_switch_cfm) (struct hci_conn *conn, __u8 status, __u8 role);
667 static inline void hci_auth_cfm(struct hci_conn *conn, __u8 status) in hci_auth_cfm()
688 static inline void hci_encrypt_cfm(struct hci_conn *conn, __u8 status, __u8 encrypt) in hci_encrypt_cfm()
706 static inline void hci_key_change_cfm(struct hci_conn *conn, __u8 status) in hci_key_change_cfm()
719 static inline void hci_role_switch_cfm(struct hci_conn *conn, __u8 status, __u8 role) in hci_role_switch_cfm()
739 void hci_send_acl(struct hci_conn *conn, struct sk_buff *skb, __u16 flags);
740 void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb);
801 void hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max,