aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 4899286ed4e..5428fd32cce 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -101,6 +101,8 @@ struct mgmt_key_info {
101 u8 type; 101 u8 type;
102 u8 val[16]; 102 u8 val[16];
103 u8 pin_len; 103 u8 pin_len;
104 u8 dlen;
105 u8 data[0];
104} __packed; 106} __packed;
105 107
106#define MGMT_OP_LOAD_KEYS 0x000D 108#define MGMT_OP_LOAD_KEYS 0x000D
@@ -199,6 +201,16 @@ struct mgmt_cp_remove_remote_oob_data {
199 201
200#define MGMT_OP_STOP_DISCOVERY 0x001C 202#define MGMT_OP_STOP_DISCOVERY 0x001C
201 203
204#define MGMT_OP_BLOCK_DEVICE 0x001D
205struct mgmt_cp_block_device {
206 bdaddr_t bdaddr;
207} __packed;
208
209#define MGMT_OP_UNBLOCK_DEVICE 0x001E
210struct mgmt_cp_unblock_device {
211 bdaddr_t bdaddr;
212} __packed;
213
202#define MGMT_EV_CMD_COMPLETE 0x0001 214#define MGMT_EV_CMD_COMPLETE 0x0001
203struct mgmt_ev_cmd_complete { 215struct mgmt_ev_cmd_complete {
204 __le16 opcode; 216 __le16 opcode;