Skip to content

Commit 1631d3a

Browse files
[nrf fromtree] bluetooth: host: Add defines for mode 1 packet quality and RSSI
Add some defines for packet quality and rssi for RTT, these are useful for filtering out steps where the RTT exchange was unsuccessful Signed-off-by: Olivier Lesage <[email protected]> (cherry picked from commit 6c95478)
1 parent c2c939f commit 1631d3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/zephyr/bluetooth/hci_types.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3521,6 +3521,12 @@ struct bt_hci_evt_le_cs_config_complete {
35213521
#define BT_HCI_LE_CS_PACKET_NADM_ATTACK_EXT_LIKELY 0x06
35223522
#define BT_HCI_LE_CS_PACKET_NADM_UNKNOWN 0xFF
35233523

3524+
#define BT_HCI_LE_CS_PACKET_QUALITY_AA_CHECK_SUCCESSFUL 0x0
3525+
#define BT_HCI_LE_CS_PACKET_QUALITY_AA_CHECK_BIT_ERRORS_FOUND 0x1
3526+
#define BT_HCI_LE_CS_PACKET_QUALITY_AA_CHECK_AA_NOT_FOUND 0x2
3527+
3528+
#define BT_HCI_LE_CS_PACKET_RSSI_NOT_AVAILABLE 0x7F
3529+
35243530
#define BT_HCI_EVT_LE_CS_SUBEVENT_RESULT 0x31
35253531
/** Subevent result step data format: Mode 0 Initiator */
35263532
struct bt_hci_le_cs_step_data_mode_0_initiator {

0 commit comments

Comments
 (0)