Skip to content

Commit

Permalink
Bluetooth: Add MGMT opcodes for 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 9ad4019 commit 453a838
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions include/net/bluetooth/mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 453a838

Please sign in to comment.