aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-15 01:43:19 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2015-03-15 04:05:29 -0400
commit4f0f155ceaf7e1b59d210a8afb24d4ea63ce13cc (patch)
tree0f72d130822e8d2bda1488ccf25f025226cd3b0b /include/net
parent1471aae0d04d4e0df2bf1e5a5af861e28371b8b4 (diff)
Bluetooth: Add simple version of Read Local OOB Extended Data command
This adds support for the simplest possible version of Read Local OOB Extended Data management command. It includes all mandatory fields, but none of the actual pairing related ones. 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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 4d0ccd194c01..543c1ba3d892 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -506,6 +506,17 @@ struct mgmt_cp_start_service_discovery {
506} __packed; 506} __packed;
507#define MGMT_START_SERVICE_DISCOVERY_SIZE 4 507#define MGMT_START_SERVICE_DISCOVERY_SIZE 4
508 508
509#define MGMT_OP_READ_LOCAL_OOB_EXT_DATA 0x003B
510struct mgmt_cp_read_local_oob_ext_data {
511 __u8 type;
512} __packed;
513#define MGMT_READ_LOCAL_OOB_EXT_DATA_SIZE 1
514struct mgmt_rp_read_local_oob_ext_data {
515 __u8 type;
516 __le16 eir_len;
517 __u8 eir[0];
518} __packed;
519
509#define MGMT_OP_READ_EXT_INDEX_LIST 0x003C 520#define MGMT_OP_READ_EXT_INDEX_LIST 0x003C
510#define MGMT_READ_EXT_INDEX_LIST_SIZE 0 521#define MGMT_READ_EXT_INDEX_LIST_SIZE 0
511struct mgmt_rp_read_ext_index_list { 522struct mgmt_rp_read_ext_index_list {