@@ -223,6 +223,28 @@ struct ble_ll_cs_config {
223
223
struct ble_ll_cs_proc_params proc_params ;
224
224
};
225
225
226
+ struct ble_ll_cs_step_result {
227
+ uint8_t sounding_pct_estimate ;
228
+ uint8_t packet_rssi ;
229
+ uint8_t packet_quality ;
230
+ uint8_t packet_nadm ;
231
+ uint32_t time_of_departure_us ;
232
+ uint32_t time_of_departure_ns ;
233
+ uint32_t time_of_arrival_us ;
234
+ uint32_t time_of_arrival_ns ;
235
+ uint32_t packet_pct1 ;
236
+ uint32_t packet_pct2 ;
237
+ uint16_t measured_freq_offset ;
238
+ uint32_t tone_pct [5 ];
239
+ uint8_t tone_quality_ind [5 ];
240
+ };
241
+
242
+ struct ble_ll_cs_subevent {
243
+ struct ble_hci_ev * hci_ev ;
244
+ unsigned int subev ;
245
+ uint8_t num_steps_reported ;
246
+ };
247
+
226
248
struct ble_ll_cs_sm {
227
249
struct ble_ll_conn_sm * connsm ;
228
250
struct ble_ll_cs_supp_cap remote_cap ;
@@ -299,6 +321,15 @@ struct ble_ll_cs_sm {
299
321
uint8_t t_sy ;
300
322
/* Time of CS_SYNC sequence only */
301
323
uint8_t t_sy_seq ;
324
+ uint8_t cs_sync_antenna ;
325
+
326
+ /* Cache for HCI Subevent Result event */
327
+ struct ble_ll_cs_subevent buffered_subevent ;
328
+ struct ble_ll_cs_step_result step_result ;
329
+ uint8_t cs_schedule_status ;
330
+ uint8_t proc_abort_reason ;
331
+ uint8_t subev_abort_reason ;
332
+
302
333
/* Channel selection stuff */
303
334
uint8_t mode0_channels [72 ];
304
335
uint8_t non_mode0_channels [72 ];
0 commit comments