Bluetooth: Mesh: Use more reasonable advertising buffer counts
The number of buffres influences e.g. the maximum SDU size, which in turn influences call stack consumption. Use lower values where a high number of buffers isn't necessary, and use the default (6) where it's sufficient. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
1292609458
commit
d26e482dab
|
@ -36,7 +36,6 @@ CONFIG_BT_MESH_RELAY=y
|
|||
CONFIG_BT_MESH_LOW_POWER=n
|
||||
CONFIG_BT_MESH_FRIEND=y
|
||||
CONFIG_BT_MESH_FRIEND_QUEUE_SIZE=16
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
|
||||
CONFIG_BT_MESH_PB_GATT=y
|
||||
CONFIG_BT_MESH_PB_ADV=y
|
||||
|
|
|
@ -27,7 +27,6 @@ CONFIG_BT_MESH=y
|
|||
CONFIG_BT_MESH_RELAY=y
|
||||
CONFIG_BT_MESH_LOW_POWER=y
|
||||
CONFIG_BT_MESH_FRIEND=y
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
|
||||
CONFIG_BT_MESH_PB_GATT=y
|
||||
CONFIG_BT_MESH_PB_ADV=y
|
||||
|
|
|
@ -23,7 +23,7 @@ CONFIG_BT_MESH=y
|
|||
CONFIG_BT_MESH_RELAY=y
|
||||
CONFIG_BT_MESH_LOW_POWER=n
|
||||
CONFIG_BT_MESH_FRIEND=y
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=9
|
||||
|
||||
#CONFIG_BT_MESH_PB_ADV=n
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@ CONFIG_BT_MESH=y
|
|||
CONFIG_BT_MESH_RELAY=y
|
||||
CONFIG_BT_MESH_LOW_POWER=n
|
||||
CONFIG_BT_MESH_FRIEND=n
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
|
||||
CONFIG_BT_MESH_PB_GATT=y
|
||||
CONFIG_BT_MESH_PB_ADV=y
|
||||
|
|
|
@ -27,7 +27,6 @@ CONFIG_BT_MESH=y
|
|||
CONFIG_BT_MESH_RELAY=n
|
||||
CONFIG_BT_MESH_LOW_POWER=y
|
||||
CONFIG_BT_MESH_FRIEND=n
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
|
||||
CONFIG_BT_MESH_PB_GATT=y
|
||||
CONFIG_BT_MESH_PB_ADV=n
|
||||
|
|
|
@ -27,7 +27,6 @@ CONFIG_BT_MESH=y
|
|||
CONFIG_BT_MESH_RELAY=y
|
||||
CONFIG_BT_MESH_LOW_POWER=n
|
||||
CONFIG_BT_MESH_FRIEND=y
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
|
||||
CONFIG_BT_MESH_PB_GATT=y
|
||||
CONFIG_BT_MESH_PB_ADV=n
|
||||
|
|
|
@ -27,7 +27,6 @@ CONFIG_BT_MESH=y
|
|||
CONFIG_BT_MESH_RELAY=y
|
||||
CONFIG_BT_MESH_LOW_POWER=n
|
||||
CONFIG_BT_MESH_FRIEND=n
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
|
||||
CONFIG_BT_MESH_PB_GATT=y
|
||||
CONFIG_BT_MESH_PB_ADV=n
|
||||
|
|
|
@ -27,7 +27,6 @@ CONFIG_BT_MESH=y
|
|||
CONFIG_BT_MESH_RELAY=n
|
||||
#CONFIG_BT_MESH_LOW_POWER=n
|
||||
#CONFIG_BT_MESH_FRIEND=n
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
|
||||
CONFIG_BT_MESH_PB_GATT=n
|
||||
CONFIG_BT_MESH_PB_ADV=y
|
||||
|
|
|
@ -44,7 +44,7 @@ CONFIG_BT_MESH_LOW_POWER=y
|
|||
CONFIG_BT_MESH_LPN_AUTO=n
|
||||
CONFIG_BT_MESH_FRIEND=y
|
||||
CONFIG_BT_MESH_FRIEND_QUEUE_SIZE=16
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=9
|
||||
CONFIG_BT_MESH_CFG_CLI=y
|
||||
CONFIG_BT_MESH_HEALTH_CLI=y
|
||||
CONFIG_BT_MESH_TX_SEG_MSG_COUNT=2
|
||||
|
|
|
@ -31,7 +31,7 @@ CONFIG_BT_MESH_LOW_POWER=y
|
|||
CONFIG_BT_MESH_LPN_AUTO=n
|
||||
CONFIG_BT_MESH_FRIEND=y
|
||||
CONFIG_BT_MESH_FRIEND_QUEUE_SIZE=16
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=20
|
||||
CONFIG_BT_MESH_ADV_BUF_COUNT=9
|
||||
CONFIG_BT_MESH_CFG_CLI=y
|
||||
CONFIG_BT_MESH_TX_SEG_MSG_COUNT=2
|
||||
CONFIG_BT_MESH_RX_SEG_MSG_COUNT=2
|
||||
|
|
Loading…
Reference in a new issue