Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.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.7.0/subsys/bluetooth/audio/
Dbap_stream.c548 if (role != BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_config()
600 if (role != BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_qos()
627 if (role != BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_enable()
659 if (role != BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_stop()
719 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_reconfig()
762 if (conn_get_role(stream->conn) == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_connect()
794 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_start()
841 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_metadata()
883 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_disable()
931 if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && role == BT_HCI_ROLE_CENTRAL) { in bt_bap_stream_release()
Dcap_stream.c40 if (err == 0 && info.role == BT_HCI_ROLE_CENTRAL) { in stream_is_central()
/Zephyr-Core-3.7.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.7.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()
250 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
341 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
444 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
520 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
647 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.7.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.7.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()
632 case BT_HCI_ROLE_CENTRAL: in lp_pu_st_wait_tx_ack_phy_req()
678 LL_ASSERT(conn->lll.role == BT_HCI_ROLE_CENTRAL); in lp_pu_st_wait_tx_ack_phy_update_ind()
1062 case BT_HCI_ROLE_CENTRAL: in rp_pu_st_wait_rx_phy_req()
1116 LL_ASSERT(conn->lll.role == BT_HCI_ROLE_CENTRAL); in rp_pu_st_wait_tx_ack_phy()
Dull_llcp.c662 if (conn->lll.role != BT_HCI_ROLE_CENTRAL) { in ull_cp_encryption_start()
688 if (conn->lll.role != BT_HCI_ROLE_CENTRAL) { in ull_cp_encryption_pause()
849 if (conn->lll.role != BT_HCI_ROLE_CENTRAL) { in ull_cp_chan_map_update()
870 if (conn->lll.role == BT_HCI_ROLE_CENTRAL) { in ull_cp_chan_map_update_pending()
972 } else if (conn->lll.role == BT_HCI_ROLE_CENTRAL) { in ull_cp_conn_update()
/Zephyr-Core-3.7.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.7.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.7.0/tests/bluetooth/controller/ctrl_encrypt/src/
Dmain.c264 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
422 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
603 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
700 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
808 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
914 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1016 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1115 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1223 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1331 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c139 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
269 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
326 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
391 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
920 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1087 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1413 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
1493 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_cis_create/src/
Dmain.c561 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
643 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
795 test_set_role(&conn, BT_HCI_ROLE_CENTRAL); in ZTEST()
/Zephyr-Core-3.7.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.7.0/subsys/bluetooth/host/
Dsmp.c1679 conn->role == BT_HCI_ROLE_CENTRAL) { in smp_reset()
2235 if (smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in legacy_get_pair_method()
2393 conn->role == BT_HCI_ROLE_CENTRAL) { in legacy_pairing_random()
2452 smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in legacy_pairing_confirm()
2483 smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in legacy_user_tk_entry()
2554 conn->role == BT_HCI_ROLE_CENTRAL && !smp->remote_dist) { in smp_central_ident()
3307 smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in smp_pairing_confirm()
3519 if (smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in smp_dhkey_ready()
3637 smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in le_sc_oob_config_set()
3679 if (smp->chan.chan.conn->role == BT_HCI_ROLE_CENTRAL) { in smp_pairing_random()
[all …]
/Zephyr-Core-3.7.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