Home
last modified time | relevance | path

Searched refs:pdu_data (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/controller/common/include/
Dhelper_pdu.h8 void helper_pdu_encode_ping_req(struct pdu_data *pdu, void *param);
9 void helper_pdu_encode_ping_rsp(struct pdu_data *pdu, void *param);
11 void helper_pdu_encode_feature_req(struct pdu_data *pdu, void *param);
12 void helper_pdu_encode_peripheral_feature_req(struct pdu_data *pdu, void *param);
13 void helper_pdu_encode_feature_rsp(struct pdu_data *pdu, void *param);
15 void helper_pdu_encode_min_used_chans_ind(struct pdu_data *pdu, void *param);
17 void helper_pdu_encode_version_ind(struct pdu_data *pdu, void *param);
19 void helper_pdu_encode_enc_req(struct pdu_data *pdu, void *param);
21 void helper_pdu_encode_enc_rsp(struct pdu_data *pdu, void *param);
23 void helper_pdu_encode_start_enc_req(struct pdu_data *pdu, void *param);
[all …]
Dhelper_util.h34 void lt_tx_real_no_encode(const char *file, uint32_t line, struct pdu_data *pdu,
46 void encode_pdu(enum helper_pdu_opcode opcode, struct pdu_data *pdu, void *param);
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_internal.h559 void llcp_pdu_encode_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
560 void llcp_pdu_decode_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
613 void llcp_pdu_encode_ping_req(struct pdu_data *pdu);
614 void llcp_pdu_encode_ping_rsp(struct pdu_data *pdu);
621 struct pdu_data *pdu);
623 struct pdu_data *pdu);
625 struct pdu_data *pdu);
631 struct pdu_data *pdu);
633 struct pdu_data *pdu);
635 struct pdu_data *pdu);
[all …]
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_enc.c186 struct pdu_data *pdu; in llcp_lp_enc_tx()
192 pdu = (struct pdu_data *)tx->pdu; in llcp_lp_enc_tx()
226 struct pdu_data *pdu; in lp_enc_ntf()
235 pdu = (struct pdu_data *)ntf->pdu; in lp_enc_ntf()
261 static void lp_enc_store_m(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_enc_store_m()
281 lp_enc_store_m(conn, ctx, (struct pdu_data *)tx->pdu); in lp_enc_send_enc_req()
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()
444 struct pdu_data *pdu = (struct pdu_data *)param; in lp_enc_st_wait_rx_start_enc_req()
[all …]
Dull_llcp.c69 #define LLCTRL_PDU_SIZE (offsetof(struct pdu_data, llctrl) + sizeof(struct pdu_data_llctrl))
234 struct pdu_data *pdu; in llcp_tx_alloc()
240 pdu = (struct pdu_data *)tx->pdu; in llcp_tx_alloc()
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)
1575 static bool pdu_validate_conn_update_ind(struct pdu_data *pdu)
[all …]
Dull_llcp_chmu.c88 struct pdu_data *pdu; in lp_chmu_tx()
94 pdu = (struct pdu_data *)tx->pdu; in lp_chmu_tx()
188 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_lp_chmu_rx()
301 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_rp_chmu_rx()
Dull_llcp_cc.c140 struct pdu_data *pdu; in llcp_rp_cc_tx_rsp()
147 pdu = (struct pdu_data *)tx->pdu; in llcp_rp_cc_tx_rsp()
196 struct pdu_data *pdu; in llcp_rp_cc_tx_reject()
203 pdu = (struct pdu_data *)tx->pdu; in llcp_rp_cc_tx_reject()
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()
387 struct pdu_data *pdu = (struct pdu_data *)param; in rp_cc_state_wait_rx_cis_ind()
562 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_rp_cc_rx()
663 struct pdu_data *pdu; in lp_cc_tx()
669 pdu = (struct pdu_data *)tx->pdu; in lp_cc_tx()
[all …]
Dull_llcp_common.c158 struct pdu_data *pdu; in lp_comm_tx()
164 pdu = (struct pdu_data *)tx->pdu; in lp_comm_tx()
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()
402 pdu = (struct pdu_data *)ntf->pdu; in lp_comm_ntf()
789 static void lp_comm_rx_decode(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu)
[all …]
Dull_llcp_phy.c380 struct pdu_data *pdu; in lp_pu_tx()
400 pdu = (struct pdu_data *)tx->pdu; in lp_pu_tx()
463 struct pdu_data *pdu; in pu_dle_ntf()
483 pdu = (struct pdu_data *)ntf->pdu; in pu_dle_ntf()
593 llcp_pdu_decode_phy_rsp(ctx, (struct pdu_data *)param); in lp_pu_st_wait_rx_phy_rsp()
717 llcp_pdu_decode_phy_update_ind(ctx, (struct pdu_data *)param); in lp_pu_st_wait_rx_phy_update_ind()
747 llcp_pdu_decode_reject_ext_ind(ctx, (struct pdu_data *)param); in lp_pu_st_wait_rx_phy_update_ind()
875 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_lp_pu_rx()
930 struct pdu_data *pdu; in rp_pu_tx()
947 pdu = (struct pdu_data *)tx->pdu; in rp_pu_tx()
[all …]
Dull_llcp_conn_upd.c294 struct pdu_data *pdu; in lp_cu_tx()
306 pdu = (struct pdu_data *)tx->pdu; in lp_cu_tx()
534 struct pdu_data *pdu = (struct pdu_data *)param; in lp_cu_st_wait_rx_conn_param_rsp()
599 struct pdu_data *pdu = (struct pdu_data *)param; in lp_cu_st_wait_rx_conn_update_ind()
767 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_lp_cu_rx()
805 struct pdu_data *pdu; in rp_cu_tx()
817 pdu = (struct pdu_data *)tx->pdu; in rp_cu_tx()
861 struct pdu_data *pdu; in rp_cu_conn_param_req_ntf()
874 pdu = (struct pdu_data *)ntf->pdu; in rp_cu_conn_param_req_ntf()
1368 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in llcp_rp_cu_rx()
Dull_llcp_past.c82 struct pdu_data *pdu) in rp_check_phy()
204 struct pdu_data *pdu = (struct pdu_data *)param; in rp_past_st_wait_rx()
386 struct pdu_data *pdu; in lp_past_tx()
405 pdu = (struct pdu_data *)tx->pdu; in lp_past_tx()
Dull_llcp_remote.c472 struct pdu_data *pdu; in rr_tx()
480 pdu = (struct pdu_data *)tx->pdu; in rr_tx()
615 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in rr_st_idle()
668 struct pdu_data *pdu = (struct pdu_data *)rx->pdu; in rr_st_idle()
918 struct pdu_data *pdu; in llcp_rr_new()
921 pdu = (struct pdu_data *)rx->pdu; in llcp_rr_new()
Dlll_conn.h186 void lll_conn_tx_pkt_set(struct lll_conn *lll, struct pdu_data *pdu_data_tx);
187 void lll_conn_pdu_tx_prep(struct lll_conn *lll, struct pdu_data **pdu_data_tx);
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci_user_ext.h12 void hci_user_ext_encode_control(struct node_rx_pdu *node_rx, struct pdu_data *pdu_data, struct net…
Dhci.c295 static void le_conn_complete(struct pdu_data *pdu_data, uint16_t handle,
2963 static void le_df_connectionless_iq_report(struct pdu_data *pdu_rx, in le_df_connectionless_iq_report()
4319 static void le_cis_request(struct pdu_data *pdu_data, argument
4330 node = pdu_data;
4350 static void le_cis_established(struct pdu_data *pdu_data, argument
4377 node = pdu_data;
4418 static void le_per_adv_sync_transfer_received(struct pdu_data *pdu_data_rx,
5326 static void vs_le_df_connectionless_iq_report(struct pdu_data *pdu_rx, struct node_rx_pdu *node_rx,
5809 struct pdu_data *pdu_data; local
5846 pdu_data = (void *)node_tx->pdu;
[all …]
Dhci_internal.h39 void hci_disconn_complete_encode(struct pdu_data *pdu_data, uint16_t handle,
/Zephyr-latest/tests/bluetooth/controller/ctrl_user_ext/src/
Dhci_user_ext.c32 void hci_user_ext_encode_control(struct node_rx_pdu *node_rx, struct pdu_data *pdu_data, struct net… in hci_user_ext_encode_control() argument
/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.c58 #define PDU_DC_LL_HEADER_SIZE (offsetof(struct pdu_data, lldata))
61 #define PDU_DATA_SIZE sizeof(struct pdu_data)
408 struct pdu_data *pdu; in lt_tx_real()
422 pdu = (struct pdu_data *)rx->pdu; in lt_tx_real()
429 void lt_tx_real_no_encode(const char *file, uint32_t line, struct pdu_data *pdu, in lt_tx_real_no_encode()
440 memcpy((struct pdu_data *)rx->pdu, pdu, sizeof(struct pdu_data)); in lt_tx_real_no_encode()
459 struct pdu_data *pdu; in lt_rx_real()
465 pdu = (struct pdu_data *)tx->pdu; in lt_rx_real()
484 struct pdu_data *pdu; in ut_rx_pdu_real()
493 pdu = (struct pdu_data *)ntf->pdu; in ut_rx_pdu_real()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_conn.c41 static int isr_rx_pdu(struct lll_conn *lll, struct pdu_data *pdu_data_rx,
43 static struct pdu_data *empty_tx_enqueue(struct lll_conn *lll);
121 struct pdu_data *pdu_data_rx; in lll_conn_isr_rx()
122 struct pdu_data *pdu_data_tx; in lll_conn_isr_rx()
456 void lll_conn_tx_pkt_set(struct lll_conn *lll, struct pdu_data *pdu_data_tx) in lll_conn_tx_pkt_set()
493 void lll_conn_pdu_tx_prep(struct lll_conn *lll, struct pdu_data **pdu_data_tx) in lll_conn_pdu_tx_prep()
496 struct pdu_data *p; in lll_conn_pdu_tx_prep()
636 return len <= (offsetof(struct pdu_data, llctrl) + in ctrl_pdu_len_check()
641 static int isr_rx_pdu(struct lll_conn *lll, struct pdu_data *pdu_data_rx, in isr_rx_pdu()
670 struct pdu_data *pdu_data_tx; in isr_rx_pdu()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_conn.c48 static inline int isr_rx_pdu(struct lll_conn *lll, struct pdu_data *pdu_data_rx,
64 static struct pdu_data *get_last_tx_pdu(struct lll_conn *lll);
276 struct pdu_data *pdu_data_rx;
277 struct pdu_data *pdu_data_tx;
376 struct pdu_data *pdu_scratch;
378 pdu_scratch = (struct pdu_data *)radio_pkt_scratch_get();
534 offsetof(struct pdu_data, lldata);
597 static struct pdu_data *pdu_tx;
759 struct pdu_data *pdu_data_rx;
824 void lll_conn_tx_pkt_set(struct lll_conn *lll, struct pdu_data *pdu_data_tx)
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_unsupported/src/
Dmain.c53 #define LLCTRL_PDU_SIZE (offsetof(struct pdu_data, llctrl) + sizeof(struct pdu_data_llctrl))
69 struct pdu_data pdu; in lt_tx_pdu_and_rx_unknown_rsp()
116 struct pdu_data pdu; in lt_tx_undef_opcode_and_rx_unknown_rsp()
/Zephyr-latest/tests/bluetooth/controller/ctrl_invalid/src/
Dmain.c52 #define LLCTRL_PDU_SIZE (offsetof(struct pdu_data, llctrl) + sizeof(struct pdu_data_llctrl))
66 struct pdu_data pdu; in lt_tx_invalid_pdu_size()
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c154 struct pdu_data *pdu; in ZTEST()
275 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
323 struct pdu_data *pdu; in ZTEST()
377 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
449 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
625 struct pdu_data *pdu; in ZTEST()
717 pdu = (struct pdu_data *)tx->pdu; in ZTEST()

12