Lines Matching refs:switch_pattern_len
143 cp->switch_pattern_len = params->num_ant_ids; in hci_df_set_cl_cte_tx_params()
145 cp->switch_pattern_len = 0; in hci_df_set_cl_cte_tx_params()
283 uint8_t switch_pattern_len; in prepare_cl_cte_rx_enable_cmd_params() local
286 switch_pattern_len = params->num_ant_ids; in prepare_cl_cte_rx_enable_cmd_params()
288 switch_pattern_len = ARRAY_SIZE(df_dummy_switch_pattern); in prepare_cl_cte_rx_enable_cmd_params()
296 (enable ? switch_pattern_len : 0))); in prepare_cl_cte_rx_enable_cmd_params()
326 cp->switch_pattern_len = switch_pattern_len; in prepare_cl_cte_rx_enable_cmd_params()
327 dest_ant_ids = net_buf_add(*buf, cp->switch_pattern_len); in prepare_cl_cte_rx_enable_cmd_params()
328 memcpy(dest_ant_ids, ant_ids, cp->switch_pattern_len); in prepare_cl_cte_rx_enable_cmd_params()
503 cp->switch_pattern_len = params->num_ant_ids; in prepare_conn_cte_tx_params_cmd()
505 ant_ids = net_buf_add(buf, cp->switch_pattern_len); in prepare_conn_cte_tx_params_cmd()
506 (void)memcpy(ant_ids, params->ant_ids, cp->switch_pattern_len); in prepare_conn_cte_tx_params_cmd()
508 cp->switch_pattern_len = 0U; in prepare_conn_cte_tx_params_cmd()
574 uint8_t switch_pattern_len; in prepare_conn_cte_rx_enable_cmd_params() local
577 switch_pattern_len = params->num_ant_ids; in prepare_conn_cte_rx_enable_cmd_params()
579 switch_pattern_len = ARRAY_SIZE(df_dummy_switch_pattern); in prepare_conn_cte_rx_enable_cmd_params()
587 (enable ? switch_pattern_len : 0))); in prepare_conn_cte_rx_enable_cmd_params()
617 cp->switch_pattern_len = switch_pattern_len; in prepare_conn_cte_rx_enable_cmd_params()
618 dest_ant_ids = net_buf_add(*buf, cp->switch_pattern_len); in prepare_conn_cte_rx_enable_cmd_params()
619 (void)memcpy(dest_ant_ids, ant_ids, cp->switch_pattern_len); in prepare_conn_cte_rx_enable_cmd_params()