Home
last modified time | relevance | path

Searched refs:ant_ids (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-Core-3.4.0/tests/bluetooth/df/connection_cte_req/src/
Dtest_cte_set_rx_params.c67 if (params->ant_ids) { in send_set_conn_cte_rx_params()
68 (void)memcpy(dest_ant_ids, params->ant_ids, ant_ids_num); in send_set_conn_cte_rx_params()
102 uint8_t ant_ids[SWITCH_PATTERN_LEN_TOO_LONG] = { 0 }; in ZTEST() local
105 g_params.ant_ids = ant_ids; in ZTEST()
117 uint8_t ant_ids[SWITCH_PATTERN_LEN_TOO_SHORT] = { 0 }; in ZTEST() local
120 g_params.ant_ids = &ant_ids[0]; in ZTEST()
132 g_params.ant_ids = NULL; in ZTEST()
181 uint8_t ant_ids[SWITCH_PATTERN_LEN_TOO_LONG] = { 0 }; in ZTEST() local
184 g_params.ant_ids = ant_ids; in ZTEST()
196 uint8_t ant_ids[SWITCH_PATTERN_LEN_TOO_SHORT] = { 0 }; in ZTEST() local
[all …]
Dtest_cte_req_enable.c189 static uint8_t ant_ids[] = { 0x1, 0x2, 0x3, 0x4, 0x5 }; in cte_rx_param_setup() local
194 .switch_pattern_len = ARRAY_SIZE(ant_ids), in cte_rx_param_setup()
195 .ant_ids = ant_ids in cte_rx_param_setup()
Dtest_cte_set_rx_params.h13 uint8_t *ant_ids; member
/Zephyr-Core-3.4.0/tests/bluetooth/df/connectionless_cte_rx/src/
Dtest_set_iq_sampling_enable.c23 uint8_t *ant_ids; member
32 .ant_ids = &g_ant_ids[0]
73 if (params->ant_ids) { in send_set_scan_cte_rx_enable()
77 memcpy(dest_ant_ids, params->ant_ids, in send_set_scan_cte_rx_enable()
120 uint8_t *ant_ids_prev = g_params.ant_ids; in ZTEST()
122 uint8_t ant_ids[SWITCH_PATTERN_LEN_INVALID] = { 0 }; in ZTEST() local
125 g_params.ant_ids = &ant_ids[0]; in ZTEST()
132 g_params.ant_ids = ant_ids_prev; in ZTEST()
217 uint8_t *ant_ids_prev = g_params.ant_ids; in ZTEST()
218 uint8_t ant_ids[BT_HCI_LE_MAX_SWITCH_PATTERN_LEN_MIN] = { 0 }; in ZTEST() local
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/df/connection_cte_tx_params/src/
Dtest_set_conn_cte_tx_params.c29 const uint8_t *ant_ids; member
76 if (params->ant_ids) { 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()
120 uint8_t ant_ids[SWITCH_PATTERN_LEN_TOO_LONG] = { 0 }; in ZTEST() local
123 g_params.ant_ids = ant_ids; in ZTEST()
134 uint8_t ant_ids[SWITCH_PATTERN_LEN_TOO_SHORT] = { 0 }; in ZTEST() local
137 g_params.ant_ids = &ant_ids[0]; in ZTEST()
149 g_params.ant_ids = NULL; in ZTEST()
176 g_params.ant_ids = g_ant_ids; in connection_setup()
/Zephyr-Core-3.4.0/tests/bluetooth/df/connectionless_cte_tx/src/
Dcommon.c55 uint8_t ant_ids[] = { 0x1, 0x2, 0x3, 0x4, 0x5 }; in common_set_cl_cte_tx_params() local
63 sizeof(*cp) + ARRAY_SIZE(ant_ids)); in common_set_cl_cte_tx_params()
72 dest_ant_ids = net_buf_add(buf, ARRAY_SIZE(ant_ids)); in common_set_cl_cte_tx_params()
73 memcpy(dest_ant_ids, ant_ids, ARRAY_SIZE(ant_ids)); in common_set_cl_cte_tx_params()
75 cp->switch_pattern_len = ARRAY_SIZE(ant_ids); in common_set_cl_cte_tx_params()
Dtest_set_cl_cte_tx_param.c52 uint8_t *ant_ids) in send_set_cl_cte_tx_params() argument
70 memcpy(dest_ant_ids, ant_ids, switch_pattern_len); in send_set_cl_cte_tx_params()
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df.c109 df_cfg->ant_sw_len, df_cfg->ant_ids); in lll_df_cte_tx_enable()
220 int lll_df_conf_cte_rx_enable(uint8_t slot_duration, uint8_t ant_num, const uint8_t *ant_ids, in lll_df_conf_cte_rx_enable() argument
238 radio_df_ant_switch_pattern_set(ant_ids, ant_num); in lll_df_conf_cte_rx_enable()
340 static uint8_t ant_ids[DF_MIN_ANT_NUM_REQUIRED] = { PDU_ANTENNA, PDU_ANTENNA }; in lll_df_conf_cte_info_parsing_enable() local
344 radio_df_ant_switch_pattern_set(ant_ids, DF_MIN_ANT_NUM_REQUIRED); in lll_df_conf_cte_info_parsing_enable()
374 const uint8_t *ant_ids) in lll_df_cte_tx_configure() argument
392 radio_df_ant_switch_pattern_set(ant_ids, num_ant_ids); in lll_df_cte_tx_configure()
Dlll_df_types.h47 uint8_t ant_ids[BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN]; member
126 uint8_t ant_ids[BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN]; member
140 uint8_t ant_ids[BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN]; member
185 uint8_t ant_ids[BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN]; member
Dlll_df_internal.h58 int lll_df_conf_cte_rx_enable(uint8_t slot_duration, uint8_t ant_num, const uint8_t *ant_ids,
68 const uint8_t *ant_ids);
Dlll_test.c405 const uint8_t *ant_ids, uint8_t phy) in cte_rx_init() argument
429 radio_df_ant_switch_pattern_set(ant_ids, switch_pattern_len); in cte_rx_init()
662 const uint8_t *ant_ids) in ll_test_rx() argument
683 switch_pattern_len, ant_ids, phy); in ll_test_rx()
Dlll_central.c165 lll->df_tx_cfg.ant_ids); in prepare_cb()
Dlll_sync.c186 cfg->ant_ids, lll_aux->chan, in lll_sync_aux_prepare_cb()
315 cfg->ant_ids, chan_idx, CTE_INFO_IN_PAYLOAD, in create_prepare_cb()
402 cfg->ant_ids, chan_idx, CTE_INFO_IN_PAYLOAD, in prepare_cb()
715 cfg->ant_ids, in isr_aux_setup()
Dlll_peripheral.c228 df_rx_params->ant_sw_len, df_rx_params->ant_ids,
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/
Ddirection.h78 uint8_t *ant_ids; member
103 const uint8_t *ant_ids; member
153 const uint8_t *ant_ids; member
204 const uint8_t *ant_ids; member
Dhci_types.h1656 uint8_t ant_ids[0]; member
1669 uint8_t ant_ids[0]; member
1691 uint8_t ant_ids[0]; member
1714 uint8_t ant_ids[0]; member
1728 uint8_t ant_ids[0]; member
1748 uint8_t ant_ids[0]; member
2203 uint8_t ant_ids[0]; member
/Zephyr-Core-3.4.0/subsys/bluetooth/host/
Ddirection.c52 uint8_t num_ant_ids, const uint8_t *ant_ids);
110 !params->ant_ids) { in hci_df_set_cl_cte_tx_params()
142 memcpy(dest_ant_ids, params->ant_ids, params->num_ant_ids); in hci_df_set_cl_cte_tx_params()
234 uint8_t num_ant_ids, const uint8_t *ant_ids) in valid_cte_rx_common_params() argument
253 num_ant_ids > df_ant_info.max_switch_pattern_len || !ant_ids) { in valid_cte_rx_common_params()
271 params->num_ant_ids, params->ant_ids); in valid_cl_cte_rx_params()
308 const uint8_t *ant_ids; in prepare_cl_cte_rx_enable_cmd_params() local
315 ant_ids = params->ant_ids; in prepare_cl_cte_rx_enable_cmd_params()
323 ant_ids = &df_dummy_switch_pattern[0]; 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()
[all …]
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/
Dull_df.c237 uint8_t num_ant_ids, uint8_t *ant_ids) in ll_df_set_cl_cte_tx_params() argument
272 num_ant_ids > BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN || !ant_ids)) { in ll_df_set_cl_cte_tx_params()
297 memcpy(cfg->ant_ids, ant_ids, num_ant_ids); in ll_df_set_cl_cte_tx_params()
415 uint8_t *ant_ids) in ll_df_set_cl_iq_sampling_enable() argument
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()
1123 const uint8_t *ant_ids) in ll_df_set_conn_cte_tx_params() argument
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()
1195 const uint8_t *ant_ids) in ll_df_set_conn_cte_rx_params() argument
[all …]
Dll_test.h12 const uint8_t *ant_ids);
/Zephyr-Core-3.4.0/samples/bluetooth/direction_finding_connectionless_tx/src/
Dmain.c60 .ant_ids = ant_patterns
64 .ant_ids = NULL
/Zephyr-Core-3.4.0/samples/bluetooth/direction_finding_peripheral/src/
Dmain.c52 .ant_ids = ant_patterns, in enable_cte_response()
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_test.c289 const uint8_t *ant_ids) in ll_test_rx() argument
301 ARG_UNUSED(ant_ids); in ll_test_rx()
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/include/
Dll.h284 uint8_t num_ant_ids, uint8_t *ant_ids);
293 const uint8_t *ant_ids);
306 uint8_t *ant_ids);
/Zephyr-Core-3.4.0/samples/bluetooth/direction_finding_central/src/
Dmain.c150 .ant_ids = ant_patterns, in enable_cte_reqest()
/Zephyr-Core-3.4.0/samples/bluetooth/direction_finding_connectionless_rx/src/
Dmain.c300 .ant_ids = ant_patterns, in enable_cte_rx()

12