mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig (v4.1)
Closes BT-522 & BT-523
This commit is contained in:
committed by
Jiang Jiang Jian
parent
e7c8a36d46
commit
e36b3e0d04
@ -216,6 +216,16 @@ config BT_NIMBLE_HCI_EVT_LO_BUF_COUNT
|
|||||||
low-priority event buffers, then an incoming advertising report will
|
low-priority event buffers, then an incoming advertising report will
|
||||||
get dropped
|
get dropped
|
||||||
|
|
||||||
|
config BT_NIMBLE_MSYS1_BLOCK_COUNT
|
||||||
|
int "MSYS_1 Block Count"
|
||||||
|
depends on BT_NIMBLE_ENABLED
|
||||||
|
default 12
|
||||||
|
help
|
||||||
|
MSYS is a system level mbuf registry. For prepare write & prepare
|
||||||
|
responses MBUFs are allocated out of msys_1 pool. For NIMBLE_MESH
|
||||||
|
enabled cases, this block count is increased by 8 than user defined
|
||||||
|
count.
|
||||||
|
|
||||||
config BT_NIMBLE_HS_FLOW_CTRL
|
config BT_NIMBLE_HS_FLOW_CTRL
|
||||||
bool "Enable Host Flow control"
|
bool "Enable Host Flow control"
|
||||||
depends on BT_NIMBLE_ENABLED
|
depends on BT_NIMBLE_ENABLED
|
||||||
|
Submodule components/bt/host/nimble/nimble updated: 664d3d73bd...d60a322f54
@ -15,9 +15,9 @@
|
|||||||
/*** kernel/os */
|
/*** kernel/os */
|
||||||
#ifndef MYNEWT_VAL_MSYS_1_BLOCK_COUNT
|
#ifndef MYNEWT_VAL_MSYS_1_BLOCK_COUNT
|
||||||
#ifdef CONFIG_BT_NIMBLE_MESH
|
#ifdef CONFIG_BT_NIMBLE_MESH
|
||||||
#define MYNEWT_VAL_MSYS_1_BLOCK_COUNT (20)
|
#define MYNEWT_VAL_MSYS_1_BLOCK_COUNT (CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT + 8)
|
||||||
#else
|
#else
|
||||||
#define MYNEWT_VAL_MSYS_1_BLOCK_COUNT (12)
|
#define MYNEWT_VAL_MSYS_1_BLOCK_COUNT CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user