aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2011-03-22 08:12:22 -0400
committerGustavo F. Padovan <padovan@profusion.mobi>2011-03-31 13:22:57 -0400
commit2763eda6ccaf126633bb3180f440c8f3589f0679 (patch)
tree7239d220f4a233b31184ddb50c2914f7406c4675 /include/net/bluetooth/hci.h
parentc35938b2f56547ee77b5a038fe0db394aeac59bb (diff)
Bluetooth: Add add/remove_remote_oob_data management commands
This patch adds commands to add and remove remote OOB data to the managment interface. Remote data is stored in kernel and can be used by corresponding HCI commands and events when needed. Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index ac4de1afe046..b989a8c3e01a 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -426,6 +426,18 @@ struct hci_rp_user_confirm_reply {
426 426
427#define HCI_OP_USER_CONFIRM_NEG_REPLY 0x042d 427#define HCI_OP_USER_CONFIRM_NEG_REPLY 0x042d
428 428
429#define HCI_OP_REMOTE_OOB_DATA_REPLY 0x0430
430struct hci_cp_remote_oob_data_reply {
431 bdaddr_t bdaddr;
432 __u8 hash[16];
433 __u8 randomizer[16];
434} __packed;
435
436#define HCI_OP_REMOTE_OOB_DATA_NEG_REPLY 0x0433
437struct hci_cp_remote_oob_data_neg_reply {
438 bdaddr_t bdaddr;
439} __packed;
440
429#define HCI_OP_IO_CAPABILITY_NEG_REPLY 0x0434 441#define HCI_OP_IO_CAPABILITY_NEG_REPLY 0x0434
430struct hci_cp_io_capability_neg_reply { 442struct hci_cp_io_capability_neg_reply {
431 bdaddr_t bdaddr; 443 bdaddr_t bdaddr;
@@ -962,6 +974,11 @@ struct hci_ev_user_confirm_req {
962 __le32 passkey; 974 __le32 passkey;
963} __packed; 975} __packed;
964 976
977#define HCI_EV_REMOTE_OOB_DATA_REQUEST 0x35
978struct hci_ev_remote_oob_data_request {
979 bdaddr_t bdaddr;
980} __packed;
981
965#define HCI_EV_SIMPLE_PAIR_COMPLETE 0x36 982#define HCI_EV_SIMPLE_PAIR_COMPLETE 0x36
966struct hci_ev_simple_pair_complete { 983struct hci_ev_simple_pair_complete {
967 __u8 status; 984 __u8 status;