Searched refs:conn_from_pool (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/ |
D | main.c | 52 static struct ll_conn *conn_from_pool; variable 58 conn_from_pool = ll_conn_acquire(); in hci_setup() 59 zassert_not_null(conn_from_pool, "Could not allocate connection memory", NULL); in hci_setup() 61 test_setup(conn_from_pool); in hci_setup() 99 conn_handle = ll_conn_handle_get(conn_from_pool); in ZTEST() 101 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST() 103 ull_cp_state_set(conn_from_pool, ULL_CP_CONNECTED); in ZTEST() 113 event_prepare(conn_from_pool); in ZTEST() 114 lt_rx(LL_FEATURE_REQ, conn_from_pool, &tx, &local_feature_req); in ZTEST() 115 lt_rx_q_is_empty(conn_from_pool); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_feature_exchange/src/ |
D | main_hci.c | 52 static struct ll_conn *conn_from_pool; variable 58 conn_from_pool = ll_conn_acquire(); in hci_setup() 59 zassert_not_null(conn_from_pool, "Could not allocate connection memory", NULL); in hci_setup() 61 test_setup(conn_from_pool); in hci_setup() 105 conn_handle = ll_conn_handle_get(conn_from_pool); in ZTEST() 110 test_set_role(conn_from_pool, BT_HCI_ROLE_CENTRAL); in ZTEST() 112 ull_cp_state_set(conn_from_pool, ULL_CP_CONNECTED); in ZTEST() 119 event_prepare(conn_from_pool); in ZTEST() 122 lt_rx(LL_FEATURE_REQ, conn_from_pool, &tx, &local_feature_req); in ZTEST() 123 lt_rx_q_is_empty(conn_from_pool); in ZTEST() [all …]
|