Skip to content

Commit 6bf8409

Browse files
alxelaxnashif
authored andcommitted
bluetooth: mesh: adjust adv stack dependency and size
Commit removes legacy dependancy on Host crypto. Additionally, it adapts advertiser stack size if provisioner feature has been enabled (tested with mesh_shell and thread analyzer). Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
1 parent 8b2e37f commit 6bf8409

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

subsys/bluetooth/mesh/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ if BT_MESH_ADV_LEGACY
7272

7373
config BT_MESH_ADV_STACK_SIZE
7474
int "Mesh advertiser thread stack size"
75-
default 1024 if BT_HOST_CRYPTO
75+
default 1800 if BT_MESH_PROVISIONER
76+
default 1536 if BT_MESH_PROXY
7677
default 776 if BT_MESH_PRIV_BEACONS
7778
default 768
7879
help
@@ -142,8 +143,8 @@ if BT_MESH_WORKQ_MESH
142143

143144
config BT_MESH_ADV_STACK_SIZE
144145
int "Mesh extended advertiser thread stack size"
146+
default 2048 if BT_MESH_PROVISIONER
145147
default 1536 if BT_MESH_PROXY
146-
default 1024 if BT_HOST_CRYPTO
147148
default 776 if BT_MESH_PRIV_BEACONS
148149
default 768
149150
help

0 commit comments

Comments
 (0)