aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-14 23:53:25 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2015-03-15 04:03:41 -0400
commitd3d5305bfd1cb48c8f44207abb567276a1e09cc7 (patch)
tree5bcc688e2ccdb2b9c5936d3a18a83edc23d75cdf /include/net
parenta958452aa40c57a0407ecf84ba1bfa31ad532313 (diff)
Bluetooth: Add simple version of Read Advertising Features command
This adds support for the simplest possible version of Read Advertising Features management command. It allows basic testing of the interface. 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 f3baad589db0..4d0ccd194c01 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -517,6 +517,17 @@ struct mgmt_rp_read_ext_index_list {
517 } entry[0]; 517 } entry[0];
518} __packed; 518} __packed;
519 519
520#define MGMT_OP_READ_ADV_FEATURES 0x0003D
521#define MGMT_READ_ADV_FEATURES_SIZE 0
522struct mgmt_rp_read_adv_features {
523 __le32 supported_flags;
524 __u8 max_adv_data_len;
525 __u8 max_scan_rsp_len;
526 __u8 max_instances;
527 __u8 num_instances;
528 __u8 instance[0];
529} __packed;
530
520#define MGMT_EV_CMD_COMPLETE 0x0001 531#define MGMT_EV_CMD_COMPLETE 0x0001
521struct mgmt_ev_cmd_complete { 532struct mgmt_ev_cmd_complete {
522 __le16 opcode; 533 __le16 opcode;