Home
last modified time | relevance | path

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

12

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_pdu.h14 #define PDU_ADV_NEXT_PTR(p) *(struct pdu_adv **)((uint8_t *)(p) + \
32 struct pdu_adv *lll_adv_pdu_alloc(struct lll_adv_pdu *pdu, uint8_t *idx);
33 struct pdu_adv *lll_adv_pdu_alloc_pdu_adv(void);
35 static inline struct pdu_adv *lll_adv_data_alloc(struct lll_adv *lll, in lll_adv_data_alloc()
46 static inline struct pdu_adv *lll_adv_data_peek(struct lll_adv *lll) in lll_adv_data_peek()
51 static inline struct pdu_adv *lll_adv_data_curr_get(struct lll_adv *lll) in lll_adv_data_curr_get()
56 static inline struct pdu_adv *lll_adv_scan_rsp_alloc(struct lll_adv *lll, in lll_adv_scan_rsp_alloc()
67 static inline struct pdu_adv *lll_adv_scan_rsp_peek(const struct lll_adv *lll) in lll_adv_scan_rsp_peek()
72 static inline struct pdu_adv *
88 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 *
56 bool lll_adv_scan_req_check(struct lll_adv *lll, struct pdu_adv *sr,
61 int lll_adv_scan_req_report(struct lll_adv *lll, struct pdu_adv *pdu_adv_rx,
65 bool lll_adv_connect_ind_check(struct lll_adv *lll, struct pdu_adv *ci,
Dlll_scan_internal.h13 const struct pdu_adv *pdu, uint8_t rl_idx,
15 void lll_scan_prepare_connect_req(struct lll_scan *lll, struct pdu_adv *pdu_tx,
20 uint8_t lll_scan_aux_setup(struct pdu_adv *pdu, uint8_t pdu_phy,
25 const struct pdu_adv *pdu,
Dlll_adv.c73 static struct pdu_adv *chan_prepare(struct lll_adv *lll);
80 struct pdu_adv *sr);
85 struct pdu_adv *ci, uint8_t rl_idx);
87 struct pdu_adv *ci);
266 struct pdu_adv *p; in lll_adv_data_init()
355 struct pdu_adv *lll_adv_pdu_alloc(struct lll_adv_pdu *pdu, uint8_t *idx) in lll_adv_pdu_alloc()
412 struct pdu_adv *lll_adv_pdu_alloc_pdu_adv(void) in lll_adv_pdu_alloc_pdu_adv()
414 struct pdu_adv *p; in lll_adv_pdu_alloc_pdu_adv()
452 void lll_adv_pdu_linked_release_all(struct pdu_adv *pdu_first) in lll_adv_pdu_linked_release_all()
454 struct pdu_adv *pdu = pdu_first; in lll_adv_pdu_linked_release_all()
[all …]
Dlll_adv_aux.c54 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr);
65 static void aux_ptr_chan_idx_set(struct lll_adv_aux *lll, struct pdu_adv *pdu);
74 static struct pdu_adv *init_connect_rsp_pdu(struct pdu_adv *pdu_ci);
126 struct pdu_adv *sec_pdu; in prepare_cb()
161 struct pdu_adv *pri_pdu; in prepare_cb()
218 struct pdu_adv *scan_pdu; in prepare_cb()
352 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr) in aux_ptr_get()
449 struct pdu_adv *pdu; in isr_tx_chain()
529 struct pdu_adv *chain_pdu; in chain_pdu_aux_ptr_chan_idx_set()
546 static void aux_ptr_chan_idx_set(struct lll_adv_aux *lll, struct pdu_adv *pdu) in aux_ptr_chan_idx_set()
[all …]
Dlll_adv_sync.c54 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr);
56 static void aux_ptr_chan_idx_set(struct lll_adv_sync *lll, struct pdu_adv *pdu);
120 struct pdu_adv *pdu;
355 struct pdu_adv *pdu;
442 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr)
487 struct pdu_adv *chain_pdu;
504 static void aux_ptr_chan_idx_set(struct lll_adv_sync *lll, struct pdu_adv *pdu)
Dlll_scan_aux.c63 struct node_rx_pdu *node_rx, struct pdu_adv *pdu,
74 struct pdu_adv *pdu_tx,
75 struct pdu_adv *pdu_rx, uint8_t rl_idx);
117 uint8_t lll_scan_aux_setup(struct pdu_adv *pdu, uint8_t pdu_phy, in lll_scan_aux_setup()
389 const struct pdu_adv *pdu, in lll_scan_aux_addr_match_get()
774 struct pdu_adv *pdu; in isr_rx()
921 struct node_rx_pdu *node_rx, struct pdu_adv *pdu,
940 struct pdu_adv *pdu_tx;
1084 (offsetof(struct pdu_adv, connect_ind) +
1137 struct pdu_adv *pdu_tx;
[all …]
Dlll_scan.c74 static inline int isr_rx_pdu(struct lll_scan *lll, struct pdu_adv *pdu_adv_rx,
82 const struct pdu_adv *pdu,
93 static inline bool isr_scan_rsp_adva_matches(struct pdu_adv *srsp);
190 const struct pdu_adv *pdu, uint8_t rl_idx, in lll_scan_ext_tgta_check()
231 void lll_scan_prepare_connect_req(struct lll_scan *lll, struct pdu_adv *pdu_tx, in lll_scan_prepare_connect_req()
663 struct pdu_adv *pdu;
1111 static inline int isr_rx_pdu(struct lll_scan *lll, struct pdu_adv *pdu_adv_rx,
1131 struct pdu_adv *pdu_tx;
1246 memcpy(rx->pdu, pdu_tx, (offsetof(struct pdu_adv, connect_ind) +
1285 struct pdu_adv *pdu_tx;
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_internal.h53 struct pdu_adv *pdu);
56 uint8_t ull_adv_time_update(struct ll_adv_set *adv, struct pdu_adv *pdu,
57 struct pdu_adv *pdu_scan);
153 struct pdu_adv *pdu_prev,
154 struct pdu_adv *pdu,
160 void ull_adv_sync_pdu_init(struct pdu_adv *pdu, uint8_t ext_hdr_flags,
165 uint8_t ull_adv_sync_pdu_cte_info_set(struct pdu_adv *pdu, const struct pdu_cte_info *cte_info);
172 static inline bool ull_adv_sync_pdu_had_adi(const struct pdu_adv *pdu) in ull_adv_sync_pdu_had_adi()
223 void ull_adv_aux_chain_pdu_duplicate(struct pdu_adv *pdu_prev,
224 struct pdu_adv *pdu,
[all …]
Dlll_adv_aux.h13 ull_adv_aux_lll_offset_fill(struct pdu_adv *pdu, uint32_t ticks_offset,
16 extern void ull_adv_aux_lll_auxptr_fill(struct pdu_adv *pdu, struct lll_adv *lll_adv);
Dull_adv_sync.c71 static void ull_adv_sync_copy_pdu(const struct pdu_adv *pdu_prev,
72 struct pdu_adv *pdu);
74 static uint8_t ull_adv_sync_duplicate_chain(const struct pdu_adv *pdu_prev,
75 struct pdu_adv *pdu);
78 struct pdu_adv *ter_pdu_prev,
79 struct pdu_adv *ter_pdu,
82 struct pdu_adv *ter_pdu_prev,
83 struct pdu_adv *ter_pdu,
87 struct pdu_adv *ter_pdu_prev,
88 struct pdu_adv *ter_pdu);
[all …]
Dull_peripheral.c80 struct pdu_adv *pdu_adv; local
100 pdu_adv = (void *)rx->pdu;
102 peer_addr_type = pdu_adv->tx_addr;
103 memcpy(peer_addr, pdu_adv->connect_ind.init_addr, BDADDR_SIZE);
127 const uint8_t own_id_addr_type = pdu_adv->rx_addr;
152 memcpy(&lll->crc_init[0], &pdu_adv->connect_ind.crc_init[0], 3);
153 memcpy(&lll->access_addr[0], &pdu_adv->connect_ind.access_addr[0], 4);
154 memcpy(&lll->data_chan_map[0], &pdu_adv->connect_ind.chan_map[0],
158 lll->data_chan_hop = pdu_adv->connect_ind.hop;
159 lll->interval = sys_le16_to_cpu(pdu_adv->connect_ind.interval);
[all …]
Dull_adv.c75 static uint16_t adv_time_get(struct pdu_adv *pdu, struct pdu_adv *pdu_scan,
110 struct pdu_adv *pdu,
111 struct pdu_adv *pdu_scan);
112 static const uint8_t *adva_update(struct ll_adv_set *adv, struct pdu_adv *pdu);
113 static void tgta_update(struct ll_adv_set *adv, struct pdu_adv *pdu);
115 static void init_pdu(struct pdu_adv *pdu, uint8_t pdu_type);
247 struct pdu_adv *pdu;
828 struct pdu_adv *pdu_scan;
829 struct pdu_adv *pdu_adv; local
873 pdu_adv = lll_adv_data_peek(lll);
[all …]
Dlll_adv_sync.h13 extern void ull_adv_sync_lll_syncinfo_fill(struct pdu_adv *pdu, struct lll_adv_aux *lll_aux);
Dlll_adv_iso.h14 extern void ull_adv_iso_lll_biginfo_fill(struct pdu_adv *pdu, struct lll_adv_sync *lll_sync);
Dull_adv_aux.c56 const struct pdu_adv *pdu,
59 static uint8_t aux_time_update(struct ll_adv_aux_set *aux, struct pdu_adv *pdu,
60 struct pdu_adv *pdu_scan);
123 struct pdu_adv *pdu_prev; in ll_adv_aux_ad_data_set()
126 struct pdu_adv *pdu; in ll_adv_aux_ad_data_set()
264 struct pdu_adv *pdu_parent; in ll_adv_aux_ad_data_set()
265 struct pdu_adv *pdu_chain; in ll_adv_aux_ad_data_set()
309 struct pdu_adv *pdu_chain_prev; in ll_adv_aux_ad_data_set()
310 struct pdu_adv *pdu_chain; in ll_adv_aux_ad_data_set()
478 struct pdu_adv *pdu_chain_prev;
[all …]
Dull_df.c122 uint8_t *ter_idx, struct pdu_adv **first_pdu);
142 struct pdu_adv **first_pdu);
320 struct pdu_adv *pdu; in ll_df_set_cl_cte_tx_enable()
680 struct pdu_adv **first_pdu) in cte_info_set()
682 struct pdu_adv *pdu_prev, *pdu; in cte_info_set()
736 uint8_t *ter_idx, struct pdu_adv **first_pdu) in cte_info_clear()
739 struct pdu_adv *pdu_prev, *pdu; in cte_info_clear()
Dlll_adv.h125 struct pdu_adv *last_pdu;
165 struct pdu_adv *last_pdu;
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/include/lll/
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, uint8_t *idx) in lll_adv_data_alloc()
28 static inline struct pdu_adv *lll_adv_data_peek(struct lll_adv *lll) in lll_adv_data_peek()
33 static inline struct pdu_adv *lll_adv_data_curr_get(struct lll_adv *lll) in lll_adv_data_curr_get()
38 static inline struct pdu_adv *lll_adv_scan_rsp_alloc(struct lll_adv *lll, uint8_t *idx) in lll_adv_scan_rsp_alloc()
48 static inline struct pdu_adv *lll_adv_scan_rsp_peek(struct lll_adv *lll) in lll_adv_scan_rsp_peek()
54 static inline struct pdu_adv *lll_adv_aux_data_alloc(struct lll_adv_aux *lll, uint8_t *idx) in lll_adv_aux_data_alloc()
64 static inline struct pdu_adv *lll_adv_aux_data_peek(struct lll_adv_aux *lll) in lll_adv_aux_data_peek()
69 static inline struct pdu_adv *lll_adv_aux_data_curr_get(struct lll_adv_aux *lll) in lll_adv_aux_data_curr_get()
77 struct pdu_adv *lll_adv_pdu_and_extra_data_alloc(struct lll_adv_pdu *pdu, void **extra_data,
[all …]
/Zephyr-latest/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_pdu.h19 struct pdu_adv *lll_adv_pdu_alloc(struct lll_adv_pdu *pdu, uint8_t *idx);
21 static inline struct pdu_adv *lll_adv_data_alloc(struct lll_adv *lll, in lll_adv_data_alloc()
32 static inline struct pdu_adv *lll_adv_data_peek(struct lll_adv *lll) in lll_adv_data_peek()
37 static inline struct pdu_adv *lll_adv_scan_rsp_alloc(struct lll_adv *lll, in lll_adv_scan_rsp_alloc()
48 static inline struct pdu_adv *lll_adv_scan_rsp_peek(struct lll_adv *lll) in lll_adv_scan_rsp_peek()
Dlll_adv.c63 static inline bool isr_rx_sr_check(struct lll_adv *lll, struct pdu_adv *adv,
64 struct pdu_adv *sr, uint8_t devmatch_ok,
66 static inline bool isr_rx_sr_adva_check(struct pdu_adv *adv,
67 struct pdu_adv *sr);
69 static inline int isr_rx_sr_report(struct pdu_adv *pdu_adv_rx,
72 static inline bool isr_rx_ci_check(struct lll_adv *lll, struct pdu_adv *adv,
73 struct pdu_adv *ci, uint8_t devmatch_ok,
76 struct pdu_adv *adv, struct pdu_adv *ci,
78 static inline bool isr_rx_ci_adva_check(struct pdu_adv *adv,
79 struct pdu_adv *ci);
[all …]
Dlll_scan.c68 struct pdu_adv *pdu, uint8_t rl_idx);
70 struct pdu_adv *pdu, uint8_t rl_idx);
73 struct pdu_adv *pdu, uint8_t rl_idx,
76 struct pdu_adv *pdu,
78 static inline bool isr_scan_rsp_adva_matches(struct pdu_adv *srsp);
663 struct pdu_adv *pdu_adv_rx;
679 struct pdu_adv *pdu_tx;
836 memcpy(rx->pdu, pdu_tx, (offsetof(struct pdu_adv, connect_ind) +
876 struct pdu_adv *pdu_tx;
997 struct pdu_adv *pdu, uint8_t rl_idx)
[all …]
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c50 static void common_pdu_adv_data_set(struct pdu_adv *pdu, const uint8_t *data, uint8_t len);
143 struct pdu_adv *pdu_prev, *pdu, *pdu_new; in common_create_per_adv_chain()
239 struct pdu_adv *pdu; in common_release_per_adv_chain()
268 void common_validate_per_adv_pdu(struct pdu_adv *pdu, enum test_pdu_ext_adv_type type, in common_validate_per_adv_pdu()
389 struct pdu_adv *pdu; in common_validate_per_adv_chain()
444 struct pdu_adv *pdu; in common_validate_chain_with_cte()
511 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,

12