aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2011-04-27 10:29:56 -0400
committerGustavo F. Padovan <padovan@profusion.mobi>2011-04-28 00:10:03 -0400
commit14a53664138a8407382745bb470045d1817b7801 (patch)
tree9a731741ee34c1d7ea5abdd290bc27cd45277753 /include/net/bluetooth/mgmt.h
parentcf2f90f59bbf2c2a539d171cde6e1dfe72048555 (diff)
Bluetooth: Add basic discovery commands to the management interface
This patch adds start_discovery and stop_discovery commands to the management interface. Right now their implementation is fairly simplistic and the parameters are fixed to what user space has defaulted to so far. This is the very initial phase for discovery implementation into the kernel. Next steps include name resolution, LE scanning and bdaddr type handling. Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com> Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 6b6ff92ab499..be93dd0eb962 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -195,6 +195,10 @@ struct mgmt_cp_remove_remote_oob_data {
195 bdaddr_t bdaddr; 195 bdaddr_t bdaddr;
196} __packed; 196} __packed;
197 197
198#define MGMT_OP_START_DISCOVERY 0x001B
199
200#define MGMT_OP_STOP_DISCOVERY 0x001C
201
198#define MGMT_EV_CMD_COMPLETE 0x0001 202#define MGMT_EV_CMD_COMPLETE 0x0001
199struct mgmt_ev_cmd_complete { 203struct mgmt_ev_cmd_complete {
200 __le16 opcode; 204 __le16 opcode;