Bluetooth: controller: llcp: serialize phy update notifications
The PHY update procedure may trigger a DLE update in certain situations When a limited number of rx buffers is available there may not be enough for doing the phy update and dle update notifications at once. Fixes #41788 Signed-off-by: Andries Kruithof <Andries.Kruithof@nordicsemi.no>
This commit is contained in:
parent
3c5243fa9c
commit
b909647d0a
4 changed files with 52 additions and 4 deletions
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2021 Demant
|
||||
* Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_BT_CTLR_LLCP_CONN
|
||||
#undef CONFIG_BT_CTLR_LLCP_CONN
|
||||
#define CONFIG_BT_CTLR_LLCP_CONN 2
|
||||
#endif
|
|
@ -3,3 +3,6 @@ common:
|
|||
tests:
|
||||
bluetooth.controller.ctrl_phy_update.test:
|
||||
type: unit
|
||||
bluetooth.controller.ctrl_phy_update.test_reduced_buf:
|
||||
type: unit
|
||||
extra_args: KCONFIG_OVERRIDE_FILE="kconfig_override_rx_cnt.h"
|
||||
|
|
|
@ -79,7 +79,9 @@
|
|||
#define CONFIG_BT_CTLR_XTAL_ADVANCED y
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_CTLR_LLCP_CONN
|
||||
#define CONFIG_BT_CTLR_LLCP_CONN 4
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_CTLR_LLCP_TX_PER_CONN_TX_CTRL_BUF_NUM_MAX
|
||||
#define CONFIG_BT_CTLR_LLCP_TX_PER_CONN_TX_CTRL_BUF_NUM_MAX (4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue