Home
last modified time | relevance | path

Searched refs:ext_hdr (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c272 struct pdu_adv_ext_hdr *ext_hdr; in common_validate_per_adv_pdu() local
283 ext_hdr = &com_hdr->ext_hdr; in common_validate_per_adv_pdu()
284 dptr = ext_hdr->data; in common_validate_per_adv_pdu()
287 zassert_false(ext_hdr->adv_addr, in common_validate_per_adv_pdu()
289 zassert_false(ext_hdr->tgt_addr, in common_validate_per_adv_pdu()
293 ext_hdr->cte_info, in common_validate_per_adv_pdu()
298 ext_hdr->cte_info, in common_validate_per_adv_pdu()
303 ext_hdr->adi, in common_validate_per_adv_pdu()
308 ext_hdr->adi, in common_validate_per_adv_pdu()
313 ext_hdr->aux_ptr, in common_validate_per_adv_pdu()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_sync.c1000 struct pdu_adv_ext_hdr *ext_hdr; in ull_adv_sync_pdu_init() local
1019 ext_hdr = &com_hdr->ext_hdr; in ull_adv_sync_pdu_init()
1020 *(uint8_t *)ext_hdr = ext_hdr_flags; in ull_adv_sync_pdu_init()
1021 dptr = ext_hdr->data; in ull_adv_sync_pdu_init()
1158 if (fields->cte_info && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.cte_info == 0U)) {
1161 if (fields->adi && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.adi == 0U)) {
1164 if (fields->aux_ptr && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.aux_ptr == 0U)) {
1167 if (fields->tx_pwr && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.tx_pwr == 0U)) {
1203 memcpy(&hdr->ext_hdr, fields, sizeof(struct pdu_adv_ext_hdr));
1207 dptr = hdr->ext_hdr.data;
[all …]
Dull_adv_aux.c490 hdr = com_hdr->ext_hdr;
494 dptr = com_hdr->ext_hdr.data;
1136 hdr = com_hdr->ext_hdr; in ll_adv_aux_sr_data_set()
1140 dptr = com_hdr->ext_hdr.data; in ll_adv_aux_sr_data_set()
1310 (void)memcpy(&sr_pdu->adv_ext_ind.ext_hdr.data[ADVA_OFFSET], in ll_adv_aux_sr_data_set()
1311 &sec_pdu_prev->adv_ext_ind.ext_hdr.data[ADVA_OFFSET], in ll_adv_aux_sr_data_set()
2037 pri_com_hdr->ext_hdr = pri_hdr; in ull_adv_aux_hdr_set_clear()
2044 sec_com_hdr->ext_hdr = sec_hdr; in ull_adv_aux_hdr_set_clear()
2096 hdr_prev = com_hdr_prev->ext_hdr; in ull_adv_aux_pdu_set_clear()
2100 dptr_prev = com_hdr_prev->ext_hdr.data; in ull_adv_aux_pdu_set_clear()
[all …]
Dull_adv_internal.h174 return pdu->adv_ext_ind.ext_hdr.adi; in ull_adv_sync_pdu_had_adi()
Dpdu.h451 struct pdu_adv_ext_hdr ext_hdr; member
Dull_sync.c1903 hdr = &com_hdr->ext_hdr;
Dull_llcp.c1111 adva = adv_pdu->adv_ext_ind.ext_hdr.data; in ull_cp_periodic_sync()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df.c92 const struct pdu_adv_ext_hdr *ext_hdr; in lll_df_cte_tx_enable() local
94 ext_hdr = &pdu->adv_ext_ind.ext_hdr; in lll_df_cte_tx_enable()
102 if (ext_hdr->cte_info) { in lll_df_cte_tx_enable()
Dlll_adv_aux.c234 memcpy(&scan_pdu->adv_ext_ind.ext_hdr.data[ADVA_OFFSET], in prepare_cb()
235 &sec_pdu->adv_ext_ind.ext_hdr.data[ADVA_OFFSET], in prepare_cb()
264 sec_pdu->adv_ext_ind.ext_hdr.aux_ptr) { in prepare_cb()
290 sec_pdu->adv_ext_ind.ext_hdr.sync_info) { in prepare_cb()
478 if (pdu->adv_ext_ind.ext_hdr_len && pdu->adv_ext_ind.ext_hdr.aux_ptr) { in isr_tx_chain()
541 chain_pdu->adv_ext_ind.ext_hdr.aux_ptr) { in chain_pdu_aux_ptr_chan_idx_set()
764 hdr = &pdu_aux->adv_ext_ind.ext_hdr; in isr_rx_pdu()
766 addr = &pdu_aux->adv_ext_ind.ext_hdr.data[ADVA_OFFSET]; in isr_rx_pdu()
770 tgt_addr = &pdu_aux->adv_ext_ind.ext_hdr.data[TGTA_OFFSET]; in isr_rx_pdu()
788 sr_pdu->adv_ext_ind.ext_hdr.aux_ptr) { in isr_rx_pdu()
[all …]
Dlll_scan_aux.c395 const struct pdu_adv_ext_hdr *ext_hdr; in lll_scan_aux_addr_match_get() local
397 ext_hdr = &pdu->adv_ext_ind.ext_hdr; in lll_scan_aux_addr_match_get()
398 if (unlikely(!ext_hdr->adv_addr)) { in lll_scan_aux_addr_match_get()
406 const uint8_t *adva = &ext_hdr->data[ADVA_OFFSET]; in lll_scan_aux_addr_match_get()
422 const uint8_t *adva = &ext_hdr->data[ADVA_OFFSET]; in lll_scan_aux_addr_match_get()
1023 pdu->adv_ext_ind.ext_hdr.data,
1174 &pdu->adv_ext_ind.ext_hdr.data[ADVA_OFFSET],
1600 &pdu_rx->adv_ext_ind.ext_hdr.data[ADVA_OFFSET],
1653 if (unlikely(pdu_rx->adv_ext_ind.adv_mode || !pdu_rx->adv_ext_ind.ext_hdr.adv_addr ||
1654 !pdu_rx->adv_ext_ind.ext_hdr.tgt_addr)) {
[all …]
Dlll_adv_sync.c188 if (pdu->adv_ext_ind.ext_hdr_len && pdu->adv_ext_ind.ext_hdr.aux_ptr) {
392 if (pdu->adv_ext_ind.ext_hdr_len && pdu->adv_ext_ind.ext_hdr.aux_ptr) {
499 chain_pdu->adv_ext_ind.ext_hdr.aux_ptr) {
Dlll_scan.c199 if (pri && !pdu->adv_ext_ind.ext_hdr.adv_addr) { in lll_scan_ext_tgta_check()
209 is_directed = pdu->adv_ext_ind.ext_hdr.tgt_addr; in lll_scan_ext_tgta_check()
218 adva = &pdu->adv_ext_ind.ext_hdr.data[ADVA_OFFSET]; in lll_scan_ext_tgta_check()
219 tgta = &pdu->adv_ext_ind.ext_hdr.data[TGTA_OFFSET]; in lll_scan_ext_tgta_check()