Bluetooth: controller: Add remote proc ctx pool

Add a separate procedure context pool for remote initiated procedures.
Make it configurable in size by BT_CTLR_LLCP_REMOTE_PROC_CTX_BUF_NUM.
Fix all unit tests referring to the amount of free context buffers.

Fixes #41823

Signed-off-by: Thomas Ebert Hansen <thoh@oticon.com>
This commit is contained in:
Thomas Ebert Hansen 2022-02-10 15:38:58 +01:00 committed by Carles Cufí
commit 33cb9e3433
20 changed files with 165 additions and 121 deletions

View file

@ -626,5 +626,5 @@ bool lr_is_disconnected(struct ll_conn *conn);
bool lr_is_idle(struct ll_conn *conn);
bool rr_is_disconnected(struct ll_conn *conn);
bool rr_is_idle(struct ll_conn *conn);
int ctx_buffers_free(void);
uint16_t ctx_buffers_free(void);
#endif