Home
last modified time | relevance | path

Searched refs:ll_conn (Results 1 – 25 of 62) sorted by relevance

123

/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/
Dull_llcp.h21 void ull_llcp_init(struct ll_conn *conn);
26 void ull_cp_state_set(struct ll_conn *conn, uint8_t state);
28 void ull_cp_release_nodes(struct ll_conn *conn);
33 void ull_cp_update_tx_buffer_queue(struct ll_conn *conn);
38 void ull_cp_release_tx(struct ll_conn *conn, struct node_tx *tx);
46 int ull_cp_prt_elapse(struct ll_conn *conn, uint16_t elapsed_event, uint8_t *error_code);
48 void ull_cp_prt_reload_set(struct ll_conn *conn, uint32_t conn_intv);
53 void ull_cp_run(struct ll_conn *conn);
58 void ull_cp_tx_ack(struct ll_conn *conn, struct node_tx *tx);
63 void ull_cp_tx_ntf(struct ll_conn *conn);
[all …]
Dull_llcp_internal.h407 void llcp_nodes_release(struct ll_conn *conn, struct proc_ctx *ctx);
408 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx);
410 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx);
412 void llcp_ntf_set_pending(struct ll_conn *conn);
413 void llcp_ntf_clear_pending(struct ll_conn *conn);
414 bool llcp_ntf_pending(struct ll_conn *conn);
420 void llcp_tx_enqueue(struct ll_conn *conn, struct node_tx *tx);
421 void llcp_tx_pause_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask pause_mask);
422 void llcp_tx_resume_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask resume_mask);
427 void llcp_lr_prt_restart(struct ll_conn *conn);
[all …]
Dull_conn_internal.h7 struct ll_conn *ll_conn_acquire(void);
8 void ll_conn_release(struct ll_conn *conn);
9 uint16_t ll_conn_handle_get(struct ll_conn *conn);
10 struct ll_conn *ll_conn_get(uint16_t handle);
11 struct ll_conn *ll_connected_get(uint16_t handle);
26 int ull_conn_llcp(struct ll_conn *conn, uint32_t ticks_at_expire,
30 void ull_conn_tx_lll_enqueue(struct ll_conn *conn, uint8_t count);
48 extern struct ll_conn *conn_upd_curr;
50 static inline void cpr_active_check_and_set(struct ll_conn *conn) in cpr_active_check_and_set()
57 static inline void cpr_active_set(struct ll_conn *conn) in cpr_active_set()
[all …]
Dull_llcp_features.h7 static inline void feature_unmask_features(struct ll_conn *conn, uint64_t ll_feat_mask) in feature_unmask_features()
12 static inline bool feature_le_encryption(struct ll_conn *conn) in feature_le_encryption()
21 static inline bool feature_conn_param_req(struct ll_conn *conn) in feature_conn_param_req()
30 static inline bool feature_ext_rej_ind(struct ll_conn *conn) in feature_ext_rej_ind()
39 static inline bool feature_periph_feat_req(struct ll_conn *conn) in feature_periph_feat_req()
48 static inline bool feature_le_ping(struct ll_conn *conn) in feature_le_ping()
57 static inline bool feature_dle(struct ll_conn *conn) in feature_dle()
66 static inline bool feature_privacy(struct ll_conn *conn) in feature_privacy()
75 static inline bool feature_ext_scan(struct ll_conn *conn) in feature_ext_scan()
84 static inline bool feature_chan_sel_2(struct ll_conn *conn) in feature_chan_sel_2()
[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()
122 static void lr_set_state(struct ll_conn *conn, enum lr_state state) in lr_set_state()
127 void llcp_lr_enqueue(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_lr_enqueue()
140 static struct proc_ctx *lr_dequeue(struct ll_conn *conn) in lr_dequeue()
157 struct proc_ctx *llcp_lr_peek(struct ll_conn *conn) in llcp_lr_peek()
173 struct proc_ctx *llcp_lr_peek_proc(struct ll_conn *conn, uint8_t proc) in llcp_lr_peek_proc()
194 bool llcp_lr_ispaused(struct ll_conn *conn) in llcp_lr_ispaused()
199 void llcp_lr_pause(struct ll_conn *conn) in llcp_lr_pause()
204 void llcp_lr_resume(struct ll_conn *conn) in llcp_lr_resume()
[all …]
Dull_llcp_remote.c52 static struct proc_ctx *rr_dequeue(struct ll_conn *conn);
113 void llcp_rr_check_done(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_rr_check_done()
130 static void rr_set_state(struct ll_conn *conn, enum rr_state state) in rr_set_state()
135 void llcp_rr_set_incompat(struct ll_conn *conn, enum proc_incompat incompat) in llcp_rr_set_incompat()
140 void llcp_rr_set_paused_cmd(struct ll_conn *conn, enum llcp_proc proc) in llcp_rr_set_paused_cmd()
147 enum llcp_proc llcp_rr_get_paused_cmd(struct ll_conn *conn) in llcp_rr_get_paused_cmd()
156 static enum proc_incompat rr_get_incompat(struct ll_conn *conn) in rr_get_incompat()
161 static void rr_set_collision(struct ll_conn *conn, bool collision) in rr_set_collision()
166 bool llcp_rr_get_collision(struct ll_conn *conn) in llcp_rr_get_collision()
171 static void rr_enqueue(struct ll_conn *conn, struct proc_ctx *ctx) in rr_enqueue()
[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()
206 void llcp_lp_chmu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param) in llcp_lp_chmu_run()
221 static void rp_chmu_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_chmu_complete()
[all …]
Dull_llcp_enc.c145 static void enc_setup_lll(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t role) in enc_setup_lll()
180 static struct node_tx *llcp_lp_enc_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_lp_enc_tx()
220 static void lp_enc_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in lp_enc_ntf()
250 static void lp_enc_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_enc_complete()
257 static void lp_enc_store_m(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_enc_store_m()
268 static void lp_enc_send_enc_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_enc_req()
288 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()
301 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()
321 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()
342 static void lp_enc_st_unencrypted(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_st_unencrypted()
[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()
188 static void llcp_rp_cc_tx_reject(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_rp_cc_tx_reject()
208 static void rp_cc_ntf_create(struct ll_conn *conn, struct proc_ctx *ctx) in rp_cc_ntf_create()
228 static void rp_cc_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_cc_complete()
235 static void rp_cc_send_cis_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_send_cis_rsp()
249 static void rp_cc_send_reject_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_send_reject_ind()
284 static void rp_cc_state_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_state_idle()
305 static uint8_t rp_cc_check_phy(struct ll_conn *conn, struct proc_ctx *ctx, in rp_cc_check_phy()
[all …]
Dull_llcp_conn_upd.c153 static bool cu_have_params_changed(struct ll_conn *conn, uint16_t interval, uint16_t latency, in cu_have_params_changed()
165 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 void cu_prepare_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in cu_prepare_update_ind()
238 static void cu_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in cu_ntf()
275 static void lp_cu_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in lp_cu_tx()
328 static void lp_cu_complete(struct ll_conn *conn, struct proc_ctx *ctx) in lp_cu_complete()
341 static void lp_cu_ntf_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_cu_ntf_complete()
349 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()
361 static void lp_cu_send_conn_param_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_cu_send_conn_param_req()
[all …]
Dull_llcp_phy.c145 static void pu_prep_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in pu_prep_update_ind()
164 static uint8_t pu_select_phy_timing_restrict(struct ll_conn *conn, uint8_t phy_tx) in pu_select_phy_timing_restrict()
180 static void pu_set_timing_restrict(struct ll_conn *conn, uint8_t phy_tx) in pu_set_timing_restrict()
187 static void pu_reset_timing_restrict(struct ll_conn *conn) in pu_reset_timing_restrict()
201 static uint8_t pu_check_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in pu_check_update_ind()
229 static uint8_t pu_apply_phy_update(struct ll_conn *conn, struct proc_ctx *ctx) in pu_apply_phy_update()
284 static uint8_t pu_update_eff_times(struct ll_conn *conn, struct proc_ctx *ctx) in pu_update_eff_times()
320 static inline void pu_set_preferred_phys(struct ll_conn *conn, struct proc_ctx *ctx) in pu_set_preferred_phys()
333 static inline void pu_combine_phys(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t tx, in pu_combine_phys()
358 static void pu_prepare_instant(struct ll_conn *conn, struct proc_ctx *ctx) in pu_prepare_instant()
[all …]
Dull_llcp_common.c106 static void lp_comm_ntf(struct ll_conn *conn, struct proc_ctx *ctx);
107 static void lp_comm_terminate_invalid_pdu(struct ll_conn *conn, struct proc_ctx *ctx);
143 static void lp_comm_tx(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_tx()
234 static void lp_comm_ntf_feature_exchange(struct ll_conn *conn, struct proc_ctx *ctx, in lp_comm_ntf_feature_exchange()
250 static void lp_comm_ntf_version_ind(struct ll_conn *conn, struct proc_ctx *ctx, in lp_comm_ntf_version_ind()
264 static void lp_comm_ntf_length_change(struct ll_conn *conn, struct proc_ctx *ctx, in lp_comm_ntf_length_change()
273 static void lp_comm_complete_cte_req_finalize(struct ll_conn *conn) in lp_comm_complete_cte_req_finalize()
279 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()
300 static void lp_comm_ntf_cte_req_tx(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_ntf_cte_req_tx()
307 static void lp_comm_complete_cte_req(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_complete_cte_req()
[all …]
Dull_llcp.c107 void ull_cp_update_tx_buffer_queue(struct ll_conn *conn) in ull_cp_update_tx_buffer_queue()
120 static inline bool static_tx_buffer_available(struct ll_conn *conn, struct proc_ctx *ctx) in static_tx_buffer_available()
138 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc_peek()
181 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc()
205 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc_peek()
217 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc()
256 void llcp_tx_enqueue(struct ll_conn *conn, struct node_tx *tx) in llcp_tx_enqueue()
261 void llcp_tx_pause_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask pause_mask) in llcp_tx_pause_data()
272 void llcp_tx_resume_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask resume_mask) in llcp_tx_resume_data()
294 void llcp_nodes_release(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_nodes_release()
[all …]
Dull_conn.c77 static void tx_demux_sched(struct ll_conn *conn);
80 static struct node_tx *tx_ull_dequeue(struct ll_conn *conn, struct node_tx *tx);
88 static void conn_cleanup(struct ll_conn *conn, uint8_t reason);
89 static void conn_cleanup_finalize(struct ll_conn *conn);
90 static void tx_ull_flush(struct ll_conn *conn);
97 static int empty_data_start_release(struct ll_conn *conn, struct node_tx *tx);
105 struct ll_conn *conn_upd_curr;
150 static struct ll_conn conn_pool[CONFIG_BT_MAX_CONN];
153 struct ll_conn *ll_conn_acquire(void) in ll_conn_acquire()
158 void ll_conn_release(struct ll_conn *conn) in ll_conn_release()
[all …]
Dull_peripheral_iso_internal.h12 uint8_t ull_peripheral_iso_acquire(struct ll_conn *acl,
19 void ull_peripheral_iso_update_peer_sca(struct ll_conn *acl);
Dull_conn_iso_types.h7 struct ll_conn;
9 typedef void (*ll_iso_stream_released_cb_t)(struct ll_conn *conn);
Dull_peripheral_iso.c57 static struct ll_conn *ll_cis_get_acl_awaiting_reply(uint16_t handle, uint8_t *error) in ll_cis_get_acl_awaiting_reply()
59 struct ll_conn *acl_conn = NULL; in ll_cis_get_acl_awaiting_reply()
68 struct ll_conn *conn = ll_conn_get(h); in ll_cis_get_acl_awaiting_reply()
102 struct ll_conn *conn = ll_cis_get_acl_awaiting_reply(handle, &status); in ll_cis_accept()
124 struct ll_conn *acl_conn = ll_cis_get_acl_awaiting_reply(handle, &status); in ll_cis_reject()
166 uint8_t ull_peripheral_iso_acquire(struct ll_conn *acl, in ull_peripheral_iso_acquire()
377 void ull_peripheral_iso_update_peer_sca(struct ll_conn *acl) in ull_peripheral_iso_update_peer_sca()
Dull_conn_iso_internal.h30 struct ll_conn_iso_stream *ll_conn_iso_stream_get_by_acl(struct ll_conn *conn,
36 void ull_conn_iso_start(struct ll_conn *acl, uint16_t cis_handle,
/Zephyr-Core-3.4.0/tests/bluetooth/controller/common/include/
Dhelper_util.h8 void test_print_conn(struct ll_conn *conn);
10 void test_set_role(struct ll_conn *conn, uint8_t role);
11 void test_setup(struct ll_conn *conn);
12 void test_setup_idx(struct ll_conn *conn, uint8_t idx);
14 void event_prepare(struct ll_conn *conn);
15 void event_tx_ack(struct ll_conn *conn, struct node_tx *tx);
16 void event_done(struct ll_conn *conn);
17 uint16_t event_counter(struct ll_conn *conn);
33 struct ll_conn *conn, void *param);
35 struct ll_conn *conn, void *param);
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/df/common/src/
Dbt_conn_common.c33 struct ll_conn *conn; in ut_bt_create_connection()
56 struct ll_conn *conn; in ut_bt_destroy_connection()
66 struct ll_conn *conn; in ut_bt_set_peer_features()
77 struct ll_conn *conn; in ut_bt_set_periph_latency()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/mock_ctrl/src/
Dull_peripheral_iso.c50 uint8_t ull_peripheral_iso_acquire(struct ll_conn *acl, in ull_peripheral_iso_acquire()
63 void ull_peripheral_iso_update_peer_sca(struct ll_conn *acl) in ull_peripheral_iso_update_peer_sca()
Dull_conn_iso.c47 struct ll_conn_iso_stream *ll_conn_iso_stream_get_by_acl(struct ll_conn *conn, uint16_t *cis_iter) in ll_conn_iso_stream_get_by_acl()
85 void ull_conn_iso_start(struct ll_conn *conn, uint16_t cis_handle, in ull_conn_iso_start()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/common/src/
Dhelper_util.c51 static struct ll_conn *emul_conn_pool[CONFIG_BT_MAX_CONN];
221 void test_print_conn(struct ll_conn *conn) in test_print_conn()
240 static uint8_t find_idx(struct ll_conn *conn) in find_idx()
251 void test_setup(struct ll_conn *conn) in test_setup()
286 void test_setup_idx(struct ll_conn *conn, uint8_t idx) in test_setup_idx()
306 void test_set_role(struct ll_conn *conn, uint8_t role) in test_set_role()
311 void event_prepare(struct ll_conn *conn) in event_prepare()
340 void event_tx_ack(struct ll_conn *conn, struct node_tx *tx) in event_tx_ack()
349 void event_done(struct ll_conn *conn) in event_done()
380 uint16_t event_counter(struct ll_conn *conn) in event_counter()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/ctrl_user_ext/src/
Dull_vendor.h34 static inline uint16_t ull_conn_interval_min_get(struct ll_conn *conn) in ull_conn_interval_min_get()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/mock_ctrl/include/
Dull_vendor.h34 static inline uint16_t ull_conn_interval_min_get(struct ll_conn *conn) in ull_conn_interval_min_get()

123