Bluetooth: Controller: df: Fix spelling errors

Fix spelling errors in coments in ull_df.c source file.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
Piotr Pryga 2022-10-10 15:15:25 +02:00 committed by Carles Cufí
parent 3987259888
commit c2ea0328fa

View file

@ -392,7 +392,7 @@ uint8_t ll_df_set_cl_cte_tx_enable(uint8_t adv_handle, uint8_t cte_enable)
*
* @param[in]handle Connection handle.
* @param[in]sampling_enable Enable or disable CTE RX
* @param[in]slot_durations Switching and samplig slot durations for
* @param[in]slot_durations Switching and sampling slot durations for
* AoA mode.
* @param[in]max_cte_count Maximum number of sampled CTEs in single
* periodic advertising event.
@ -402,8 +402,8 @@ uint8_t ll_df_set_cl_cte_tx_enable(uint8_t adv_handle, uint8_t cte_enable)
* @return Status of command completion.
*
* @Note This function may put TX thread into wait state. This may lead to a
* situation that ll_sync_set instnace is relased (RX thread has higher
* priority than TX thread). l_sync_set instance may not be accessed after
* situation that ll_sync_set instance is relased (RX thread has higher
* priority than TX thread). ll_sync_set instance may not be accessed after
* call to ull_sync_slot_update.
* This is related with possible race condition with RX thread handling
* periodic sync lost event.
@ -491,7 +491,7 @@ uint8_t ll_df_set_cl_iq_sampling_enable(uint16_t handle,
if (!cfg_prev->is_enabled) {
/* Extend sync event by maximum CTE duration.
* CTE duration denepnds on transmitter configuration
* CTE duration depends on transmitter configuration
* so it is unknown for receiver upfront.
*/
slot_plus_us = BT_HCI_LE_CTE_LEN_MAX;
@ -528,7 +528,7 @@ bool ull_df_sync_cfg_is_not_enabled(struct lll_df_sync *df_cfg)
struct lll_df_sync_cfg *cfg;
/* If new CTE sampling configuration was enqueued, get reference to
* latest congiruation without swapping buffers. Buffer should be
* latest configuration without swapping buffers. Buffer should be
* swapped only at the beginning of the radio event.
*
* We may not get here if CTE sampling is not enabled in current
@ -623,7 +623,7 @@ bool ull_df_conn_cfg_is_not_enabled(struct lll_df_conn_rx_cfg *rx_cfg)
struct lll_df_conn_rx_params *rx_params;
/* If new CTE sampling configuration was enqueued, get reference to
* latest congiruation without swapping buffers. Buffer should be
* latest configuration without swapping buffers. Buffer should be
* swapped only at the beginning of the radio event.
*
* We may not get here if CTE sampling is not enabled in current
@ -678,10 +678,10 @@ static struct lll_df_adv_cfg *df_adv_cfg_acquire(void)
* @param pdu_prev Pointer to a PDU that is already in use by LLL or was updated with new PDU
* payload.
* @param pdu Pointer to a new head of periodic advertising chain. The pointer may have
* the same value as @p pdu_prev, if payload of PDU pointerd by @p pdu_prev
* the same value as @p pdu_prev, if payload of PDU pointed by @p pdu_prev
* was already updated.
* @param cte_count Number of CTEs that should be transmitted in periodic advertising chain.
* @param cte_into Pointer to instence of cte_info stuctuct that is added to PDUs extended
* @param cte_into Pointer to instance of cte_info structure that is added to PDUs extended
* advertising header.
*
* @return Zero in case of success, other value in case of failure.
@ -997,7 +997,7 @@ static uint8_t rem_cte_info_from_per_adv_chain(struct lll_adv_sync *lll_sync,
/* Go through existing chain and remove CTE info. */
while (pdu_chained) {
if (pdu_ext_adv_is_empty_without_cte(pdu_chained)) {
/* If there is an empty PDU then all remaining PDUs shoudl be released. */
/* If there is an empty PDU then all remaining PDUs should be released. */
if (!new_chain) {
lll_adv_pdu_linked_release_all(pdu_chained);
@ -1016,7 +1016,7 @@ static uint8_t rem_cte_info_from_per_adv_chain(struct lll_adv_sync *lll_sync,
pdu_rem_field_flags, NULL);
if (err != BT_HCI_ERR_SUCCESS) {
/* TODO: return here leaves periodic advertising chain in
* an inconsisten state. Add gracefull return or assert.
* an inconsistent state. Add gracefull return or assert.
*/
return err;
}
@ -1098,7 +1098,7 @@ static uint8_t cte_info_clear(struct ll_adv_set *adv, struct lll_df_adv_cfg *df_
err = ull_adv_sync_pdu_set_clear(lll_sync, pdu_prev, pdu, 0, pdu_rem_field_flags, NULL);
if (err != BT_HCI_ERR_SUCCESS) {
/* TODO: return here leaves periodic advertising chain in an inconsisten state.
/* TODO: return here leaves periodic advertising chain in an inconsistent state.
* Add gracefull return or assert.
*/
return err;
@ -1178,13 +1178,13 @@ uint8_t ll_df_set_conn_cte_tx_params(uint16_t handle, uint8_t cte_types, uint8_t
* @note: The CTE may not be send/received with PHY CODED. The BT Core 5.3 specification does not
* mention special handling of CTE receive and sampling while the functionality is enabled
* for a connection that currently uses PHY CODED. Enable of CTE receive for a PHY CODED
* will introduce coplications for TISF maintenance by software switch. To avoid that
* will introduce complications for TISF maintenance by software switch. To avoid that
* the lower link layer will enable the functionality when connection uses PHY UNCODED only.
*
* @param handle Connection handle.
* @param sampling_enable Enable or disable CTE RX. When the parameter is set to false,
* @p slot_durations, @p switch_pattern_len and @ant_ids are ignored.
* @param slot_durations Switching and samplig slot durations for AoA mode.
* @param slot_durations Switching and sampling slot durations for AoA mode.
* @param switch_pattern_len Number of antenna ids in switch pattern.
* @param ant_ids Array of antenna identifiers.
*