Lines Matching refs:llcp
124 if (conn->llcp.tx_buffer_alloc > CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in ull_cp_update_tx_buffer_queue()
125 common_tx_buffer_alloc -= (conn->llcp.tx_buffer_alloc - in ull_cp_update_tx_buffer_queue()
139 if (conn->llcp.tx_buffer_alloc < CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in static_tx_buffer_available()
198 conn->llcp.tx_buffer_alloc++; in llcp_tx_alloc()
200 if (conn->llcp.tx_buffer_alloc > CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in llcp_tx_alloc()
279 if (conn->llcp.tx_q_pause_data_mask == 0) { in llcp_tx_pause_data()
284 conn->llcp.tx_q_pause_data_mask |= pause_mask; in llcp_tx_pause_data()
290 conn->llcp.tx_q_pause_data_mask &= ~resume_mask; in llcp_tx_resume_data()
293 if (conn->llcp.tx_q_pause_data_mask == 0) { in llcp_tx_resume_data()
328 ctx->node_ref.rx->hdr.link->mem = conn->llcp.rx_node_release; in llcp_nodes_release()
330 conn->llcp.rx_node_release = ctx->node_ref.rx; in llcp_nodes_release()
335 ctx->data.pu.ntf_dle_node->hdr.link->mem = conn->llcp.rx_node_release; in llcp_nodes_release()
337 conn->llcp.rx_node_release = ctx->data.pu.ntf_dle_node; in llcp_nodes_release()
342 ctx->node_ref.tx->next = conn->llcp.tx_node_release; in llcp_nodes_release()
343 conn->llcp.tx_node_release = ctx->node_ref.tx; in llcp_nodes_release()
413 sys_slist_init(&conn->llcp.local.pend_proc_list); in ull_llcp_init()
414 conn->llcp.local.pause = 0U; in ull_llcp_init()
418 sys_slist_init(&conn->llcp.remote.pend_proc_list); in ull_llcp_init()
419 conn->llcp.remote.pause = 0U; in ull_llcp_init()
420 conn->llcp.remote.incompat = INCOMPAT_NO_COLLISION; in ull_llcp_init()
421 conn->llcp.remote.collision = 0U; in ull_llcp_init()
423 conn->llcp.remote.paused_cmd = PROC_NONE; in ull_llcp_init()
429 conn->llcp.prt_reload = 0U; in ull_llcp_init()
432 memset(&conn->llcp.vex, 0, sizeof(conn->llcp.vex)); in ull_llcp_init()
436 memset(&conn->llcp.muc, 0, sizeof(conn->llcp.muc)); in ull_llcp_init()
440 memset(&conn->llcp.fex, 0, sizeof(conn->llcp.fex)); in ull_llcp_init()
441 conn->llcp.fex.features_used = ll_feat_get(); in ull_llcp_init()
450 conn->llcp.cte_req.is_enabled = 0U; in ull_llcp_init()
451 conn->llcp.cte_req.req_expire = 0U; in ull_llcp_init()
454 conn->llcp.cte_rsp.is_enabled = 0U; in ull_llcp_init()
455 conn->llcp.cte_rsp.is_active = 0U; in ull_llcp_init()
456 conn->llcp.cte_rsp.disable_param = NULL; in ull_llcp_init()
457 conn->llcp.cte_rsp.disable_cb = NULL; in ull_llcp_init()
461 conn->llcp.tx_buffer_alloc = 0; in ull_llcp_init()
464 conn->llcp.tx_q_pause_data_mask = 0; in ull_llcp_init()
467 conn->llcp.tx_node_release = NULL; in ull_llcp_init()
468 conn->llcp.rx_node_release = NULL; in ull_llcp_init()
475 LL_ASSERT(conn->llcp.tx_buffer_alloc > 0); in ull_cp_release_tx()
476 if (conn->llcp.tx_buffer_alloc > CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in ull_cp_release_tx()
479 conn->llcp.tx_buffer_alloc--; in ull_cp_release_tx()
507 loc_ret = prt_elapse(&conn->llcp.local.prt_expire, elapsed_event); in ull_cp_prt_elapse()
526 rem_ret = prt_elapse(&conn->llcp.remote.prt_expire, elapsed_event); in ull_cp_prt_elapse()
542 conn->llcp.prt_reload = RADIO_CONN_EVENTS((40U * 1000U * 1000U), conn_intv_us); in ull_cp_prt_reload_set()
573 rx = conn->llcp.rx_node_release; in ull_cp_release_nodes()
584 conn->llcp.rx_node_release = NULL; in ull_cp_release_nodes()
587 tx = conn->llcp.tx_node_release; in ull_cp_release_nodes()
596 conn->llcp.tx_node_release = NULL; in ull_cp_release_nodes()
815 if (!conn->llcp.fex.valid) { in ull_cp_cis_create()
1237 conn->llcp.cte_rsp.is_enabled = enable; in ull_cp_cte_rsp_enable()
1240 conn->llcp.cte_rsp.max_cte_len = max_cte_len; in ull_cp_cte_rsp_enable()
1241 conn->llcp.cte_rsp.cte_types = cte_types; in ull_cp_cte_rsp_enable()
1258 if ((conn->llcp.fex.valid &&
1259 (!(conn->llcp.fex.features_peer & BIT64(BT_LE_FEAT_BIT_CONN_CTE_RESP)))) ||
1260 (!conn->llcp.fex.valid && !feature_cte_req(conn))) {
1290 conn->llcp.cte_req.is_enabled = 0U;
1291 conn->llcp.cte_req.req_interval = 0U;