Bluetooth: Add support for Read Unconfigured Index List command
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/1 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 <[email protected]>
--- include/net/bluetooth/mgmt.h | 7 ++++ net/bluetooth/mgmt.c | 91 +++++++++++++++++++++++++++++++++++++++----- 2 files changed, 88 insertions(+), 10 deletions(-)
include/net/bluetooth/mgmt.h +7 -0
@@ -464,6 +464,13 @@ struct mgmt_cp_load_conn_param { } __packed;#define MGMT_LOAD_CONN_PARAM_SIZE 2 +#define MGMT_OP_READ_UNCONF_INDEX_LIST 0x0036 +#define MGMT_READ_UNCONF_INDEX_LIST_SIZE 0 +struct mgmt_rp_read_unconf_index_list { +__le16 num_controllers; +__le16 index[0 ]; +} __packed; +#define MGMT_EV_CMD_COMPLETE 0x0001struct mgmt_ev_cmd_complete {__le16 opcode;
net/bluetooth/mgmt.c +81 -10
131 lines not on this page · raw message
Signature · 1 line
1.9.3
Johan Hedberg
AppliedHi Marcel,
Quoted 8 lines · Marcel Holtmann
This command allows to get the list of currently known controller that are in unconfigured state.
Signed-off-by Marcel Holtmann <[email protected]>--- include/net/bluetooth/mgmt.h | 7 ++++ net/bluetooth/mgmt.c | 91 +++++++++++++++++++++++++++++++++++++++----- 2 files changed, 88 insertions(+), 10 deletions(-)
Applied to bluetooth-next. Thanks.
Johan