summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-04 18:11:55 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-04 21:10:30 +0300
commitdbece37a3233933ec89f77f04049e13ad9b29634 (patch)
tree911e51a4adacd04e71ad34d881efed01f3e3c9aa /include/net/bluetooth/mgmt.h
parent0ad184ef5828542e3e73cce8a875fb4e029725b7 (diff)
downloadop-kernel-dev-dbece37a3233933ec89f77f04049e13ad9b29634.zip
op-kernel-dev-dbece37a3233933ec89f77f04049e13ad9b29634.tar.gz
Bluetooth: Add support for Set External Configuration management command
The Set External Configuration management command allows for switching between configured and unconfigured start if HCI_QURIK_EXTERNAL_CONFIG is set by the transport driver. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 3984678..c7d537f 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -483,6 +483,12 @@ struct mgmt_rp_read_config_info {
__le32 missing_options;
} __packed;
+#define MGMT_OP_SET_EXTERNAL_CONFIG 0x0038
+struct mgmt_cp_set_external_config {
+ __u8 config;
+} __packed;
+#define MGMT_SET_EXTERNAL_CONFIG_SIZE 1
+
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
__le16 opcode;
OpenPOWER on IntegriCloud