Home
last modified time | relevance | path

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

123

/Zephyr-latest/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.h441 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);
444 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx);
446 void llcp_ntf_set_pending(struct ll_conn *conn);
447 void llcp_ntf_clear_pending(struct ll_conn *conn);
448 bool llcp_ntf_pending(struct ll_conn *conn);
455 void llcp_tx_enqueue(struct ll_conn *conn, struct node_tx *tx);
456 void llcp_tx_pause_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask pause_mask);
457 void llcp_tx_resume_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask resume_mask);
462 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);
29 int ull_conn_llcp(struct ll_conn *conn, uint32_t ticks_at_expire,
33 void ull_conn_tx_lll_enqueue(struct ll_conn *conn, uint8_t count);
51 extern struct ll_conn *conn_upd_curr;
53 static inline void cpr_active_check_and_set(struct ll_conn *conn) in cpr_active_check_and_set()
60 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 void feature_unmask_peer_features(struct ll_conn *conn, uint64_t ll_feat_mask) in feature_unmask_peer_features()
17 static inline bool feature_le_encryption(struct ll_conn *conn) in feature_le_encryption()
26 static inline bool feature_conn_param_req(struct ll_conn *conn) in feature_conn_param_req()
35 static inline bool feature_ext_rej_ind(struct ll_conn *conn) in feature_ext_rej_ind()
44 static inline bool feature_periph_feat_req(struct ll_conn *conn) in feature_periph_feat_req()
53 static inline bool feature_le_ping(struct ll_conn *conn) in feature_le_ping()
62 static inline bool feature_dle(struct ll_conn *conn) in feature_dle()
71 static inline bool feature_privacy(struct ll_conn *conn) in feature_privacy()
80 static inline bool feature_ext_scan(struct ll_conn *conn) in feature_ext_scan()
[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()
128 static void lr_set_state(struct ll_conn *conn, enum lr_state state) in lr_set_state()
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()
163 struct proc_ctx *llcp_lr_peek(struct ll_conn *conn) in llcp_lr_peek()
179 struct proc_ctx *llcp_lr_peek_proc(struct ll_conn *conn, uint8_t proc) in llcp_lr_peek_proc()
200 bool llcp_lr_ispaused(struct ll_conn *conn) in llcp_lr_ispaused()
205 void llcp_lr_pause(struct ll_conn *conn) in llcp_lr_pause()
210 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);
114 void llcp_rr_check_done(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_rr_check_done()
137 static void rr_set_state(struct ll_conn *conn, enum rr_state state) in rr_set_state()
142 void llcp_rr_set_incompat(struct ll_conn *conn, enum proc_incompat incompat) in llcp_rr_set_incompat()
147 void llcp_rr_set_paused_cmd(struct ll_conn *conn, enum llcp_proc proc) in llcp_rr_set_paused_cmd()
154 enum llcp_proc llcp_rr_get_paused_cmd(struct ll_conn *conn) in llcp_rr_get_paused_cmd()
163 static enum proc_incompat rr_get_incompat(struct ll_conn *conn) in rr_get_incompat()
168 static void rr_set_collision(struct ll_conn *conn, bool collision) in rr_set_collision()
173 bool llcp_rr_get_collision(struct ll_conn *conn) in llcp_rr_get_collision()
178 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()
201 void llcp_lp_chmu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param) in llcp_lp_chmu_run()
216 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_past.c78 static struct ll_conn *rp_past_resolve_conn;
81 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()
124 struct ll_conn *conn = rp_past_resolve_conn; 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()
[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_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_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 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()
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()
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()
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()
[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()
285 static void lp_comm_complete_cte_req_finalize(struct ll_conn *conn) in lp_comm_complete_cte_req_finalize()
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()
[all …]
Dull_llcp.c122 void ull_cp_update_tx_buffer_queue(struct ll_conn *conn) in ull_cp_update_tx_buffer_queue()
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()
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()
232 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc()
271 void llcp_tx_enqueue(struct ll_conn *conn, struct node_tx *tx) in llcp_tx_enqueue()
276 void llcp_tx_pause_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask pause_mask) in llcp_tx_pause_data()
287 void llcp_tx_resume_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask resume_mask) in llcp_tx_resume_data()
324 void llcp_nodes_release(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_nodes_release()
[all …]
Dull_conn.c86 static void tx_demux_sched(struct ll_conn *conn);
89 static struct node_tx *tx_ull_dequeue(struct ll_conn *conn, struct node_tx *tx);
97 static void conn_cleanup(struct ll_conn *conn, uint8_t reason);
98 static void conn_cleanup_finalize(struct ll_conn *conn);
99 static void tx_ull_flush(struct ll_conn *conn);
106 static int empty_data_start_release(struct ll_conn *conn, struct node_tx *tx);
114 struct ll_conn *conn_upd_curr;
163 static struct ll_conn conn_pool[CONFIG_BT_MAX_CONN];
166 struct ll_conn *ll_conn_acquire(void) in ll_conn_acquire()
171 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_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()
130 struct ll_conn *acl_conn = ll_cis_get_acl_awaiting_reply(handle, &status); in ll_cis_reject()
172 uint8_t ull_peripheral_iso_acquire(struct ll_conn *acl, in ull_peripheral_iso_acquire()
297 struct ll_conn *conn; in ull_peripheral_iso_setup()
389 void ull_peripheral_iso_update_peer_sca(struct ll_conn *acl) in ull_peripheral_iso_update_peer_sca()
Dull_conn_iso_types.h7 struct ll_conn;
9 typedef void (*ll_iso_stream_released_cb_t)(struct ll_conn *conn);
Dull_conn_iso_internal.h33 struct ll_conn_iso_stream *ll_conn_iso_stream_get_by_acl(struct ll_conn *conn,
39 void ull_conn_iso_start(struct ll_conn *acl, uint16_t cis_handle,
/Zephyr-latest/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-latest/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-latest/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 __weak struct ll_conn_iso_stream *ll_conn_iso_stream_get_by_acl(struct ll_conn *conn, in ll_conn_iso_stream_get_by_acl()
86 void ull_conn_iso_start(struct ll_conn *conn, uint16_t cis_handle, in ull_conn_iso_start()
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_util.c51 static struct ll_conn *emul_conn_pool[CONFIG_BT_MAX_CONN];
225 void test_print_conn(struct ll_conn *conn) in test_print_conn()
244 static uint8_t find_idx(struct ll_conn *conn) in find_idx()
255 void test_setup(struct ll_conn *conn) in test_setup()
290 void test_setup_idx(struct ll_conn *conn, uint8_t idx) in test_setup_idx()
310 void test_set_role(struct ll_conn *conn, uint8_t role) in test_set_role()
315 void event_prepare(struct ll_conn *conn) in event_prepare()
344 void event_tx_ack(struct ll_conn *conn, struct node_tx *tx) in event_tx_ack()
353 void event_done(struct ll_conn *conn) in event_done()
384 uint16_t event_counter(struct ll_conn *conn) in event_counter()
[all …]
/Zephyr-latest/tests/bluetooth/controller/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()

123