aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-14 22:27:57 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2015-03-15 03:55:51 -0400
commit96f1474af040a4ec267efe141cbf264891e67e5a (patch)
treed6338341eb2eb29eca832068d21820efdd1b343f /include/net
parentced85549c3a769dfb9d084bb8d6d9ca8075f8728 (diff)
Bluetooth: Add support for extended index management command
The Read Extended Contoller Index List command can be used for retrieving the complete list of local available controllers. This included configured, unconfigured and also AMP controllers. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/mgmt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 8562f9ecf230..2534bd4d22b2 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -505,6 +505,17 @@ struct mgmt_cp_start_service_discovery {
505} __packed; 505} __packed;
506#define MGMT_START_SERVICE_DISCOVERY_SIZE 4 506#define MGMT_START_SERVICE_DISCOVERY_SIZE 4
507 507
508#define MGMT_OP_READ_EXT_INDEX_LIST 0x003C
509#define MGMT_READ_EXT_INDEX_LIST_SIZE 0
510struct mgmt_rp_read_ext_index_list {
511 __le16 num_controllers;
512 struct {
513 __le16 index;
514 __u8 type;
515 __u8 bus;
516 } entry[0];
517} __packed;
518
508#define MGMT_EV_CMD_COMPLETE 0x0001 519#define MGMT_EV_CMD_COMPLETE 0x0001
509struct mgmt_ev_cmd_complete { 520struct mgmt_ev_cmd_complete {
510 __le16 opcode; 521 __le16 opcode;