From 5d0366404ae628762dad95125bdd3816ee6e8290 Mon Sep 17 00:00:00 2001 From: Olivier Lesage Date: Tue, 15 Oct 2024 10:45:56 +0200 Subject: [PATCH] bluetooth: host: Add docs for t_XX times in CS Test These options are in microseconds but not fully configurable, document what options are allowed in 6.0 Signed-off-by: Olivier Lesage --- include/zephyr/bluetooth/cs.h | 59 ++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 5 deletions(-) diff --git a/include/zephyr/bluetooth/cs.h b/include/zephyr/bluetooth/cs.h index fa362083180..aa145b65f5c 100644 --- a/include/zephyr/bluetooth/cs.h +++ b/include/zephyr/bluetooth/cs.h @@ -338,15 +338,64 @@ struct bt_le_cs_test_param { * it should use as low a transmit power as possible */ uint8_t transmit_power_level; - /** Interlude time in microseconds between the RTT packets. */ + /** Interlude time in microseconds between the RTT packets. + * + * Valid options are: + * - 10 us + * - 20 us + * - 30 us + * - 40 us + * - 50 us + * - 60 us + * - 80 us + * - 145 us + */ uint8_t t_ip1_time; - /** Interlude time in microseconds between the CS tones. */ + /** Interlude time in microseconds between the CS tones. + * + * Valid options are: + * - 10 us + * - 20 us + * - 30 us + * - 40 us + * - 50 us + * - 60 us + * - 80 us + * - 145 us + */ uint8_t t_ip2_time; - /** Time in microseconds for frequency changes. */ + /** Time in microseconds for frequency changes. + * + * Valid options are: + * - 15 us + * - 20 us + * - 30 us + * - 40 us + * - 50 us + * - 60 us + * - 80 us + * - 100 us + * - 120 us + * - 150 us + */ uint8_t t_fcs_time; - /** Time in microseconds for the phase measurement period of the CS tones. */ + /** Time in microseconds for the phase measurement period of the CS tones. + * + * Valid options are: + * - 10 us + * - 20 us + * - 40 us + */ uint8_t t_pm_time; - /** Time in microseconds for the antenna switch period of the CS tones. */ + /** Time in microseconds for the antenna switch period of the CS tones. + * + * Valid options are: + * - 0 us + * - 1 us + * - 2 us + * - 4 us + * - 10 us + */ uint8_t t_sw_time; /** Antenna Configuration Index used during antenna switching during * the tone phases of CS steps.