Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Bluetooth: mgmt: read/set system parameter definitions

This patch submits the corresponding kernel definitions to mgmt.h.
This is submitted before the implementation to avoid any conflicts in
values allocations.

Signed-off-by: Alain Michaud <alainm@chromium.org>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Yu Liu <yudiliu@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

authored by

Alain Michaud and committed by
Marcel Holtmann
7e90de4a 201a1124

+18
+18
include/net/bluetooth/mgmt.h
··· 52 52 __le16 len; 53 53 } __packed; 54 54 55 + struct mgmt_tlv { 56 + __le16 type; 57 + __u8 length; 58 + __u8 value[]; 59 + } __packed; 60 + 55 61 struct mgmt_addr_info { 56 62 bdaddr_t bdaddr; 57 63 __u8 type; ··· 707 701 __u8 uuid[16]; 708 702 __le32 flags; 709 703 } __packed; 704 + 705 + #define MGMT_OP_READ_DEF_SYSTEM_CONFIG 0x004b 706 + #define MGMT_READ_DEF_SYSTEM_CONFIG_SIZE 0 707 + 708 + #define MGMT_OP_SET_DEF_SYSTEM_CONFIG 0x004c 709 + #define MGMT_SET_DEF_SYSTEM_CONFIG_SIZE 0 710 + 711 + #define MGMT_OP_READ_DEF_RUNTIME_CONFIG 0x004d 712 + #define MGMT_READ_DEF_RUNTIME_CONFIG_SIZE 0 713 + 714 + #define MGMT_OP_SET_DEF_RUNTIME_CONFIG 0x004e 715 + #define MGMT_SET_DEF_RUNTIME_CONFIG_SIZE 0 710 716 711 717 #define MGMT_EV_CMD_COMPLETE 0x0001 712 718 struct mgmt_ev_cmd_complete {