diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-07-02 16:10:52 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 11:42:58 -0400 |
commit | 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 (patch) | |
tree | 6f810f637d3ea3d97b2ee20fcedf66e2d6570fbb /include/net/bluetooth | |
parent | edd3896bc41059fc064c4ec76da004a57203d88e (diff) |
Bluetooth: Add support for Read Unconfigured Index List command
This command allows to get the list of currently known controller that
are in unconfigured state.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 651993213bd9..e0786cfa5490 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -464,6 +464,13 @@ struct mgmt_cp_load_conn_param { | |||
464 | } __packed; | 464 | } __packed; |
465 | #define MGMT_LOAD_CONN_PARAM_SIZE 2 | 465 | #define MGMT_LOAD_CONN_PARAM_SIZE 2 |
466 | 466 | ||
467 | #define MGMT_OP_READ_UNCONF_INDEX_LIST 0x0036 | ||
468 | #define MGMT_READ_UNCONF_INDEX_LIST_SIZE 0 | ||
469 | struct mgmt_rp_read_unconf_index_list { | ||
470 | __le16 num_controllers; | ||
471 | __le16 index[0]; | ||
472 | } __packed; | ||
473 | |||
467 | #define MGMT_EV_CMD_COMPLETE 0x0001 | 474 | #define MGMT_EV_CMD_COMPLETE 0x0001 |
468 | struct mgmt_ev_cmd_complete { | 475 | struct mgmt_ev_cmd_complete { |
469 | __le16 opcode; | 476 | __le16 opcode; |