diff options
author | Brian Gix <bgix@codeaurora.org> | 2011-11-12 22:01:12 -0800 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-16 16:49:56 -0200 |
commit | 453a83869c98746006d9a6c03e2b208b9018f671 (patch) | |
tree | dd476f0b76671fd767c3e3e6a439a33d26718da1 | |
parent | 9ad4019a716ca31584abac7c2f30b36d212c6a9e (diff) | |
download | blackbird-obmc-linux-453a83869c98746006d9a6c03e2b208b9018f671.tar.gz blackbird-obmc-linux-453a83869c98746006d9a6c03e2b208b9018f671.zip |
Bluetooth: Add MGMT opcodes for Passkey Entry
Signed-off-by: Brian Gix <bgix@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
-rw-r--r-- | include/net/bluetooth/mgmt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 2e501820f728..139610e4341e 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h @@ -253,6 +253,17 @@ struct mgmt_cp_set_fast_connectable { __u8 enable; } __packed; +#define MGMT_OP_USER_PASSKEY_REPLY 0x0020 +struct mgmt_cp_user_passkey_reply { + bdaddr_t bdaddr; + __le32 passkey; +} __packed; + +#define MGMT_OP_USER_PASSKEY_NEG_REPLY 0x0021 +struct mgmt_cp_user_passkey_neg_reply { + bdaddr_t bdaddr; +} __packed; + #define MGMT_EV_CMD_COMPLETE 0x0001 struct mgmt_ev_cmd_complete { __le16 opcode; |