diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2019-02-28 10:47:49 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2019-03-07 09:37:14 +0200 |
commit | 1c5b832c0fe686da559449ef64c336678d964725 (patch) | |
tree | 2c87b25717cad3775c6e8ae4331be9b05bb3f85f /monitor/bt.h | |
parent | 3d5e41fc6f449504238f26d084d2d6fc38ab3da0 (diff) | |
download | bluez-1c5b832c0fe686da559449ef64c336678d964725.tar.gz |
monitor: Add decoding for HCI LE Transmitter Test command [v3]
This decodes LE Transmitter Test command [v3] introduced in 5.1.
Diffstat (limited to 'monitor/bt.h')
-rw-r--r-- | monitor/bt.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/monitor/bt.h b/monitor/bt.h index f25646f41..d32d3a153 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -2448,6 +2448,19 @@ struct bt_hci_cmd_le_receiver_test_v3 { uint8_t antenna_ids[0]; } __attribute__ ((packed)); +#define BT_HCI_CMD_LE_TX_TEST_V3 0x2050 +struct bt_hci_cmd_le_tx_test_v3 { + uint8_t chan; + uint8_t data_len; + uint8_t payload; + uint8_t phy; + uint8_t cte_len; + uint8_t cte_type; + uint8_t duration; + uint8_t num_antenna_id; + uint8_t antenna_ids[0]; +} __attribute__ ((packed)); + #define BT_HCI_EVT_INQUIRY_COMPLETE 0x01 struct bt_hci_evt_inquiry_complete { uint8_t status; |