diff options
author | Brian Gix <bgix@codeaurora.org> | 2011-11-13 01:01:11 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-16 13:49:52 -0500 |
commit | 9ad4019a716ca31584abac7c2f30b36d212c6a9e (patch) | |
tree | 4d87cc5b2f831856a0d722ecb65cc29c8da9bab0 | |
parent | 450dfdafbcfbf19e39481d0e4737a832b991333a (diff) |
Bluetooth: Add HCI defines for User 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/hci.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 139ce2aa6eee..e284dd906b9e 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -453,6 +453,14 @@ struct hci_rp_user_confirm_reply { | |||
453 | 453 | ||
454 | #define HCI_OP_USER_CONFIRM_NEG_REPLY 0x042d | 454 | #define HCI_OP_USER_CONFIRM_NEG_REPLY 0x042d |
455 | 455 | ||
456 | #define HCI_OP_USER_PASSKEY_REPLY 0x042e | ||
457 | struct hci_cp_user_passkey_reply { | ||
458 | bdaddr_t bdaddr; | ||
459 | __le32 passkey; | ||
460 | } __packed; | ||
461 | |||
462 | #define HCI_OP_USER_PASSKEY_NEG_REPLY 0x042f | ||
463 | |||
456 | #define HCI_OP_REMOTE_OOB_DATA_REPLY 0x0430 | 464 | #define HCI_OP_REMOTE_OOB_DATA_REPLY 0x0430 |
457 | struct hci_cp_remote_oob_data_reply { | 465 | struct hci_cp_remote_oob_data_reply { |
458 | bdaddr_t bdaddr; | 466 | bdaddr_t bdaddr; |
@@ -1076,6 +1084,11 @@ struct hci_ev_user_confirm_req { | |||
1076 | __le32 passkey; | 1084 | __le32 passkey; |
1077 | } __packed; | 1085 | } __packed; |
1078 | 1086 | ||
1087 | #define HCI_EV_USER_PASSKEY_REQUEST 0x34 | ||
1088 | struct hci_ev_user_passkey_req { | ||
1089 | bdaddr_t bdaddr; | ||
1090 | } __packed; | ||
1091 | |||
1079 | #define HCI_EV_REMOTE_OOB_DATA_REQUEST 0x35 | 1092 | #define HCI_EV_REMOTE_OOB_DATA_REQUEST 0x35 |
1080 | struct hci_ev_remote_oob_data_request { | 1093 | struct hci_ev_remote_oob_data_request { |
1081 | bdaddr_t bdaddr; | 1094 | bdaddr_t bdaddr; |