diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-07-04 12:11:55 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-04 14:10:30 -0400 |
commit | dbece37a3233933ec89f77f04049e13ad9b29634 (patch) | |
tree | 911e51a4adacd04e71ad34d881efed01f3e3c9aa /include | |
parent | 0ad184ef5828542e3e73cce8a875fb4e029725b7 (diff) |
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')
-rw-r--r-- | include/net/bluetooth/hci.h | 1 | ||||
-rw-r--r-- | include/net/bluetooth/mgmt.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 4f1c4c7e2f00..80c5fc947fbc 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -173,6 +173,7 @@ enum { | |||
173 | HCI_UNREGISTER, | 173 | HCI_UNREGISTER, |
174 | HCI_UNCONFIGURED, | 174 | HCI_UNCONFIGURED, |
175 | HCI_USER_CHANNEL, | 175 | HCI_USER_CHANNEL, |
176 | HCI_EXT_CONFIGURED, | ||
176 | 177 | ||
177 | HCI_LE_SCAN, | 178 | HCI_LE_SCAN, |
178 | HCI_SSP_ENABLED, | 179 | HCI_SSP_ENABLED, |
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 3984678ffab1..c7d537f1bd19 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -483,6 +483,12 @@ struct mgmt_rp_read_config_info { | |||
483 | __le32 missing_options; | 483 | __le32 missing_options; |
484 | } __packed; | 484 | } __packed; |
485 | 485 | ||
486 | #define MGMT_OP_SET_EXTERNAL_CONFIG 0x0038 | ||
487 | struct mgmt_cp_set_external_config { | ||
488 | __u8 config; | ||
489 | } __packed; | ||
490 | #define MGMT_SET_EXTERNAL_CONFIG_SIZE 1 | ||
491 | |||
486 | #define MGMT_EV_CMD_COMPLETE 0x0001 | 492 | #define MGMT_EV_CMD_COMPLETE 0x0001 |
487 | struct mgmt_ev_cmd_complete { | 493 | struct mgmt_ev_cmd_complete { |
488 | __le16 opcode; | 494 | __le16 opcode; |