@@ -193,6 +193,26 @@ struct ble_ll_cs_config {
193
193
struct ble_ll_cs_proc_params proc_params ;
194
194
};
195
195
196
+ struct ble_ll_cs_step_result {
197
+ uint8_t sounding_pct_estimate ;
198
+ uint8_t packet_rssi ;
199
+ uint8_t packet_quality ;
200
+ uint8_t packet_nadm ;
201
+ uint32_t time_of_departure ;
202
+ uint32_t time_of_arrival ;
203
+ uint32_t packet_pct1 ;
204
+ uint32_t packet_pct2 ;
205
+ uint16_t measured_freq_offset ;
206
+ uint32_t tone_pct [5 ];
207
+ uint8_t tone_quality_ind [5 ];
208
+ };
209
+
210
+ struct ble_ll_cs_subevent {
211
+ struct ble_hci_ev * hci_ev ;
212
+ unsigned int subev ;
213
+ uint8_t num_steps_reported ;
214
+ };
215
+
196
216
struct ble_ll_cs_sm {
197
217
struct ble_ll_conn_sm * connsm ;
198
218
struct ble_ll_cs_supp_cap remote_cap ;
@@ -290,6 +310,14 @@ struct ble_ll_cs_sm {
290
310
uint8_t channel ;
291
311
/* Cached main mode channels that will be used in repetiton steps */
292
312
uint8_t repetition_channels [3 ];
313
+ uint8_t cs_sync_antenna ;
314
+
315
+ /* Cache for HCI Subevent Result event */
316
+ struct ble_ll_cs_subevent buffered_subevent ;
317
+ struct ble_ll_cs_step_result step_result ;
318
+ uint8_t cs_schedule_status ;
319
+ uint8_t proc_abort_reason ;
320
+ uint8_t subev_abort_reason ;
293
321
294
322
/* Channel selection stuff */
295
323
uint8_t mode0_channels [72 ];
0 commit comments