Skip to content

Commit d7275e8

Browse files
cvinayaknashif
authored andcommitted
Bluetooth: controller: Increased thread context operation queue count
When ticker job is disabled inside radio events then all advertising, scanning, and slave latency cancel ticker operations will be deferred, requiring increased ticker thread context operation queue count. Fixes #32430. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent af56a6b commit d7275e8

File tree

1 file changed

+7
-1
lines changed
  • subsys/bluetooth/controller/ll_sw

1 file changed

+7
-1
lines changed

subsys/bluetooth/controller/ll_sw/ctrl.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@
4949

5050
#define RADIO_TICKER_USER_WORKER_OPS (7 + 1)
5151
#define RADIO_TICKER_USER_JOB_OPS (2 + 1)
52-
#define RADIO_TICKER_USER_APP_OPS (1 + 1)
52+
53+
#if defined(CONFIG_BT_PERIPHERAL) && defined(CONFIG_BT_CENTRAL)
54+
#define RADIO_TICKER_USER_APP_OPS (2 + RADIO_CONNECTION_CONTEXT_MAX + 1)
55+
#else /* !(CONFIG_BT_PERIPHERAL && CONFIG_BT_CENTRAL) */
56+
#define RADIO_TICKER_USER_APP_OPS (1 + RADIO_CONNECTION_CONTEXT_MAX + 1)
57+
#endif /* !(CONFIG_BT_PERIPHERAL && CONFIG_BT_CENTRAL) */
58+
5359
#define RADIO_TICKER_USER_OPS (RADIO_TICKER_USER_WORKER_OPS + \
5460
RADIO_TICKER_USER_JOB_OPS + \
5561
RADIO_TICKER_USER_APP_OPS)

0 commit comments

Comments
 (0)