summaryrefslogtreecommitdiff
path: root/monitor/bt.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-03-02 14:49:57 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-03-02 16:22:25 -0800
commit70e6a4a9064a8debf8881880b04e64ea281ea5f4 (patch)
tree92c24d4d73aa78f286a2d50a8132dfc390b56c97 /monitor/bt.h
parent9e627576f0ce8933143df7fd51d19971f9ae53dd (diff)
downloadbluez-70e6a4a9064a8debf8881880b04e64ea281ea5f4.tar.gz
monitor: Add support for decoding Configure Data Path
< HCI Command: Configure Data Path (0x03|0x0083) plen 3 Direction: Input (Host to Controller) (0x00) ID: 0 Vendor Specific Config Length: 0 Vendor Specific Config: > HCI Event: Command Complete (0x0e) plen 4 Configure Data Path (0x03|0x0083) ncmd 1 Status: Success (0x00)
Diffstat (limited to 'monitor/bt.h')
-rw-r--r--monitor/bt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/monitor/bt.h b/monitor/bt.h
index 7d865c9ae..ac4f976fc 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -1692,6 +1692,15 @@ struct bt_hci_cmd_write_ext_inquiry_length {
uint16_t interval;
} __attribute__ ((packed));
+#define BT_HCI_CMD_CONFIG_DATA_PATH 0x0c83
+#define BT_HCI_BIT_CONFIG_DATA_PATH BT_HCI_CMD_BIT(45, 5)
+struct bt_hci_cmd_config_data_path {
+ uint8_t dir;
+ uint8_t id;
+ uint8_t vnd_config_len;
+ uint8_t vnd_config[0];
+} __attribute__ ((packed));
+
#define BT_HCI_CMD_READ_LOCAL_VERSION 0x1001
struct bt_hci_rsp_read_local_version {
uint8_t status;