aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2016-01-05 06:19:32 -0500
committerMarcel Holtmann <marcel@holtmann.org>2016-01-05 11:02:50 -0500
commit78b781ca0d35191ebf8d8cad8beec810270f0f2e (patch)
tree7073d457c36cb802d1dee693df70ec57beaee268 /include/net/bluetooth/mgmt.h
parent0d3b7f64c84d53658daf28e2f9772e38acb9340d (diff)
Bluetooth: Add support for Start Limited Discovery command
This patch implements the mgmt Start Limited Discovery command. Most of existing Start Discovery code is reused since the only difference is the presence of a 'limited' flag as part of the discovery state. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index af17774c9416..ea73e0826aa7 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -584,6 +584,8 @@ struct mgmt_rp_get_adv_size_info {
584 __u8 max_scan_rsp_len; 584 __u8 max_scan_rsp_len;
585} __packed; 585} __packed;
586 586
587#define MGMT_OP_START_LIMITED_DISCOVERY 0x0041
588
587#define MGMT_EV_CMD_COMPLETE 0x0001 589#define MGMT_EV_CMD_COMPLETE 0x0001
588struct mgmt_ev_cmd_complete { 590struct mgmt_ev_cmd_complete {
589 __le16 opcode; 591 __le16 opcode;