Skip to content

Commit 4498eea

Browse files
committed
Merge branch 'fix/outstanding_packet_race_condition_v5.5' into 'release/v5.5'
fix(nimble): Fixed async race condition with HCI outstanding packets counter (v5.5) See merge request espressif/esp-idf!39092
2 parents f8cdf02 + 81f5d89 commit 4498eea

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

components/bt/host/nimble/Kconfig.in

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,13 @@ if BT_NIMBLE_50_FEATURE_SUPPORT
600600
will be supported from BLE 5.0 onwards.
601601

602602
if BT_NIMBLE_EXT_ADV
603+
config BT_NIMBLE_EXT_ADV_V2
604+
bool "Enable support for extended adv v2"
605+
default n
606+
depends on BT_NIMBLE_EXT_ADV
607+
help
608+
Enable this option to use Extended Adv V2 command instead of V1.
609+
603610
config BT_NIMBLE_MAX_EXT_ADV_INSTANCES
604611
int "Maximum number of extended advertising instances."
605612
range 0 4
@@ -1094,8 +1101,7 @@ config BT_NIMBLE_HIGH_DUTY_ADV_ITVL
10941101

10951102
config BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
10961103
bool "Allow Connections with scanning in progress"
1097-
depends on BT_NIMBLE_ENABLED
1098-
depends on (!SOC_ESP_NIMBLE_CONTROLLER || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32H2)
1104+
depends on BT_NIMBLE_ENABLED && !(IDF_TARGET_ESP32C2)
10991105
help
11001106
This enables support for user to initiate a new connection with scan in progress
11011107

components/bt/host/nimble/port/include/esp_nimble_cfg.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@
9898
#define MYNEWT_VAL_BLE_EXT_ADV (CONFIG_BT_NIMBLE_EXT_ADV)
9999
#endif
100100

101+
#ifndef MYNEWT_VAL_BLE_EXT_ADV_V2
102+
#ifdef CONFIG_BT_NIMBLE_EXT_ADV_V2
103+
#define MYNEWT_VAL_BLE_EXT_ADV_V2 (CONFIG_BT_NIMBLE_EXT_ADV_V2)
104+
#else
105+
#define MYNEWT_VAL_BLE_EXT_ADV_V2 (0)
106+
#endif
107+
#endif
108+
101109
#ifndef CONFIG_BT_NIMBLE_EXT_ADV_MAX_SIZE
102110
#define MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE (31)
103111
#else

0 commit comments

Comments
 (0)