summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlain Michaud <alainm@chromium.org>2020-05-29 15:38:11 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-06-04 15:24:39 -0700
commit71c88dd6fc15f98b64bff3b463286ce979ade134 (patch)
tree340e48ea6c1a93fb29ac3a374b1d9665eb685269 /lib
parent0c7e7a95df390759520c7cf9c2715ccf7a2e9ac5 (diff)
downloadbluez-71c88dd6fc15f98b64bff3b463286ce979ade134.tar.gz
mgmt: Add load default system configuration definitions
This change adds the load default system configuration definitions
Diffstat (limited to 'lib')
-rw-r--r--lib/mgmt.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index b4fc72069..2f78d75bf 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -628,6 +628,24 @@ struct mgmt_rp_set_exp_feature {
uint32_t flags;
} __packed;
+#define MGMT_OP_READ_DEFAULT_SYSTEM_PARAMETERS 0x004b
+
+struct mgmt_system_parameter_tlv {
+ uint16_t type;
+ uint8_t length;
+ uint8_t value[];
+} __packed;
+
+struct mgmt_rp_read_default_system_parameters {
+ uint8_t parameters[0]; /* mgmt_system_parameter_tlv */
+} __packed;
+
+#define MGMT_OP_SET_DEFAULT_SYSTEM_PARAMETERS 0x004c
+
+struct mgmt_cp_set_default_system_parameters {
+ uint8_t parameters[0]; /* mgmt_system_parameter_tlv */
+} __packed;
+
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
uint16_t opcode;
@@ -933,6 +951,8 @@ static const char *mgmt_op[] = {
"Read Security Information", /* 0x0048 */
"Read Experimental Features Information",
"Set Experimental Feature",
+ "Read Default System Configuration",
+ "Set Default System Configuration",
};
static const char *mgmt_ev[] = {