Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dad9992 authored by Johan Hedberg's avatar Johan Hedberg Committed by Gustavo Padovan
Browse files

Bluetooth: Add missing mgmt_confirm_name command definition



This patch adds the necessary structs for the Confirm Name command. This
ensures that the protocol definitions are up to date with the latest
mgmt specification. The actual implementation of the command will follow
in a later patch-set.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 1f8cd0d9
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -268,6 +268,16 @@ struct mgmt_cp_start_discovery {

#define MGMT_OP_STOP_DISCOVERY		0x0022

#define MGMT_OP_CONFIRM_NAME		0x0023
struct mgmt_cp_confirm_name {
	bdaddr_t bdaddr;
	__u8 name_known;
} __packed;
struct mgmt_rp_confirm_name {
	bdaddr_t bdaddr;
	__u8 status;
} __packed;

#define MGMT_OP_BLOCK_DEVICE		0x0024
struct mgmt_cp_block_device {
	bdaddr_t bdaddr;