1 /* 2 * Copyright (c) 2021 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 enum test_pdu_ext_adv_type { 8 TEST_PDU_EXT_ADV_SYNC_IND, 9 TEST_PDU_EXT_ADV_CHAIN_IND, 10 }; 11 12 struct ll_adv_set *common_create_adv_set(uint8_t hci_handle); 13 void common_release_adv_set(struct ll_adv_set *adv_set); 14 void common_create_per_adv_chain(struct ll_adv_set *adv_set, uint8_t pdu_count); 15 void common_validate_per_adv_pdu(struct pdu_adv *pdu, enum test_pdu_ext_adv_type type, 16 uint16_t exp_ext_hrd_flags); 17 void common_release_per_adv_chain(struct ll_adv_set *adv_set); 18 void common_prepare_df_cfg(struct ll_adv_set *adv, uint8_t cte_count); 19 void common_validate_per_adv_chain(struct ll_adv_set *adv, uint8_t pdu_count); 20 void common_validate_chain_with_cte(struct ll_adv_set *adv, uint8_t cte_count, 21 uint8_t ad_data_pdu_count); 22 void common_teardown(struct ll_adv_set *adv); 23