diff options
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 6719e9a3661..2c47601b6e6 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -120,6 +120,16 @@ struct mgmt_cp_remove_key { | |||
120 | __u8 disconnect; | 120 | __u8 disconnect; |
121 | } __packed; | 121 | } __packed; |
122 | 122 | ||
123 | #define MGMT_OP_DISCONNECT 0x000F | ||
124 | struct mgmt_cp_disconnect { | ||
125 | __le16 index; | ||
126 | bdaddr_t bdaddr; | ||
127 | } __packed; | ||
128 | struct mgmt_rp_disconnect { | ||
129 | __le16 index; | ||
130 | bdaddr_t bdaddr; | ||
131 | } __packed; | ||
132 | |||
123 | #define MGMT_EV_CMD_COMPLETE 0x0001 | 133 | #define MGMT_EV_CMD_COMPLETE 0x0001 |
124 | struct mgmt_ev_cmd_complete { | 134 | struct mgmt_ev_cmd_complete { |
125 | __le16 opcode; | 135 | __le16 opcode; |