Home
last modified time | relevance | path

Searched refs:pdu_new (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-2.7.6/tests/bluetooth/df/connectionless_cte_chains/src/
Dtest_add_cte_to_chain.c123 struct pdu_adv *pdu_prev, *pdu_new; in test_add_cte_to_not_all_pdus_in_chain_enqueued_to_lll() local
137 pdu_new = lll_adv_sync_data_latest_get(adv->lll.sync, NULL, &upd); in test_add_cte_to_not_all_pdus_in_chain_enqueued_to_lll()
138 zassert_not_equal(pdu_new, NULL, in test_add_cte_to_not_all_pdus_in_chain_enqueued_to_lll()
142 zassert_equal(pdu_prev, pdu_new, in test_add_cte_to_not_all_pdus_in_chain_enqueued_to_lll()
Dcommon.c136 struct pdu_adv *pdu_prev, *pdu, *pdu_new; in common_create_per_adv_chain() local
170 pdu_new = lll_adv_pdu_alloc_pdu_adv(); in common_create_per_adv_chain()
171 zassert_not_null(pdu_new, "Cannot allocate new PDU."); in common_create_per_adv_chain()
174 ull_adv_sync_pdu_init(pdu_new, ULL_ADV_PDU_HDR_FIELD_AUX_PTR); in common_create_per_adv_chain()
176 ull_adv_sync_pdu_init(pdu_new, 0); in common_create_per_adv_chain()
179 common_pdu_adv_data_set(pdu_new, pdu_buff, strlen(pdu_buff)); in common_create_per_adv_chain()
181 lll_adv_pdu_linked_append(pdu_new, pdu); in common_create_per_adv_chain()
182 pdu = pdu_new; in common_create_per_adv_chain()
Dtest_remove_cte_from_chain.c161 struct pdu_adv *pdu_prev, *pdu_new; in remove_cte_from_chain_after_enqueue_to_lll() local
186 pdu_new = lll_adv_sync_data_latest_get(adv->lll.sync, NULL, &upd); in remove_cte_from_chain_after_enqueue_to_lll()
187 zassert_not_equal(pdu_new, NULL, in remove_cte_from_chain_after_enqueue_to_lll()
191 zassert_equal(pdu_prev, pdu_new, in remove_cte_from_chain_after_enqueue_to_lll()
223 pdu_new = lll_adv_sync_data_latest_get(adv->lll.sync, NULL, &upd); in remove_cte_from_chain_after_enqueue_to_lll()
224 zassert_not_equal(pdu_new, NULL, in remove_cte_from_chain_after_enqueue_to_lll()
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/
Dull_adv_sync.c297 struct pdu_adv *pdu_new; in adv_sync_pdu_duplicate_chain() local
299 pdu_new = lll_adv_pdu_alloc_pdu_adv(); in adv_sync_pdu_duplicate_chain()
304 err = adv_sync_pdu_init_from_prev_pdu(pdu_new, pdu, 0, 0); in adv_sync_pdu_duplicate_chain()
308 lll_adv_pdu_linked_append_end(pdu_new, pdu_dup); in adv_sync_pdu_duplicate_chain()
310 pdu_dup = pdu_new; in adv_sync_pdu_duplicate_chain()
945 struct pdu_adv *pdu_prev, *pdu_new; local
967 pdu_new = lll_adv_sync_data_alloc(lll_sync, &ed_new,
969 if (!pdu_new) {
977 pdu_new = lll_adv_sync_data_alloc(lll_sync, NULL, ter_idx);
978 if (!pdu_new) {
[all …]
Dull_df.c815 struct pdu_adv *pdu_new, *pdu_chained; in rem_cte_info_from_per_adv_chain() local
865 pdu_new = lll_adv_pdu_alloc_pdu_adv(); in rem_cte_info_from_per_adv_chain()
866 lll_adv_pdu_linked_append(pdu_new, *pdu); in rem_cte_info_from_per_adv_chain()
867 *pdu = pdu_new; in rem_cte_info_from_per_adv_chain()