fix(bt/bluedroid): Fix bluedroid menuconfig

This commit is contained in:
zhanghaipeng 2023-11-30 10:42:04 +08:00
parent 804f939ed0
commit 3d2daa08cc

View File

@ -1051,7 +1051,7 @@ config BT_ACL_CONNECTIONS
config BT_MULTI_CONNECTION_ENBALE config BT_MULTI_CONNECTION_ENBALE
bool "Enable BLE multi-conections" bool "Enable BLE multi-conections"
depends on BT_BLUEDROID_ENABLED depends on BT_BLE_ENABLED
default y default y
help help
Enable this option if there are multiple connections Enable this option if there are multiple connections
@ -1072,7 +1072,7 @@ config BT_BLE_DYNAMIC_ENV_MEMORY
config BT_BLE_HOST_QUEUE_CONG_CHECK config BT_BLE_HOST_QUEUE_CONG_CHECK
bool "BLE queue congestion check" bool "BLE queue congestion check"
depends on BT_BLUEDROID_ENABLED depends on BT_BLE_ENABLED
default n default n
help help
When scanning and scan duplicate is not enabled, if there are a lot of adv packets around When scanning and scan duplicate is not enabled, if there are a lot of adv packets around
@ -1097,7 +1097,7 @@ config BT_BLE_ACT_SCAN_REP_ADV_SCAN
config BT_BLE_ESTAB_LINK_CONN_TOUT config BT_BLE_ESTAB_LINK_CONN_TOUT
int "Timeout of BLE connection establishment" int "Timeout of BLE connection establishment"
depends on BT_BLUEDROID_ENABLED depends on BT_BLE_ENABLED
range 1 60 range 1 60
default 30 default 30
help help
@ -1133,7 +1133,7 @@ config BT_BLE_RPA_SUPPORTED
config BT_BLE_RPA_TIMEOUT config BT_BLE_RPA_TIMEOUT
int "Timeout of resolvable private address" int "Timeout of resolvable private address"
depends on BT_BLUEDROID_ENABLED depends on BT_BLE_ENABLED
range 1 3600 range 1 3600
default 900 default 900
help help
@ -1142,35 +1142,36 @@ config BT_BLE_RPA_TIMEOUT
config BT_BLE_50_FEATURES_SUPPORTED config BT_BLE_50_FEATURES_SUPPORTED
bool "Enable BLE 5.0 features" bool "Enable BLE 5.0 features"
depends on (BT_BLUEDROID_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BLE_50_SUPPORTED) || BT_CONTROLLER_DISABLED)) depends on (BT_BLE_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BLE_50_SUPPORTED) || BT_CONTROLLER_DISABLED))
default y default y
help help
This enables BLE 5.0 features, this option only support esp32c3/esp32s3 chip Enabling this option activates BLE 5.0 features.
This option is universally supported in chips that support BLE, except for ESP32.
config BT_BLE_42_FEATURES_SUPPORTED config BT_BLE_42_FEATURES_SUPPORTED
bool "Enable BLE 4.2 features" bool "Enable BLE 4.2 features"
depends on (BT_BLUEDROID_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BLE_SUPPORTED) || BT_CONTROLLER_DISABLED)) depends on (BT_BLE_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BLE_SUPPORTED) || BT_CONTROLLER_DISABLED))
default n default n
help help
This enables BLE 4.2 features. This enables BLE 4.2 features.
config BT_BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER config BT_BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER
bool "Enable BLE periodic advertising sync transfer feature" bool "Enable BLE periodic advertising sync transfer feature"
depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED)) depends on (BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED))
default n default n
help help
This enables BLE periodic advertising sync transfer feature This enables BLE periodic advertising sync transfer feature
config BT_BLE_FEAT_PERIODIC_ADV_ENH config BT_BLE_FEAT_PERIODIC_ADV_ENH
bool "Enable periodic adv enhancements(adi support)" bool "Enable periodic adv enhancements(adi support)"
depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED)) depends on (BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED))
default n default n
help help
Enable the periodic advertising enhancements Enable the periodic advertising enhancements
config BT_BLE_HIGH_DUTY_ADV_INTERVAL config BT_BLE_HIGH_DUTY_ADV_INTERVAL
bool "Enable BLE high duty advertising interval feature" bool "Enable BLE high duty advertising interval feature"
depends on BT_BLUEDROID_ENABLED depends on BT_BLE_ENABLED
default n default n
help help
This enable BLE high duty advertising interval feature This enable BLE high duty advertising interval feature