From 3d5e41fc6f449504238f26d084d2d6fc38ab3da0 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 27 Feb 2019 16:35:44 +0200 Subject: monitor: Add decoding for HCI LE Receiver Test command [v3] This decodes LE Receiver Test command [v3] introduced in 5.1. --- monitor/bt.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'monitor/bt.h') diff --git a/monitor/bt.h b/monitor/bt.h index af17c1f82..f25646f41 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -2436,6 +2436,18 @@ struct bt_hci_cmd_le_set_priv_mode { uint8_t priv_mode; } __attribute__ ((packed)); +#define BT_HCI_CMD_LE_RECEIVER_TEST_V3 0x204f +struct bt_hci_cmd_le_receiver_test_v3 { + uint8_t rx_chan; + uint8_t phy; + uint8_t mod_index; + 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; -- cgit v1.2.1