Commit 4dad99928211a20a91ec4515ab3b53fd65988f34

Authored by Johan Hedberg
Committed by Gustavo F. Padovan
1 parent 1f8cd0d9d7

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: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>

Showing 1 changed file with 10 additions and 0 deletions Side-by-side Diff

include/net/bluetooth/mgmt.h
... ... @@ -268,6 +268,16 @@
268 268  
269 269 #define MGMT_OP_STOP_DISCOVERY 0x0022
270 270  
  271 +#define MGMT_OP_CONFIRM_NAME 0x0023
  272 +struct mgmt_cp_confirm_name {
  273 + bdaddr_t bdaddr;
  274 + __u8 name_known;
  275 +} __packed;
  276 +struct mgmt_rp_confirm_name {
  277 + bdaddr_t bdaddr;
  278 + __u8 status;
  279 +} __packed;
  280 +
271 281 #define MGMT_OP_BLOCK_DEVICE 0x0024
272 282 struct mgmt_cp_block_device {
273 283 bdaddr_t bdaddr;