Skip to content

Commit c2c939f

Browse files
[nrf fromtree] bluetooth: host: uint16_t -> int16_t mode 1 deltas
These are signed 16-bit integers by spec Signed-off-by: Olivier Lesage <[email protected]> (cherry picked from commit b1f34a1)
1 parent 40c9bd3 commit c2c939f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

include/zephyr/bluetooth/hci_types.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3561,8 +3561,8 @@ struct bt_hci_le_cs_step_data_mode_1 {
35613561
uint8_t packet_nadm;
35623562
uint8_t packet_rssi;
35633563
union {
3564-
uint16_t toa_tod_initiator;
3565-
uint16_t tod_toa_reflector;
3564+
int16_t toa_tod_initiator;
3565+
int16_t tod_toa_reflector;
35663566
};
35673567
uint8_t packet_antenna;
35683568
} __packed;
@@ -3579,8 +3579,8 @@ struct bt_hci_le_cs_step_data_mode_1_ss_rtt {
35793579
uint8_t packet_nadm;
35803580
uint8_t packet_rssi;
35813581
union {
3582-
uint16_t toa_tod_initiator;
3583-
uint16_t tod_toa_reflector;
3582+
int16_t toa_tod_initiator;
3583+
int16_t tod_toa_reflector;
35843584
};
35853585
uint8_t packet_antenna;
35863586
uint8_t packet_pct1[4];
@@ -3618,8 +3618,8 @@ struct bt_hci_le_cs_step_data_mode_3 {
36183618
uint8_t packet_nadm;
36193619
uint8_t packet_rssi;
36203620
union {
3621-
uint16_t toa_tod_initiator;
3622-
uint16_t tod_toa_reflector;
3621+
int16_t toa_tod_initiator;
3622+
int16_t tod_toa_reflector;
36233623
};
36243624
uint8_t packet_antenna;
36253625
uint8_t antenna_permutation_index;
@@ -3638,8 +3638,8 @@ struct bt_hci_le_cs_step_data_mode_3_ss_rtt {
36383638
uint8_t packet_nadm;
36393639
uint8_t packet_rssi;
36403640
union {
3641-
uint16_t toa_tod_initiator;
3642-
uint16_t tod_toa_reflector;
3641+
int16_t toa_tod_initiator;
3642+
int16_t tod_toa_reflector;
36433643
};
36443644
uint8_t packet_antenna;
36453645
uint8_t packet_pct1[4];

0 commit comments

Comments
 (0)