Home
last modified time | relevance | path

Searched refs:pdu_adv (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_pdu.h11 #define PDU_ADV_NEXT_PTR(p) *(struct pdu_adv **)((uint8_t *)(p) + \
28 struct pdu_adv *lll_adv_pdu_alloc(struct lll_adv_pdu *pdu, uint8_t *idx);
29 struct pdu_adv *lll_adv_pdu_alloc_pdu_adv(void);
31 static inline struct pdu_adv *lll_adv_data_alloc(struct lll_adv *lll, in lll_adv_data_alloc()
42 static inline struct pdu_adv *lll_adv_data_peek(struct lll_adv *lll) in lll_adv_data_peek()
47 static inline struct pdu_adv *lll_adv_data_curr_get(struct lll_adv *lll) in lll_adv_data_curr_get()
52 static inline struct pdu_adv *lll_adv_scan_rsp_alloc(struct lll_adv *lll, in lll_adv_scan_rsp_alloc()
63 static inline struct pdu_adv *lll_adv_scan_rsp_peek(struct lll_adv *lll) in lll_adv_scan_rsp_peek()
68 static inline struct pdu_adv *
84 static inline struct pdu_adv *
[all …]
Dlll_adv_internal.h7 struct pdu_adv *lll_adv_pdu_latest_get(struct lll_adv_pdu *pdu,
11 struct pdu_adv *lll_adv_pdu_and_extra_data_latest_get(struct lll_adv_pdu *pdu,
17 static inline struct pdu_adv *lll_adv_data_latest_get(struct lll_adv *lll, in lll_adv_data_latest_get()
23 static inline struct pdu_adv *lll_adv_scan_rsp_latest_get(struct lll_adv *lll, in lll_adv_scan_rsp_latest_get()
29 static inline struct pdu_adv *lll_adv_scan_rsp_curr_get(struct lll_adv *lll) in lll_adv_scan_rsp_curr_get()
35 static inline struct pdu_adv *
42 static inline struct pdu_adv *
54 static inline struct pdu_adv *
68 bool lll_adv_scan_req_check(struct lll_adv *lll, struct pdu_adv *sr,
73 int lll_adv_scan_req_report(struct lll_adv *lll, struct pdu_adv *pdu_adv_rx,
[all …]
Dlll_adv.c69 static struct pdu_adv *chan_prepare(struct lll_adv *lll);
76 struct pdu_adv *sr);
81 struct pdu_adv *ci, uint8_t rl_idx);
83 struct pdu_adv *ci);
258 struct pdu_adv *p; in lll_adv_data_init()
318 struct pdu_adv *lll_adv_pdu_alloc(struct lll_adv_pdu *pdu, uint8_t *idx) in lll_adv_pdu_alloc()
375 struct pdu_adv *lll_adv_pdu_alloc_pdu_adv(void) in lll_adv_pdu_alloc_pdu_adv()
377 struct pdu_adv *p; in lll_adv_pdu_alloc_pdu_adv()
414 void lll_adv_pdu_release(struct pdu_adv *pdu) in lll_adv_pdu_release()
419 void lll_adv_pdu_linked_release_all(struct pdu_adv *pdu_first) in lll_adv_pdu_linked_release_all()
[all …]
Dlll_scan_internal.h11 struct pdu_adv *pdu, uint8_t rl_idx);
12 void lll_scan_prepare_connect_req(struct lll_scan *lll, struct pdu_adv *pdu_tx,
16 uint8_t lll_scan_aux_setup(struct pdu_adv *pdu, uint8_t pdu_phy,
Dlll_adv_aux.c56 static struct pdu_adv *init_connect_rsp_pdu(struct pdu_adv *pdu_ci);
108 struct pdu_adv *pri_pdu, *sec_pdu; in prepare_cb()
201 struct pdu_adv *scan_pdu; in prepare_cb()
429 struct pdu_adv *pdu_adv; in isr_rx_pdu() local
430 struct pdu_adv *pdu_aux; in isr_rx_pdu()
431 struct pdu_adv *pdu_rx; in isr_rx_pdu()
453 pdu_adv = lll_adv_data_curr_get(lll); in isr_rx_pdu()
524 struct pdu_adv *pdu_tx; in isr_rx_pdu()
594 static struct pdu_adv *init_connect_rsp_pdu(struct pdu_adv *pdu_ci) in init_connect_rsp_pdu()
598 struct pdu_adv *pdu_cr; in init_connect_rsp_pdu()
Dlll_adv_sync.c58 static void pdu_b2b_update(struct lll_adv_sync *lll, struct pdu_adv *pdu, uint32_t cte_len_us);
59 static void pdu_b2b_aux_ptr_update(struct pdu_adv *pdu, uint8_t phy, uint8_t flags,
124 struct pdu_adv *pdu; in prepare_cb()
323 struct pdu_adv *pdu; in isr_tx()
393 static void pdu_b2b_update(struct lll_adv_sync *lll, struct pdu_adv *pdu, uint32_t cte_len_us) in pdu_b2b_update()
403 static void pdu_b2b_aux_ptr_update(struct pdu_adv *pdu, uint8_t phy, uint8_t flags, in pdu_b2b_aux_ptr_update()
Dlll_scan.c71 static inline int isr_rx_pdu(struct lll_scan *lll, struct pdu_adv *pdu_adv_rx,
79 struct pdu_adv *pdu, uint8_t rl_idx);
88 static inline bool isr_scan_rsp_adva_matches(struct pdu_adv *srsp);
169 struct pdu_adv *pdu, uint8_t rl_idx) in lll_scan_ext_tgta_check()
209 void lll_scan_prepare_connect_req(struct lll_scan *lll, struct pdu_adv *pdu_tx, in lll_scan_prepare_connect_req()
616 struct pdu_adv *pdu;
1016 static inline int isr_rx_pdu(struct lll_scan *lll, struct pdu_adv *pdu_adv_rx,
1036 struct pdu_adv *pdu_tx;
1151 memcpy(rx->pdu, pdu_tx, (offsetof(struct pdu_adv, connect_ind) +
1192 struct pdu_adv *pdu_tx;
[all …]
Dlll_scan_aux.c71 struct pdu_adv *pdu_tx,
72 struct pdu_adv *pdu_rx, uint8_t rl_idx);
114 uint8_t lll_scan_aux_setup(struct pdu_adv *pdu, uint8_t pdu_phy, in lll_scan_aux_setup()
738 struct pdu_adv *pdu;
760 struct pdu_adv *pdu_tx;
904 (offsetof(struct pdu_adv, connect_ind) +
957 struct pdu_adv *pdu_tx;
1248 struct pdu_adv *pdu_rx;
1296 struct pdu_adv *pdu_tx;
1353 struct pdu_adv *pdu;
[all …]
Dlll_df_internal.h11 void lll_df_cte_tx_enable(struct lll_adv_sync *lll_sync, const struct pdu_adv *pdu,
Dlll_df.c78 void lll_df_cte_tx_enable(struct lll_adv_sync *lll_sync, const struct pdu_adv *pdu, in lll_df_cte_tx_enable()
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_adv_internal.h7 struct pdu_adv *lll_adv_pdu_latest_get(struct lll_adv_pdu *pdu,
10 static inline struct pdu_adv *lll_adv_data_latest_get(struct lll_adv *lll, in lll_adv_data_latest_get()
16 static inline struct pdu_adv *lll_adv_scan_rsp_latest_get(struct lll_adv *lll, in lll_adv_scan_rsp_latest_get()
22 static inline struct pdu_adv *lll_adv_data_curr_get(struct lll_adv *lll) in lll_adv_data_curr_get()
27 static inline struct pdu_adv *lll_adv_scan_rsp_curr_get(struct lll_adv *lll) in lll_adv_scan_rsp_curr_get()
Dlll_adv.c62 static inline bool isr_rx_sr_check(struct lll_adv *lll, struct pdu_adv *adv,
63 struct pdu_adv *sr, uint8_t devmatch_ok,
65 static inline bool isr_rx_sr_adva_check(struct pdu_adv *adv,
66 struct pdu_adv *sr);
68 static inline int isr_rx_sr_report(struct pdu_adv *pdu_adv_rx,
71 static inline bool isr_rx_ci_check(struct lll_adv *lll, struct pdu_adv *adv,
72 struct pdu_adv *ci, uint8_t devmatch_ok,
75 struct pdu_adv *adv, struct pdu_adv *ci,
77 static inline bool isr_rx_ci_adva_check(struct pdu_adv *adv,
78 struct pdu_adv *ci);
[all …]
Dlll_adv_pdu.h16 struct pdu_adv *lll_adv_pdu_alloc(struct lll_adv_pdu *pdu, uint8_t *idx);
18 static inline struct pdu_adv *lll_adv_data_alloc(struct lll_adv *lll, in lll_adv_data_alloc()
29 static inline struct pdu_adv *lll_adv_data_peek(struct lll_adv *lll) in lll_adv_data_peek()
34 static inline struct pdu_adv *lll_adv_scan_rsp_alloc(struct lll_adv *lll, in lll_adv_scan_rsp_alloc()
45 static inline struct pdu_adv *lll_adv_scan_rsp_peek(struct lll_adv *lll) in lll_adv_scan_rsp_peek()
Dlll_scan.c65 struct pdu_adv *pdu, uint8_t rl_idx);
67 struct pdu_adv *pdu, uint8_t rl_idx);
70 struct pdu_adv *pdu, uint8_t rl_idx,
73 struct pdu_adv *pdu,
75 static inline bool isr_scan_rsp_adva_matches(struct pdu_adv *srsp);
667 struct pdu_adv *pdu_adv_rx;
683 struct pdu_adv *pdu_tx;
840 memcpy(rx->pdu, pdu_tx, (offsetof(struct pdu_adv, connect_ind) +
881 struct pdu_adv *pdu_tx;
1002 struct pdu_adv *pdu, uint8_t rl_idx)
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/
Dull_adv_internal.h45 struct pdu_adv *pdu);
48 uint8_t ull_adv_time_update(struct ll_adv_set *adv, struct pdu_adv *pdu,
49 struct pdu_adv *pdu_scan);
127 void ull_adv_sync_pdu_init(struct pdu_adv *pdu, uint8_t ext_hdr_flags);
130 uint8_t ull_adv_sync_pdu_cte_info_set(struct pdu_adv *pdu, const struct pdu_cte_info *cte_info);
181 struct pdu_adv *pdu);
198 struct pdu_adv **ter_pdu_prev, struct pdu_adv **ter_pdu_new,
204 uint8_t ull_adv_sync_pdu_set_clear(struct lll_adv_sync *lll_sync, struct pdu_adv *ter_pdu_prev,
205 struct pdu_adv *ter_pdu, uint16_t hdr_add_fields,
Dull_peripheral.c71 struct pdu_adv *pdu_adv; local
89 pdu_adv = (void *)((struct node_rx_pdu *)rx)->pdu;
91 peer_addr_type = pdu_adv->tx_addr;
92 memcpy(peer_addr, pdu_adv->connect_ind.init_addr, BDADDR_SIZE);
116 const uint8_t own_id_addr_type = pdu_adv->rx_addr;
136 memcpy(&lll->crc_init[0], &pdu_adv->connect_ind.crc_init[0], 3);
137 memcpy(&lll->access_addr[0], &pdu_adv->connect_ind.access_addr[0], 4);
138 memcpy(&lll->data_chan_map[0], &pdu_adv->connect_ind.chan_map[0],
142 lll->data_chan_hop = pdu_adv->connect_ind.hop;
143 lll->interval = sys_le16_to_cpu(pdu_adv->connect_ind.interval);
[all …]
Dull_adv_sync.c55 struct pdu_adv *pdu);
58 static inline struct pdu_adv_sync_info *sync_info_get(struct pdu_adv *pdu);
70 void ull_adv_sync_pdu_init(struct pdu_adv *pdu, uint8_t ext_hdr_flags) in ull_adv_sync_pdu_init()
115 static uint8_t adv_sync_pdu_init_from_prev_pdu(struct pdu_adv *pdu, in adv_sync_pdu_init_from_prev_pdu()
116 struct pdu_adv *pdu_prev, in adv_sync_pdu_init_from_prev_pdu()
246 uint8_t adv_sync_pdu_ad_data_set(struct pdu_adv *pdu, const uint8_t *data, uint8_t len) in adv_sync_pdu_ad_data_set()
270 uint8_t ull_adv_sync_pdu_cte_info_set(struct pdu_adv *pdu, const struct pdu_cte_info *cte_info) in ull_adv_sync_pdu_cte_info_set()
291 static struct pdu_adv *adv_sync_pdu_duplicate_chain(struct pdu_adv *pdu) in adv_sync_pdu_duplicate_chain()
293 struct pdu_adv *pdu_dup = NULL; in adv_sync_pdu_duplicate_chain()
297 struct pdu_adv *pdu_new; in adv_sync_pdu_duplicate_chain()
[all …]
Dull_df.c89 uint8_t *ter_idx, struct pdu_adv **first_pdu);
109 struct pdu_adv **first_pdu);
288 struct pdu_adv *pdu; in ll_df_set_cl_cte_tx_enable()
609 static uint8_t per_adv_chain_cte_info_set(struct lll_adv_sync *lll_sync, struct pdu_adv *pdu_prev, in per_adv_chain_cte_info_set()
610 struct pdu_adv *pdu, uint8_t cte_count, in per_adv_chain_cte_info_set()
614 struct pdu_adv *pdu_next; in per_adv_chain_cte_info_set()
711 struct pdu_adv **first_pdu) in cte_info_set()
713 struct pdu_adv *pdu_prev, *pdu; in cte_info_set()
765 static bool pdu_ext_adv_is_empty_without_cte(const struct pdu_adv *pdu) in pdu_ext_adv_is_empty_without_cte()
813 struct pdu_adv **pdu_prev, struct pdu_adv **pdu) in rem_cte_info_from_per_adv_chain()
[all …]
Dull_adv.c65 static uint16_t adv_time_get(struct pdu_adv *pdu, struct pdu_adv *pdu_scan,
99 struct pdu_adv *pdu,
100 struct pdu_adv *pdu_scan);
101 static const uint8_t *adva_update(struct ll_adv_set *adv, struct pdu_adv *pdu);
102 static void tgta_update(struct ll_adv_set *adv, struct pdu_adv *pdu);
104 static void init_pdu(struct pdu_adv *pdu, uint8_t pdu_type);
233 struct pdu_adv *pdu;
740 struct pdu_adv *pdu_scan;
741 struct pdu_adv *pdu_adv; local
785 pdu_adv = lll_adv_data_peek(lll);
[all …]
Dull_adv_aux.c52 static uint16_t aux_time_get(struct ll_adv_aux_set *aux, struct pdu_adv *pdu,
53 struct pdu_adv *pdu_scan);
54 static uint8_t aux_time_update(struct ll_adv_aux_set *aux, struct pdu_adv *pdu,
55 struct pdu_adv *pdu_scan);
133 struct pdu_adv *pdu; in ll_adv_aux_ad_data_set()
186 struct pdu_adv *pri_pdu_prev; in ll_adv_aux_sr_data_set()
189 struct pdu_adv *sr_prev; in ll_adv_aux_sr_data_set()
190 struct pdu_adv *aux_pdu; in ll_adv_aux_sr_data_set()
192 struct pdu_adv *sr_pdu; in ll_adv_aux_sr_data_set()
492 struct pdu_adv *pri_pdu, *pri_pdu_prev; in ull_adv_aux_hdr_set_clear()
[all …]
Dlll_adv_aux.h13 ull_adv_aux_lll_offset_fill(struct pdu_adv *pdu,
Dlll_adv.h36 struct pdu_adv *last_pdu;
/Zephyr-Core-2.7.6/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c45 static void common_pdu_adv_data_set(struct pdu_adv *pdu, const uint8_t *data, uint8_t len);
136 struct pdu_adv *pdu_prev, *pdu, *pdu_new; in common_create_per_adv_chain()
197 struct pdu_adv *pdu; in common_release_per_adv_chain()
226 void common_validate_per_adv_pdu(struct pdu_adv *pdu, enum test_pdu_ext_adv_type type, in common_validate_per_adv_pdu()
354 struct pdu_adv *pdu; in common_validate_per_adv_chain()
407 struct pdu_adv *pdu; in common_validate_chain_with_cte()
472 static void common_pdu_adv_data_set(struct pdu_adv *pdu, const uint8_t *data, uint8_t len) in common_pdu_adv_data_set()
Dcommon.h15 void common_validate_per_adv_pdu(struct pdu_adv *pdu, enum test_pdu_ext_adv_type type,
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()

12