Skip to content

Commit

Permalink
Bluetooth: Add HCI defines for User Passkey entry
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Gix <bgix@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Brian Gix authored and Gustavo F. Padovan committed Nov 16, 2011
1 parent 450dfda commit 9ad4019
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions include/net/bluetooth/hci.h
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,14 @@ struct hci_rp_user_confirm_reply {

#define HCI_OP_USER_CONFIRM_NEG_REPLY 0x042d

#define HCI_OP_USER_PASSKEY_REPLY 0x042e
struct hci_cp_user_passkey_reply {
bdaddr_t bdaddr;
__le32 passkey;
} __packed;

#define HCI_OP_USER_PASSKEY_NEG_REPLY 0x042f

#define HCI_OP_REMOTE_OOB_DATA_REPLY 0x0430
struct hci_cp_remote_oob_data_reply {
bdaddr_t bdaddr;
Expand Down Expand Up @@ -1076,6 +1084,11 @@ struct hci_ev_user_confirm_req {
__le32 passkey;
} __packed;

#define HCI_EV_USER_PASSKEY_REQUEST 0x34
struct hci_ev_user_passkey_req {
bdaddr_t bdaddr;
} __packed;

#define HCI_EV_REMOTE_OOB_DATA_REQUEST 0x35
struct hci_ev_remote_oob_data_request {
bdaddr_t bdaddr;
Expand Down

0 comments on commit 9ad4019

Please sign in to comment.