diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2014-12-05 04:55:54 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-05 05:37:32 -0500 |
commit | 7e61df5423fe88a3e92bce59fb47686e52fb1d84 (patch) | |
tree | e893de1b392b642fcdd22b7526899f33ac416a6f /include/net | |
parent | a89612aac3cc6b13e6738bd70e05faf6f3fc8d9e (diff) |
Bluetooth: Add definitions for MGMT_OP_START_SERVICE_DISCOVERY
This patch adds the opcode and structure for Start Service Discovery
operation.
Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 9b382ea34fd9..95c34d5180fa 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -498,6 +498,15 @@ struct mgmt_cp_set_public_address { | |||
498 | } __packed; | 498 | } __packed; |
499 | #define MGMT_SET_PUBLIC_ADDRESS_SIZE 6 | 499 | #define MGMT_SET_PUBLIC_ADDRESS_SIZE 6 |
500 | 500 | ||
501 | #define MGMT_OP_START_SERVICE_DISCOVERY 0x003A | ||
502 | struct mgmt_cp_start_service_discovery { | ||
503 | __u8 type; | ||
504 | __s8 rssi; | ||
505 | __le16 uuid_count; | ||
506 | __u8 uuids[0][16]; | ||
507 | } __packed; | ||
508 | #define MGMT_START_SERVICE_DISCOVERY_SIZE 4 | ||
509 | |||
501 | #define MGMT_EV_CMD_COMPLETE 0x0001 | 510 | #define MGMT_EV_CMD_COMPLETE 0x0001 |
502 | struct mgmt_ev_cmd_complete { | 511 | struct mgmt_ev_cmd_complete { |
503 | __le16 opcode; | 512 | __le16 opcode; |