subsys/bluetooth/controller/ll_sw/ull_llcp.c
static inline bool static_tx_buffer_available(struct ll_conn *conn, struct proc_ctx *ctx)
{
#if (CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM > 0)
	/* Check if per connection pre-aloted tx buffer is available */
	if (conn->llcp.tx_buffer_alloc < CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) {
		/* This connection has not yet used up all the pre-aloted tx buffers */
		return true;
	}
#endif /* CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM > 0 */
	return false;
}
/*
 * @brief Check for per conn pre-allocated tx buffer allowance
 * @return true if buffer is available
 */
@brief Check for per conn pre-allocated tx buffer allowance
@return true if buffer is available
@brief Check for per conn pre - allocated tx buffer allowance @return true if buffer is available
static inline bool static_tx_buffer_available(struct ll_conn *conn, struct proc_ctx *ctx)
{
#if (CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM > 0)
	if (conn->llcp.tx_buffer_alloc < CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) {
		return true;
	}
#endif 
	return false;
}
static inline bool static_tx_buffer_available ( struct ll_conn * conn , struct proc_ctx * ctx ) { #if ( CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM > 0 ) if ( conn -> llcp . tx_buffer_alloc < CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM ) { return true ; } #endif return false ; }
@brief Check for per conn pre-allocated tx buffer allowance
 @return true if buffer is available
@brief Check for per conn pre - allocated tx buffer allowance @return true if buffer is available
/* Check if per connection pre-aloted tx buffer is available */ /* This connection has not yet used up all the pre-aloted tx buffers */ /* CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM > 0 */