Bluetooth: Add support for controller configuration info command
The Read Controller Configuration Information command allows retrieving details about possible configurations option. The supported options are returned and also the missing options (if any). Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:

committed by
Johan Hedberg

parent
738f61859d
commit
9fc3bfb681
@@ -97,6 +97,7 @@ struct mgmt_rp_read_index_list {
|
||||
#define MGMT_SETTING_SECURE_CONN 0x00000800
|
||||
#define MGMT_SETTING_DEBUG_KEYS 0x00001000
|
||||
#define MGMT_SETTING_PRIVACY 0x00002000
|
||||
#define MGMT_SETTING_CONFIGURATION 0x00004000
|
||||
|
||||
#define MGMT_OP_READ_INFO 0x0004
|
||||
#define MGMT_READ_INFO_SIZE 0
|
||||
@@ -471,6 +472,16 @@ struct mgmt_rp_read_unconf_index_list {
|
||||
__le16 index[0];
|
||||
} __packed;
|
||||
|
||||
#define MGMT_OPTION_PUBLIC_ADDRESS 0x00000001
|
||||
|
||||
#define MGMT_OP_READ_CONFIG_INFO 0x0037
|
||||
#define MGMT_READ_CONFIG_INFO_SIZE 0
|
||||
struct mgmt_rp_read_config_info {
|
||||
__le16 manufacturer;
|
||||
__le32 supported_options;
|
||||
__le32 missing_options;
|
||||
} __packed;
|
||||
|
||||
#define MGMT_EV_CMD_COMPLETE 0x0001
|
||||
struct mgmt_ev_cmd_complete {
|
||||
__le16 opcode;
|
||||
|
Reference in New Issue
Block a user