Home
last modified time | relevance | path

Searched refs:switch_pattern_len (Results 1 – 15 of 15) sorted by relevance

/Zephyr-Core-3.5.0/tests/bluetooth/df/connection_cte_tx_params/src/
Dtest_set_conn_cte_tx_params.c28 uint8_t switch_pattern_len; member
63 sizeof(*cp) + params->switch_pattern_len); in send_set_conn_cte_tx_params()
74 dest_ant_ids = net_buf_add(buf, params->switch_pattern_len); in send_set_conn_cte_tx_params()
77 (void)memcpy(dest_ant_ids, params->ant_ids, params->switch_pattern_len); in send_set_conn_cte_tx_params()
79 cp->switch_pattern_len = params->switch_pattern_len; in send_set_conn_cte_tx_params()
122 g_params.switch_pattern_len = SWITCH_PATTERN_LEN_TOO_LONG; in ZTEST()
136 g_params.switch_pattern_len = SWITCH_PATTERN_LEN_TOO_SHORT; in ZTEST()
175 g_params.switch_pattern_len = ARRAY_SIZE(g_ant_ids); in connection_setup()
/Zephyr-Core-3.5.0/tests/bluetooth/df/connection_cte_req/src/
Dtest_cte_set_rx_params.c49 uint8_t ant_ids_num = (params != NULL ? params->switch_pattern_len : 0); in send_set_conn_cte_rx_params()
71 cp->switch_pattern_len = params->switch_pattern_len; in send_set_conn_cte_rx_params()
104 g_params.switch_pattern_len = SWITCH_PATTERN_LEN_TOO_LONG; in ZTEST()
119 g_params.switch_pattern_len = SWITCH_PATTERN_LEN_TOO_SHORT; in ZTEST()
183 g_params.switch_pattern_len = SWITCH_PATTERN_LEN_TOO_LONG; in ZTEST()
198 g_params.switch_pattern_len = SWITCH_PATTERN_LEN_TOO_SHORT; in ZTEST()
222 g_params.switch_pattern_len = ARRAY_SIZE(g_ant_ids); in connection_setup()
Dtest_cte_set_rx_params.h12 uint8_t switch_pattern_len; member
Dtest_cte_req_enable.c194 .switch_pattern_len = ARRAY_SIZE(ant_ids), in cte_rx_param_setup()
/Zephyr-Core-3.5.0/tests/bluetooth/df/connectionless_cte_tx/src/
Dtest_set_cl_cte_tx_param.c51 uint8_t switch_pattern_len, in send_set_cl_cte_tx_params() argument
58 sizeof(*cp) + switch_pattern_len); in send_set_cl_cte_tx_params()
67 uint8_t *dest_ant_ids = net_buf_add(buf, switch_pattern_len); in send_set_cl_cte_tx_params()
69 if (switch_pattern_len > 0) { in send_set_cl_cte_tx_params()
70 memcpy(dest_ant_ids, ant_ids, switch_pattern_len); in send_set_cl_cte_tx_params()
72 cp->switch_pattern_len = switch_pattern_len; in send_set_cl_cte_tx_params()
Dcommon.c75 cp->switch_pattern_len = ARRAY_SIZE(ant_ids); in common_set_cl_cte_tx_params()
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_test.c315 uint8_t switch_pattern_len) in cte_tx_parameters_check() argument
324 if ((switch_pattern_len < BT_HCI_LE_SWITCH_PATTERN_LEN_MIN) || in cte_tx_parameters_check()
325 (switch_pattern_len > BT_HCI_LE_SWITCH_PATTERN_LEN_MAX)) { in cte_tx_parameters_check()
338 static uint8_t cte_tx_init(uint8_t cte_len, uint8_t cte_type, uint8_t switch_pattern_len, in cte_tx_init() argument
343 err = cte_tx_parameters_check(cte_len, cte_type, switch_pattern_len); in cte_tx_init()
363 radio_df_ant_switch_pattern_set(ant_id, switch_pattern_len); in cte_tx_init()
375 uint8_t slot_duration, uint8_t switch_pattern_len) in cte_rx_parameters_check() argument
384 if ((switch_pattern_len < BT_HCI_LE_SWITCH_PATTERN_LEN_MIN) || in cte_rx_parameters_check()
385 (switch_pattern_len > BT_HCI_LE_SWITCH_PATTERN_LEN_MAX)) { in cte_rx_parameters_check()
404 uint8_t slot_duration, uint8_t switch_pattern_len, in cte_rx_init() argument
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dll_test.h8 uint8_t cte_len, uint8_t cte_type, uint8_t switch_pattern_len,
11 uint8_t expected_cte_type, uint8_t slot_duration, uint8_t switch_pattern_len,
Dull_df.c414 uint8_t switch_pattern_len, in ll_df_set_cl_iq_sampling_enable() argument
471 if (switch_pattern_len < BT_HCI_LE_SWITCH_PATTERN_LEN_MIN || in ll_df_set_cl_iq_sampling_enable()
472 switch_pattern_len > BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN || !ant_ids) { in ll_df_set_cl_iq_sampling_enable()
476 (void)memcpy(cfg->ant_ids, ant_ids, switch_pattern_len); in ll_df_set_cl_iq_sampling_enable()
479 cfg->ant_sw_len = switch_pattern_len; in ll_df_set_cl_iq_sampling_enable()
1122 uint8_t ll_df_set_conn_cte_tx_params(uint16_t handle, uint8_t cte_types, uint8_t switch_pattern_len, in ll_df_set_conn_cte_tx_params() argument
1159 (switch_pattern_len < BT_HCI_LE_SWITCH_PATTERN_LEN_MIN || in ll_df_set_conn_cte_tx_params()
1160 switch_pattern_len > BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN || !ant_ids)) { in ll_df_set_conn_cte_tx_params()
1164 (void)memcpy(df_tx_cfg->ant_ids, ant_ids, switch_pattern_len); in ll_df_set_conn_cte_tx_params()
1165 df_tx_cfg->ant_sw_len = switch_pattern_len; in ll_df_set_conn_cte_tx_params()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Ddirection.c143 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()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_test.c201 uint8_t cte_len, uint8_t cte_type, uint8_t switch_pattern_len, in ll_test_tx() argument
211 ARG_UNUSED(switch_pattern_len); in ll_test_tx()
288 uint8_t expected_cte_type, uint8_t slot_duration, uint8_t switch_pattern_len, in ll_test_rx() argument
300 ARG_UNUSED(switch_pattern_len); in ll_test_rx()
/Zephyr-Core-3.5.0/tests/bluetooth/df/connectionless_cte_rx/src/
Dtest_set_iq_sampling_enable.c80 cp->switch_pattern_len = params->num_ant_ids; in send_set_scan_cte_rx_enable()
83 cp->switch_pattern_len = 0; in send_set_scan_cte_rx_enable()
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/include/
Dll.h292 uint8_t slot_durations, uint8_t switch_pattern_len,
305 uint8_t switch_pattern_len,
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Dhci_types.h1668 uint8_t switch_pattern_len; member
1681 uint8_t switch_pattern_len; member
1703 uint8_t switch_pattern_len; member
1726 uint8_t switch_pattern_len; member
1740 uint8_t switch_pattern_len; member
1760 uint8_t switch_pattern_len; member
2215 uint8_t switch_pattern_len; member
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/hci/
Dhci.c2870 cmd->switch_pattern_len, in le_df_set_cl_cte_tx_params()
2912 cmd->switch_pattern_len, in le_df_set_cl_iq_sampling_enable()
3071 cmd->switch_pattern_len, in le_df_set_conn_cte_tx_params()
3093 cmd->switch_pattern_len, cmd->ant_ids); in le_df_set_conn_cte_rx_params()
3324 cmd->expected_cte_type, cmd->slot_durations, cmd->switch_pattern_len, in le_rx_test_v3()
3351 cmd->cte_len, cmd->cte_type, cmd->switch_pattern_len, cmd->ant_ids, in le_tx_test_v3()
3363 sizeof(struct bt_hci_cp_le_tx_test_v4) + cmd->switch_pattern_len); in le_tx_test_v4()
3367 cmd->cte_len, cmd->cte_type, cmd->switch_pattern_len, cmd->ant_ids, in le_tx_test_v4()