diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2019-02-27 16:35:44 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2019-03-07 09:37:14 +0200 |
commit | 3d5e41fc6f449504238f26d084d2d6fc38ab3da0 (patch) | |
tree | 408d44d2aa71d084aaaf97e209aa16a616290dde /monitor/bt.h | |
parent | 272738dc13b59d16b09c7b0b62534b80cf7cae28 (diff) | |
download | bluez-3d5e41fc6f449504238f26d084d2d6fc38ab3da0.tar.gz |
monitor: Add decoding for HCI LE Receiver Test command [v3]
This decodes LE Receiver Test command [v3] introduced in 5.1.
Diffstat (limited to 'monitor/bt.h')
-rw-r--r-- | monitor/bt.h | 12 |
1 files changed, 12 insertions, 0 deletions
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; |