|
@@ -1041,6 +1041,14 @@ static inline u16 eir_append_data(u8 *eir, u16 eir_len, u8 type, u8 *data,
|
|
|
int hci_register_cb(struct hci_cb *hcb);
|
|
int hci_register_cb(struct hci_cb *hcb);
|
|
|
int hci_unregister_cb(struct hci_cb *hcb);
|
|
int hci_unregister_cb(struct hci_cb *hcb);
|
|
|
|
|
|
|
|
|
|
+struct hci_request {
|
|
|
|
|
+ struct hci_dev *hdev;
|
|
|
|
|
+ struct sk_buff_head cmd_q;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+void hci_req_init(struct hci_request *req, struct hci_dev *hdev);
|
|
|
|
|
+int hci_req_run(struct hci_request *req, hci_req_complete_t complete);
|
|
|
|
|
+
|
|
|
int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, void *param);
|
|
int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, void *param);
|
|
|
void hci_send_acl(struct hci_chan *chan, struct sk_buff *skb, __u16 flags);
|
|
void hci_send_acl(struct hci_chan *chan, struct sk_buff *skb, __u16 flags);
|
|
|
void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb);
|
|
void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb);
|