Home
last modified time | relevance | path

Searched refs:proc_ctx (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_internal.h133 struct proc_ctx { struct
439 struct proc_ctx *llcp_create_local_procedure(enum llcp_proc proc);
440 struct proc_ctx *llcp_create_remote_procedure(enum llcp_proc proc);
441 void llcp_nodes_release(struct ll_conn *conn, struct proc_ctx *ctx);
442 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx);
443 void llcp_tx_alloc_unpeek(struct proc_ctx *ctx);
444 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx);
445 void llcp_proc_ctx_release(struct proc_ctx *ctx);
449 void llcp_rx_node_retain(struct proc_ctx *ctx);
450 void llcp_rx_node_release(struct proc_ctx *ctx);
[all …]
Dull_llcp_chmu.c85 static void lp_chmu_tx(struct ll_conn *conn, struct proc_ctx *ctx) in lp_chmu_tx()
105 static void lp_chmu_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_chmu_complete()
112 static void lp_chmu_send_channel_map_update_ind(struct ll_conn *conn, struct proc_ctx *ctx, in lp_chmu_send_channel_map_update_ind()
129 static void lp_chmu_st_wait_tx_chan_map_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_chmu_st_wait_tx_chan_map_ind()
142 static void lp_chmu_check_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_chmu_check_instant()
153 static void lp_chmu_st_wait_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_chmu_st_wait_instant()
166 static void lp_chmu_execute_fsm(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_chmu_execute_fsm()
186 void llcp_lp_chmu_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx) in llcp_lp_chmu_rx()
201 void llcp_lp_chmu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param) in llcp_lp_chmu_run()
206 bool llcp_lp_chmu_awaiting_instant(struct proc_ctx *ctx) in llcp_lp_chmu_awaiting_instant()
[all …]
Dull_llcp_cc.c56 static void cc_ntf_established(struct ll_conn *conn, struct proc_ctx *ctx) in cc_ntf_established()
129 static void rp_cc_check_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt,
136 static void llcp_rp_cc_tx_rsp(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_rp_cc_tx_rsp()
193 static void llcp_rp_cc_tx_reject(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_rp_cc_tx_reject()
213 static void rp_cc_ntf_create(struct ll_conn *conn, struct proc_ctx *ctx) in rp_cc_ntf_create()
233 static void rp_cc_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_cc_complete()
240 static void rp_cc_send_cis_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_send_cis_rsp()
254 static void rp_cc_send_reject_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_send_reject_ind()
289 static void rp_cc_state_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_state_idle()
302 static uint8_t rp_cc_check_phy(struct ll_conn *conn, struct proc_ctx *ctx, in rp_cc_check_phy()
[all …]
Dull_llcp_past.c81 static uint8_t rp_check_phy(struct ll_conn *conn, struct proc_ctx *ctx, in rp_check_phy()
102 static void rp_past_complete(struct ll_conn *conn, struct proc_ctx *ctx) in rp_past_complete()
108 static void rp_past_st_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_past_st_idle()
125 struct proc_ctx *ctx; in rp_past_resolve_cb()
163 static bool rp_past_addr_resolve(struct ll_conn *conn, struct proc_ctx *ctx) in rp_past_addr_resolve()
185 static void rp_past_st_wait_resolve_if(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_past_st_wait_resolve_if()
201 static void rp_past_st_wait_rx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_past_st_wait_rx()
269 static void rp_past_st_wait_next_evt(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_past_st_wait_next_evt()
306 static void rp_past_execute_fsm(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_past_execute_fsm()
334 void llcp_rp_past_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx) in llcp_rp_past_rx()
[all …]
Dull_llcp_enc.c148 static void enc_setup_lll(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t role) in enc_setup_lll()
183 static struct node_tx *llcp_lp_enc_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_lp_enc_tx()
223 static void lp_enc_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in lp_enc_ntf()
254 static void lp_enc_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_enc_complete()
261 static void lp_enc_store_m(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_enc_store_m()
272 static void lp_enc_send_enc_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_enc_req()
292 static void lp_enc_send_pause_enc_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_pause_enc_req()
305 static void lp_enc_send_pause_enc_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_pause_enc_rsp()
325 static void lp_enc_send_start_enc_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_start_enc_rsp()
346 static void lp_enc_st_wait_tx_enc_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_st_wait_tx_enc_req()
[all …]
Dull_llcp_conn_upd.c165 static void cu_update_conn_parameters(struct ll_conn *conn, struct proc_ctx *ctx) in cu_update_conn_parameters()
177 static bool cu_check_conn_parameters(struct ll_conn *conn, struct proc_ctx *ctx) in cu_check_conn_parameters()
199 static bool cu_check_conn_ind_parameters(struct ll_conn *conn, struct proc_ctx *ctx) in cu_check_conn_ind_parameters()
215 static void cu_prepare_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in cu_prepare_update_ind()
248 static bool cu_should_notify_host(struct proc_ctx *ctx) in cu_should_notify_host()
254 static void cu_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in cu_ntf()
291 static void lp_cu_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in lp_cu_tx()
344 static void lp_cu_complete(struct ll_conn *conn, struct proc_ctx *ctx) in lp_cu_complete()
357 static void lp_cu_ntf_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_cu_ntf_complete()
365 static void lp_cu_send_reject_ext_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_cu_send_reject_ext_ind()
[all …]
Dull_llcp_phy.c145 static void pu_prep_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in pu_prep_update_ind()
201 static uint8_t pu_check_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in pu_check_update_ind()
230 static uint8_t pu_apply_phy_update(struct ll_conn *conn, struct proc_ctx *ctx) in pu_apply_phy_update()
285 static uint8_t pu_update_eff_times(struct ll_conn *conn, struct proc_ctx *ctx) in pu_update_eff_times()
321 static inline void pu_set_preferred_phys(struct ll_conn *conn, struct proc_ctx *ctx) in pu_set_preferred_phys()
334 static inline void pu_combine_phys(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t tx, in pu_combine_phys()
359 static void pu_prepare_instant(struct ll_conn *conn, struct proc_ctx *ctx) in pu_prepare_instant()
377 static void lp_pu_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_tx()
430 static void pu_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in pu_ntf()
460 static void pu_dle_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in pu_dle_ntf()
[all …]
Dull_llcp_local.c51 static struct proc_ctx *lr_dequeue(struct ll_conn *conn);
76 void llcp_lr_check_done(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_lr_check_done()
79 struct proc_ctx *ctx_header; in llcp_lr_check_done()
133 void llcp_lr_enqueue(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_lr_enqueue()
146 static struct proc_ctx *lr_dequeue(struct ll_conn *conn) in lr_dequeue()
152 struct proc_ctx *ctx; in lr_dequeue()
156 ctx = (struct proc_ctx *)sys_slist_get(&conn->llcp.local.pend_proc_list); in lr_dequeue()
163 struct proc_ctx *llcp_lr_peek(struct ll_conn *conn) in llcp_lr_peek()
168 struct proc_ctx *ctx; in llcp_lr_peek()
172 ctx = (struct proc_ctx *)sys_slist_peek_head(&conn->llcp.local.pend_proc_list); in llcp_lr_peek()
[all …]
Dull_llcp_common.c118 static void lp_comm_ntf(struct ll_conn *conn, struct proc_ctx *ctx);
119 static void lp_comm_terminate_invalid_pdu(struct ll_conn *conn, struct proc_ctx *ctx);
155 static void lp_comm_tx(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_tx()
246 static void lp_comm_ntf_feature_exchange(struct ll_conn *conn, struct proc_ctx *ctx, in lp_comm_ntf_feature_exchange()
262 static void lp_comm_ntf_version_ind(struct ll_conn *conn, struct proc_ctx *ctx, in lp_comm_ntf_version_ind()
276 static void lp_comm_ntf_length_change(struct ll_conn *conn, struct proc_ctx *ctx, 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()
312 static void lp_comm_ntf_cte_req_tx(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_ntf_cte_req_tx()
319 static void lp_comm_complete_cte_req(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_complete_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()
[all …]
Dull_llcp.c70 #define PROC_CTX_BUF_SIZE WB_UP(sizeof(struct proc_ctx))
95 static struct proc_ctx *proc_ctx_acquire(struct llcp_mem_pool *owner) in proc_ctx_acquire()
97 struct proc_ctx *ctx; in proc_ctx_acquire()
99 ctx = (struct proc_ctx *)mem_acquire(&owner->free); in proc_ctx_acquire()
109 void llcp_proc_ctx_release(struct proc_ctx *ctx) in llcp_proc_ctx_release()
135 static inline bool static_tx_buffer_available(struct ll_conn *conn, struct proc_ctx *ctx) in static_tx_buffer_available()
153 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc_peek()
183 void llcp_tx_alloc_unpeek(struct proc_ctx *ctx) in llcp_tx_alloc_unpeek()
196 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc()
220 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc_peek()
[all …]
Dull_llcp_remote.c52 static struct proc_ctx *rr_dequeue(struct ll_conn *conn);
82 static bool proc_with_instant(struct proc_ctx *ctx) in proc_with_instant()
114 void llcp_rr_check_done(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_rr_check_done()
117 struct proc_ctx *ctx_header; in llcp_rr_check_done()
178 static void rr_enqueue(struct ll_conn *conn, struct proc_ctx *ctx) in rr_enqueue()
183 static struct proc_ctx *rr_dequeue(struct ll_conn *conn) in rr_dequeue()
185 struct proc_ctx *ctx; in rr_dequeue()
187 ctx = (struct proc_ctx *)sys_slist_get(&conn->llcp.remote.pend_proc_list); in rr_dequeue()
191 struct proc_ctx *llcp_rr_peek(struct ll_conn *conn) in llcp_rr_peek()
193 struct proc_ctx *ctx; in llcp_rr_peek()
[all …]
Dull_llcp_pdu.c87 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()
224 void llcp_pdu_encode_min_used_chans_ind(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_encode_min_used_chans_ind()
249 void llcp_pdu_encode_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_encode_terminate_ind()
260 void llcp_pdu_decode_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_decode_terminate_ind()
324 static void encode_enc_req(struct proc_ctx *ctx, struct pdu_data *pdu) in encode_enc_req()
340 void llcp_pdu_encode_enc_req(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_encode_enc_req()
357 void llcp_ntf_encode_enc_req(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_ntf_encode_enc_req()
427 void llcp_pdu_decode_reject_ext_ind(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_decode_reject_ext_ind()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_api/src/
Dmain.c339 struct proc_ctx *ctx1, *ctx2; in ZTEST()
357 struct proc_ctx *ctx1; in ZTEST()
358 struct proc_ctx *ctx2; in ZTEST()
405 struct proc_ctx *ctx; in ZTEST()
459 struct proc_ctx *ctx; in ZTEST()
495 struct proc_ctx *peek_ctx; in ZTEST()
496 struct proc_ctx *dequeue_ctx; in ZTEST()
497 struct proc_ctx ctx; in ZTEST()
510 peek_ctx = (struct proc_ctx *)sys_slist_peek_head(&conn.llcp.local.pend_proc_list); in ZTEST()
529 struct proc_ctx *peek_ctx; in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_periodic_sync/src/
Dmain.c142 struct proc_ctx *ctx; in ZTEST()
342 struct proc_ctx *ctx; in ZTEST()
477 struct proc_ctx *ctx; in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_feature_exchange/src/
Dmain_hci.c152 struct proc_ctx *ctx; in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_tx_buffer_alloc/src/
Dmain.c61 struct proc_ctx *ctxs[CONFIG_BT_CTLR_LLCP_CONN]; in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c133 struct proc_ctx *ctx; in ZTEST()
199 struct proc_ctx *ctx; in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_data_length_update/src/
Dmain.c761 struct proc_ctx *ctx = NULL; in ZTEST()
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-ctlr-arch.rst170 - struct proc_ctx
/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/
Dmain.c391 struct proc_ctx *ctx = NULL; in ZTEST()
1775 struct proc_ctx *ctx = NULL; in ZTEST()
/Zephyr-latest/doc/releases/
Drelease-notes-3.1.rst1855 …thub:`41823` - Bluetooth: Controller: llcp: Remote request are dropped due to lack of free proc_ctx
Drelease-notes-3.2.rst1677 …thub:`41823` - Bluetooth: Controller: llcp: Remote request are dropped due to lack of free proc_ctx
Drelease-notes-3.3.rst3690 …thub:`41823` - Bluetooth: Controller: llcp: Remote request are dropped due to lack of free proc_ctx