Bluetooth: Add support for Set External Configuration management command
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/1 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 <[email protected]>
--- include/net/bluetooth/hci.h | 1 + include/net/bluetooth/mgmt.h | 6 ++++ net/bluetooth/mgmt.c | 77 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 82 insertions(+), 2 deletions(-)
include/net/bluetooth/hci.h +1 -0
@@ -173,6 +173,7 @@ enum {HCI_UNREGISTER ,HCI_UNCONFIGURED ,HCI_USER_CHANNEL , +HCI_EXT_CONFIGURED ,HCI_LE_SCAN , HCI_SSP_ENABLED,
include/net/bluetooth/mgmt.h +6 -0
@@ -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 0x0001struct mgmt_ev_cmd_complete {__le16 opcode;
net/bluetooth/mgmt.c +75 -2
117 lines not on this page · raw message
Signature · 1 line
1.9.3
Johan Hedberg
AppliedHi Marcel,
Quoted 10 lines · Marcel Holtmann
The Set External Configuration management command allows for switching between configured and unconfigured start if
HCI_QURIK_EXTERNAL_CONFIGis set by the transport driver.Signed-off-by Marcel Holtmann <[email protected]>--- include/net/bluetooth/hci.h | 1 + include/net/bluetooth/mgmt.h | 6 ++++ net/bluetooth/mgmt.c | 77 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 82 insertions(+), 2 deletions(-)
Applied to bluetooth-next. Thanks.
Johan