aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2016-01-05 13:19:32 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-01-05 17:02:50 +0100
commit78b781ca0d35191ebf8d8cad8beec810270f0f2e (patch)
tree7073d457c36cb802d1dee693df70ec57beaee268 /include/net/bluetooth/mgmt.h
parentBluetooth: Change eir_has_data_type() to more generic eir_get_data() (diff)
downloadlinux-dev-78b781ca0d35191ebf8d8cad8beec810270f0f2e.tar.xz
linux-dev-78b781ca0d35191ebf8d8cad8beec810270f0f2e.zip
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 {
__u8 max_scan_rsp_len;
} __packed;
+#define MGMT_OP_START_LIMITED_DISCOVERY 0x0041
+
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
__le16 opcode;