Home
last modified time | relevance | path

Searched refs:BT_HCI_ROLE_CENTRAL (Results 1 – 25 of 38) sorted by relevance

12

/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_unsupported/src/
Dmain.c194 test_set_role(&test_conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
240 test_set_role(&test_conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
265 test_set_role(&test_conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
282 test_set_role(&test_conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
301 test_set_role(&test_conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
320 test_set_role(&test_conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c101 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
172 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
226 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
257 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
306 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
351 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
386 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
456 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
482 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
507 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_terminate/src/
Dmain.c91 test_terminate_rem(BT_HCI_ROLE_CENTRAL); in ZTEST()
143 test_terminate_loc(BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c248 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
399 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
549 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
744 test_cte_req_ll_unknown_rsp_local(BT_HCI_ROLE_CENTRAL); in ZTEST()
1126 if (role == BT_HCI_ROLE_CENTRAL) { in test_local_cte_req_wait_for_phy_update_complete_and_disable()
1156 test_local_cte_req_wait_for_phy_update_complete_and_disable(BT_HCI_ROLE_CENTRAL); in ZTEST()
1193 if (role == BT_HCI_ROLE_CENTRAL) { in test_local_cte_req_wait_for_phy_update_complete()
1210 test_local_cte_req_wait_for_phy_update_complete(BT_HCI_ROLE_CENTRAL); in ZTEST()
1251 if (role == BT_HCI_ROLE_CENTRAL) { in test_local_phy_update_wait_for_cte_req_complete()
1262 test_local_phy_update_wait_for_cte_req_complete(BT_HCI_ROLE_CENTRAL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_min_used_chans/src/
Dmain.c118 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
137 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_version/src/
Dmain.c91 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
163 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
321 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
390 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
465 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_cis_terminate/src/
Dmain.c80 test_cis_terminate_rem(BT_HCI_ROLE_CENTRAL); in ZTEST()
153 test_cis_terminate_loc(BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_feature_exchange/src/
Dmain.c108 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
207 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
241 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
277 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
325 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
399 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
Dmain_hci.c110 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
Dbap_stream.c411 if (role != BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_config()
463 if (role != BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_qos()
492 if (role != BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_enable()
524 if (role != BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_stop()
584 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_reconfig()
625 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_start()
675 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_metadata()
717 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_disable()
765 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_release()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_le_ping/src/
Dmain.c91 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
182 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
330 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_data_length_update/src/
Dmain.c92 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
157 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
233 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
336 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
412 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
539 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_sca_update/src/
Dmain.c92 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
202 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
458 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/
Dull_conn_iso_internal.h13 (cig->lll.role == BT_HCI_ROLE_CENTRAL))
Dull_llcp_phy.c256 } else if (lll->role == BT_HCI_ROLE_CENTRAL) { in pu_apply_phy_update()
294 (ctx->data.pu.c_to_p_phy && (lll->role == BT_HCI_ROLE_CENTRAL))) { in pu_update_eff_times()
298 if ((ctx->data.pu.p_to_c_phy && (lll->role == BT_HCI_ROLE_CENTRAL)) || in pu_update_eff_times()
351 if (conn->lll.role == BT_HCI_ROLE_CENTRAL && (!ctx->data.pu.rx || !ctx->data.pu.tx)) { in pu_combine_phys()
385 (conn->lll.role == BT_HCI_ROLE_CENTRAL))) { in lp_pu_tx()
636 case BT_HCI_ROLE_CENTRAL: in lp_pu_st_wait_tx_ack_phy_req()
682 LL_ASSERT(conn->lll.role == BT_HCI_ROLE_CENTRAL); in lp_pu_st_wait_tx_ack_phy_update_ind()
1070 case BT_HCI_ROLE_CENTRAL: in rp_pu_st_wait_rx_phy_req()
1124 LL_ASSERT(conn->lll.role == BT_HCI_ROLE_CENTRAL); in rp_pu_st_wait_tx_ack_phy()
Dull_llcp.c808 if (conn->lll.role != BT_HCI_ROLE_CENTRAL) { in ull_cp_encryption_start()
834 if (conn->lll.role != BT_HCI_ROLE_CENTRAL) { in ull_cp_encryption_pause()
995 if (conn->lll.role != BT_HCI_ROLE_CENTRAL) { in ull_cp_chan_map_update()
1016 if (conn->lll.role == BT_HCI_ROLE_CENTRAL) { in ull_cp_chan_map_update_pending()
1108 } else if (conn->lll.role == BT_HCI_ROLE_CENTRAL) { in ull_cp_conn_update()
Dull_llcp_remote.c575 const bool central = !!(conn->lll.role == BT_HCI_ROLE_CENTRAL); in rr_st_idle()
800 ACCEPT_ROLE_CENTRAL = (1 << BT_HCI_ROLE_CENTRAL),
Dull_llcp_conn_upd.c382 case BT_HCI_ROLE_CENTRAL: in lp_cu_send_conn_param_req()
1075 if (conn->lll.role == BT_HCI_ROLE_CENTRAL) { in rp_cu_state_wait_conn_param_req_reply_continue()
1194 case BT_HCI_ROLE_CENTRAL: in rp_cu_st_wait_rx_conn_update_ind()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_chmu/src/
Dmain.c76 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
155 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_conn_update/src/
Dmain.c252 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
395 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
624 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
693 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
766 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
845 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
970 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1087 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1207 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1354 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c139 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
266 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
317 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
376 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
798 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
965 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1267 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1347 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_encrypt/src/
Dmain.c216 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
374 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
555 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
652 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
760 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
866 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
974 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1859 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c171 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
339 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
642 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.4.0/subsys/bluetooth/host/
Dsmp.c1598 conn->role == BT_HCI_ROLE_CENTRAL) { in smp_reset()
2152 if (smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in legacy_get_pair_method()
2310 conn->role == BT_HCI_ROLE_CENTRAL) { in legacy_pairing_random()
2369 smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in legacy_pairing_confirm()
2400 smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in legacy_user_tk_entry()
2471 conn->role == BT_HCI_ROLE_CENTRAL && !smp->remote_dist) { in smp_central_ident()
3213 smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in smp_pairing_confirm()
3425 if (smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in smp_dhkey_ready()
3542 smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in le_sc_oob_config_set()
3583 if (smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in smp_pairing_random()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_api/src/
Dmain.c106 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
162 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()

12