Home
last modified time | relevance | path

Searched defs:pdu (Results 1 – 25 of 80) sorted by relevance

1234

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_pdu.c69 void llcp_pdu_encode_ping_req(struct pdu_data *pdu) in llcp_pdu_encode_ping_req()
76 void llcp_pdu_encode_ping_rsp(struct pdu_data *pdu) in llcp_pdu_encode_ping_rsp()
87 void llcp_pdu_encode_unknown_rsp(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_encode_unknown_rsp()
96 void llcp_pdu_decode_unknown_rsp(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_decode_unknown_rsp()
101 void llcp_ntf_encode_unknown_rsp(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_ntf_encode_unknown_rsp()
132 void llcp_pdu_encode_feature_req(struct ll_conn *conn, struct pdu_data *pdu) in llcp_pdu_encode_feature_req()
150 void llcp_pdu_encode_feature_rsp(struct ll_conn *conn, struct pdu_data *pdu) in llcp_pdu_encode_feature_rsp()
170 void llcp_ntf_encode_feature_rsp(struct ll_conn *conn, struct pdu_data *pdu) in llcp_ntf_encode_feature_rsp()
196 void llcp_pdu_decode_feature_req(struct ll_conn *conn, struct pdu_data *pdu) in llcp_pdu_decode_feature_req()
209 void llcp_pdu_decode_feature_rsp(struct ll_conn *conn, struct pdu_data *pdu) in llcp_pdu_decode_feature_rsp()
[all …]
Dull_llcp.c234 struct pdu_data *pdu; in llcp_tx_alloc() local
1537 static bool pdu_is_expected(struct pdu_data *pdu, struct proc_ctx *ctx)
1542 static bool pdu_is_unknown(struct pdu_data *pdu, struct proc_ctx *ctx)
1548 static bool pdu_is_reject(struct pdu_data *pdu, struct proc_ctx *ctx)
1556 static bool pdu_is_reject_ext(struct pdu_data *pdu, struct proc_ctx *ctx)
1562 static bool pdu_is_any_reject(struct pdu_data *pdu, struct proc_ctx *ctx)
1567 static bool pdu_is_terminate(struct pdu_data *pdu)
1572 #define VALIDATE_PDU_LEN(pdu, type) (pdu->len == PDU_DATA_LLCTRL_LEN(type)) argument
1575 static bool pdu_validate_conn_update_ind(struct pdu_data *pdu)
1580 static bool pdu_validate_chan_map_ind(struct pdu_data *pdu)
[all …]
Dull_adv_sync.c135 struct pdu_adv *pdu_prev, *pdu; in ll_adv_sync_param_set() local
257 struct pdu_adv *pdu_prev, *pdu; in ll_adv_sync_ad_data_set() local
457 struct pdu_adv *pdu_prev, *pdu; in ll_adv_sync_enable() local
793 struct pdu_adv *pdu) in ull_adv_sync_evt_init()
878 struct pdu_adv *pdu) in ull_adv_sync_time_update()
939 struct pdu_adv *pdu; in ull_adv_sync_chm_complete() local
995 void ull_adv_sync_pdu_init(struct pdu_adv *pdu, uint8_t ext_hdr_flags, in ull_adv_sync_pdu_init()
1145 static void ull_adv_sync_add_to_header(struct pdu_adv *pdu,
1279 static void ull_adv_sync_remove_from_header(struct pdu_adv *pdu,
1479 static void ull_adv_sync_update_pdu_adi(struct lll_adv_sync *lll_sync, struct pdu_adv *pdu,
[all …]
Dull_llcp_common.c158 struct pdu_data *pdu; in lp_comm_tx() local
247 struct pdu_data *pdu) in lp_comm_ntf_feature_exchange()
263 struct pdu_data *pdu) in lp_comm_ntf_version_ind()
277 struct pdu_data *pdu) in lp_comm_ntf_length_change()
291 static void lp_comm_ntf_cte_req(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_comm_ntf_cte_req()
375 static void lp_comm_ntf_sca(struct node_rx_pdu *ntf, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_comm_ntf_sca()
389 struct pdu_data *pdu; in lp_comm_ntf() local
789 static void lp_comm_rx_decode(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu)
962 static void rp_comm_rx_decode(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu)
1044 struct pdu_data *pdu; local
[all …]
Dull_llcp_enc.c186 struct pdu_data *pdu; in llcp_lp_enc_tx() local
226 struct pdu_data *pdu; in lp_enc_ntf() local
261 static void lp_enc_store_m(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_enc_store_m()
359 static void lp_enc_store_s(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_enc_store_s()
370 static inline uint8_t reject_error_code(struct pdu_data *pdu) in reject_error_code()
400 struct pdu_data *pdu = (struct pdu_data *)param; in lp_enc_st_wait_rx_enc_rsp() local
444 struct pdu_data *pdu = (struct pdu_data *)param; in lp_enc_st_wait_rx_start_enc_req() local
648 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_lp_enc_rx() local
704 struct pdu_data *pdu; in llcp_rp_enc_tx() local
752 struct pdu_data *pdu; in rp_enc_ntf_ltk() local
[all …]
Dlll_iso_tx.h16 uint8_t pdu[]; member
Dull_llcp_cc.c58 struct node_rx_conn_iso_estab *pdu; in cc_ntf_established() local
140 struct pdu_data *pdu; in llcp_rp_cc_tx_rsp() local
196 struct pdu_data *pdu; in llcp_rp_cc_tx_reject() local
216 struct node_rx_conn_iso_req *pdu; in rp_cc_ntf_create() local
303 struct pdu_data *pdu) in rp_cc_check_phy()
327 struct pdu_data *pdu = (struct pdu_data *)param; in rp_cc_state_wait_rx_cis_req() local
387 struct pdu_data *pdu = (struct pdu_data *)param; in rp_cc_state_wait_rx_cis_ind() local
562 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_rp_cc_rx() local
663 struct pdu_data *pdu; in lp_cc_tx() local
693 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_lp_cc_rx() local
[all …]
Dull_adv.c247 struct pdu_adv *pdu; local
1827 struct pdu_adv *pdu; local
1902 struct pdu_adv *pdu; local
2131 struct pdu_adv *pdu)
2164 uint8_t ull_adv_time_update(struct ll_adv_set *adv, struct pdu_adv *pdu,
2274 static uint16_t adv_time_get(struct pdu_adv *pdu, struct pdu_adv *pdu_scan,
2505 struct pdu_adv *pdu = lll_adv_data_peek(&adv->lll); local
2942 struct pdu_adv *pdu,
3035 static inline uint8_t *adv_pdu_adva_get(struct pdu_adv *pdu)
3060 static const uint8_t *adva_update(struct ll_adv_set *adv, struct pdu_adv *pdu)
[all …]
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c49 void helper_pdu_encode_ping_req(struct pdu_data *pdu, void *param) in helper_pdu_encode_ping_req()
57 void helper_pdu_encode_ping_rsp(struct pdu_data *pdu, void *param) in helper_pdu_encode_ping_rsp()
65 void helper_pdu_encode_feature_req(struct pdu_data *pdu, void *param) in helper_pdu_encode_feature_req()
79 void helper_pdu_encode_peripheral_feature_req(struct pdu_data *pdu, void *param) in helper_pdu_encode_peripheral_feature_req()
95 void helper_pdu_encode_feature_rsp(struct pdu_data *pdu, void *param) in helper_pdu_encode_feature_rsp()
110 void helper_pdu_encode_min_used_chans_ind(struct pdu_data *pdu, void *param) in helper_pdu_encode_min_used_chans_ind()
122 void helper_pdu_encode_version_ind(struct pdu_data *pdu, void *param) in helper_pdu_encode_version_ind()
135 void helper_pdu_encode_enc_req(struct pdu_data *pdu, void *param) in helper_pdu_encode_enc_req()
149 void helper_pdu_encode_enc_rsp(struct pdu_data *pdu, void *param) in helper_pdu_encode_enc_rsp()
161 void helper_pdu_encode_start_enc_req(struct pdu_data *pdu, void *param) in helper_pdu_encode_start_enc_req()
[all …]
Dhelper_util.c408 struct pdu_data *pdu; in lt_tx_real() local
429 void lt_tx_real_no_encode(const char *file, uint32_t line, struct pdu_data *pdu, in lt_tx_real_no_encode()
459 struct pdu_data *pdu; in lt_rx_real() local
484 struct pdu_data *pdu; in ut_rx_pdu_real() local
529 void encode_pdu(enum helper_pdu_opcode opcode, struct pdu_data *pdu, void *param) in encode_pdu()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_pdu.h27 static inline void lll_adv_pdu_enqueue(struct lll_adv_pdu *pdu, uint8_t idx) in lll_adv_pdu_enqueue()
73 lll_adv_pdu_latest_peek(const struct lll_adv_pdu *const pdu) in lll_adv_pdu_latest_peek()
95 static inline int lll_adv_aux_data_init(struct lll_adv_pdu *pdu) in lll_adv_aux_data_init()
143 static inline int lll_adv_sync_data_init(struct lll_adv_pdu *pdu) in lll_adv_sync_data_init()
221 static inline struct pdu_adv *lll_adv_pdu_linked_next_get(const struct pdu_adv *pdu) in lll_adv_pdu_linked_next_get()
226 static inline struct pdu_adv *lll_adv_pdu_linked_last_get(struct pdu_adv *pdu) in lll_adv_pdu_linked_last_get()
234 static inline void lll_adv_pdu_linked_append(struct pdu_adv *pdu, in lll_adv_pdu_linked_append()
240 static inline void lll_adv_pdu_linked_append_end(struct pdu_adv *pdu, in lll_adv_pdu_linked_append_end()
Dlll_adv.c264 int lll_adv_data_init(struct lll_adv_pdu *pdu) in lll_adv_data_init()
283 int lll_adv_data_reset(struct lll_adv_pdu *pdu) in lll_adv_data_reset()
307 int lll_adv_data_dequeue(struct lll_adv_pdu *pdu) in lll_adv_data_dequeue()
330 int lll_adv_data_release(struct lll_adv_pdu *pdu) in lll_adv_data_release()
355 struct pdu_adv *lll_adv_pdu_alloc(struct lll_adv_pdu *pdu, uint8_t *idx) in lll_adv_pdu_alloc()
454 struct pdu_adv *pdu = pdu_first; in lll_adv_pdu_linked_release_all() local
467 struct pdu_adv *lll_adv_pdu_latest_get(struct lll_adv_pdu *pdu, in lll_adv_pdu_latest_get()
523 int lll_adv_and_extra_data_init(struct lll_adv_pdu *pdu) in lll_adv_and_extra_data_init()
549 int lll_adv_and_extra_data_release(struct lll_adv_pdu *pdu) in lll_adv_and_extra_data_release()
576 struct pdu_adv *lll_adv_pdu_and_extra_data_alloc(struct lll_adv_pdu *pdu, in lll_adv_pdu_and_extra_data_alloc()
[all …]
Dlll_adv_sync.c120 struct pdu_adv *pdu; local
355 struct pdu_adv *pdu; local
442 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr)
504 static void aux_ptr_chan_idx_set(struct lll_adv_sync *lll, struct pdu_adv *pdu)
Dlll_adv_types.h18 uint8_t *pdu[DOUBLE_BUFFER_SIZE]; member
Dlll_sync_iso.c482 struct pdu_bis *pdu; in isr_rx_estab() local
621 struct pdu_bis *pdu; in isr_rx() local
1028 struct pdu_bis *pdu; in isr_rx() local
1059 struct pdu_bis *pdu; in isr_rx() local
1224 struct pdu_bis *pdu; in isr_rx_done() local
1429 static void isr_rx_ctrl_recv(struct lll_sync_iso *lll, struct pdu_bis *pdu) in isr_rx_ctrl_recv()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c143 struct pdu_adv *pdu_prev, *pdu, *pdu_new; in common_create_per_adv_chain() local
239 struct pdu_adv *pdu; in common_release_per_adv_chain() local
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() local
444 struct pdu_adv *pdu; in common_validate_chain_with_cte() local
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()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_adv_types.h18 uint8_t *pdu[DOUBLE_BUFFER_SIZE]; member
Dlll_adv.c145 int lll_adv_data_init(struct lll_adv_pdu *pdu) in lll_adv_data_init()
160 int lll_adv_data_reset(struct lll_adv_pdu *pdu) in lll_adv_data_reset()
177 int lll_adv_data_release(struct lll_adv_pdu *pdu) in lll_adv_data_release()
200 struct pdu_adv *lll_adv_pdu_alloc(struct lll_adv_pdu *pdu, uint8_t *idx) in lll_adv_pdu_alloc()
267 struct pdu_adv *lll_adv_pdu_latest_get(struct lll_adv_pdu *pdu, in lll_adv_pdu_latest_get()
453 struct pdu_adv *pdu; in is_abort_cb() local
778 struct pdu_adv *pdu; in chan_prepare() local
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/include/lll/
Dlll_adv_types.h18 uint8_t *pdu[DOUBLE_BUFFER_SIZE]; member
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/
Disoal_test_debug.c50 struct pdu_iso *pdu; in isoal_test_debug_print_rx_pdu() local
151 struct pdu_iso *pdu; in isoal_test_debug_print_tx_pdu() local
Disoal_test_common.h59 uint8_t pdu[TEST_RX_PDU_SIZE]; member
71 struct pdu_iso pdu; member
/Zephyr-latest/tests/bluetooth/controller/ctrl_invalid/src/
Dmain.c66 struct pdu_data pdu; in lt_tx_invalid_pdu_size() local
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c154 struct pdu_data *pdu; in ZTEST() local
323 struct pdu_data *pdu; in ZTEST() local
625 struct pdu_data *pdu; in ZTEST() local
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c120 struct pdu_data *pdu; in ZTEST() local
381 struct pdu_data *pdu; in ZTEST() local
900 struct pdu_data *pdu; in ZTEST() local
1069 struct pdu_data *pdu; in ZTEST() local
1400 struct pdu_data *pdu; in ZTEST() local
1484 struct pdu_data *pdu; in ZTEST() local
/Zephyr-latest/subsys/bluetooth/mesh/
Dnet.c50 #define IVI(pdu) ((pdu)[0] >> 7) argument
51 #define NID(pdu) ((pdu)[0] & 0x7f) argument
52 #define CTL(pdu) ((pdu)[1] >> 7) argument
53 #define TTL(pdu) ((pdu)[1] & 0x7f) argument
54 #define SEQ(pdu) (sys_get_be24(&pdu[2])) argument
55 #define SRC(pdu) (sys_get_be16(&(pdu)[5])) argument
56 #define DST(pdu) (sys_get_be16(&(pdu)[7])) argument
148 static bool msg_cache_match(struct net_buf_simple *pdu) in msg_cache_match()

1234