aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-12-19 07:29:08 -0500
committerGustavo F. Padovan <padovan@profusion.mobi>2011-12-19 08:25:04 -0500
commit4dad99928211a20a91ec4515ab3b53fd65988f34 (patch)
tree36844e807d47ac20d9b3499e19671159fec86b23 /include/net
parent1f8cd0d9d7513d157aea0a93fbe87fde7365d285 (diff)
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/mgmt.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index f4786a853ca3..be65d3417883 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -268,6 +268,16 @@ struct mgmt_cp_start_discovery {
268 268
269#define MGMT_OP_STOP_DISCOVERY 0x0022 269#define MGMT_OP_STOP_DISCOVERY 0x0022
270 270
271#define MGMT_OP_CONFIRM_NAME 0x0023
272struct mgmt_cp_confirm_name {
273 bdaddr_t bdaddr;
274 __u8 name_known;
275} __packed;
276struct mgmt_rp_confirm_name {
277 bdaddr_t bdaddr;
278 __u8 status;
279} __packed;
280
271#define MGMT_OP_BLOCK_DEVICE 0x0024 281#define MGMT_OP_BLOCK_DEVICE 0x0024
272struct mgmt_cp_block_device { 282struct mgmt_cp_block_device {
273 bdaddr_t bdaddr; 283 bdaddr_t bdaddr;