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 1d822f2c0f1a..3d8d589fa559 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -130,6 +130,16 @@ struct mgmt_rp_disconnect { | |||
130 | bdaddr_t bdaddr; | 130 | bdaddr_t bdaddr; |
131 | } __packed; | 131 | } __packed; |
132 | 132 | ||
133 | #define MGMT_OP_GET_CONNECTIONS 0x0010 | ||
134 | struct mgmt_cp_get_connections { | ||
135 | __le16 index; | ||
136 | } __packed; | ||
137 | struct mgmt_rp_get_connections { | ||
138 | __le16 index; | ||
139 | __le16 conn_count; | ||
140 | bdaddr_t conn[0]; | ||
141 | } __packed; | ||
142 | |||
133 | #define MGMT_EV_CMD_COMPLETE 0x0001 | 143 | #define MGMT_EV_CMD_COMPLETE 0x0001 |
134 | struct mgmt_ev_cmd_complete { | 144 | struct mgmt_ev_cmd_complete { |
135 | __le16 opcode; | 145 | __le16 opcode; |