]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/bluetooth/smp.h
Merge remote-tracking branch 'arm-soc/for-next'
[karo-tx-linux.git] / net / bluetooth / smp.h
index 60c5b73fcb4b26e3aab32604b58809ca30a4e6f4..ffcc70b6b1997d3d109aeab142738a77ee31ceb9 100644 (file)
@@ -180,6 +180,7 @@ enum smp_key_pref {
 };
 
 /* SMP Commands */
+void smp_cancel_pairing(struct hci_conn *hcon);
 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level,
                             enum smp_key_pref key_pref);
 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level);
@@ -188,6 +189,7 @@ int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey);
 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16],
                     const bdaddr_t *bdaddr);
 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa);
+int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16]);
 
 int smp_register(struct hci_dev *hdev);
 void smp_unregister(struct hci_dev *hdev);