-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth: Controller: Only show one prompt for experimental configs #42319
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -481,9 +481,15 @@ config BT_CTLR_ADV_EXT | |
Controller. | ||
|
||
config BT_CTLR_ADV_EXT | ||
prompt "LE Advertising Extensions [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
prompt "LE Advertising Extensions (Split Link Layer) [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
select EXPERIMENTAL if BT_LL_SW_SPLIT | ||
|
||
config PROMPT_ADJUSTMENT_WORKAROUND | ||
bool | ||
help | ||
Unused and hidden Kconfig symbol to allow prompt adjustment. | ||
Work around for https://github.com/ulfalizer/Kconfiglib/issues/117 | ||
|
||
if BT_CTLR_ADV_EXT | ||
|
||
config BT_CTLR_ADV_SET | ||
|
@@ -525,9 +531,12 @@ config BT_CTLR_ADV_PERIODIC | |
Controller. | ||
|
||
config BT_CTLR_ADV_PERIODIC | ||
bool "LE Periodic Advertising in Advertising State [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
bool "LE Periodic Advertising in Advertising State (Split Link Layer) [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
select EXPERIMENTAL if BT_LL_SW_SPLIT | ||
|
||
config PROMPT_ADJUSTMENT_WORKAROUND | ||
bool | ||
|
||
config BT_CTLR_ADV_PERIODIC_ADI_SUPPORT | ||
bool "Periodic Advertising ADI support" | ||
depends on BT_CTLR_ADV_PERIODIC | ||
|
@@ -545,9 +554,12 @@ config BT_CTLR_SYNC_PERIODIC | |
Synchronization state in the Controller. | ||
|
||
config BT_CTLR_SYNC_PERIODIC | ||
bool "LE Periodic Advertising in Synchronization State [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
bool "LE Periodic Advertising in Synchronization State (Split Link Layer) [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here. not related to this line, but below. You still need: just without the help text. Notice the two config BT_CTLR_SYNC_PERIODIC after one another, and then a depends on BT_CTLR_SYNC_PERIODIC here: |
||
select EXPERIMENTAL if BT_LL_SW_SPLIT | ||
|
||
config PROMPT_ADJUSTMENT_WORKAROUND | ||
bool | ||
|
||
config BT_CTLR_SYNC_PERIODIC_ADV_LIST | ||
bool "LE Periodic Advertiser List support" | ||
depends on BT_CTLR_SYNC_PERIODIC | ||
|
@@ -596,7 +608,7 @@ config BT_CTLR_ADV_ISO | |
Controller. | ||
|
||
config BT_CTLR_ADV_ISO | ||
bool "LE Broadcast Isochronous Channel advertising [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
bool "LE Broadcast Isochronous Channel advertising (Split Link Layer) [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
select EXPERIMENTAL if BT_LL_SW_SPLIT | ||
|
||
config BT_CTLR_SYNC_ISO | ||
|
@@ -609,7 +621,7 @@ config BT_CTLR_SYNC_ISO | |
the Controller. | ||
|
||
config BT_CTLR_SYNC_ISO | ||
bool "LE Broadcast Isochronous Channel advertising sync [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
bool "LE Broadcast Isochronous Channel advertising sync (Split Link Layer) [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
select EXPERIMENTAL if BT_LL_SW_SPLIT | ||
|
||
config BT_CTLR_BROADCAST_ISO | ||
|
@@ -687,7 +699,7 @@ config BT_CTLR_CENTRAL_ISO | |
Central role in the Controller. | ||
|
||
config BT_CTLR_CENTRAL_ISO | ||
bool "LE Connected Isochronous Stream Central [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
bool "LE Connected Isochronous Stream Central (Split Link Layer) [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
select BT_CTLR_SET_HOST_FEATURE | ||
select EXPERIMENTAL if BT_LL_SW_SPLIT | ||
|
||
|
@@ -699,7 +711,7 @@ config BT_CTLR_PERIPHERAL_ISO | |
Peripheral role in the Controller. | ||
|
||
config BT_CTLR_PERIPHERAL_ISO | ||
bool "LE Connected Isochronous Stream Peripheral [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
bool "LE Connected Isochronous Stream Peripheral (Split Link Layer) [EXPERIMENTAL]" if BT_LL_SW_SPLIT | ||
select BT_CTLR_SET_HOST_FEATURE | ||
select EXPERIMENTAL if BT_LL_SW_SPLIT | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment not directly related to this line, but cannot comment below.
Why was this removed in last update ?
https://github.com/zephyrproject-rtos/zephyr/blob/65a659e7f7e2ad76a2406f8d6db57bca99ee25b3/subsys/bluetooth/controller/Kconfig#L537-L538
Only the help text was supposed to be remove if you read this comment #42319 (comment).
This code part still suffers the double prompt issue, as there are two
config BT_CTLR_ADV_PERIODIC
after one another, and then adepends on BT_CTLR_ADV_PERIODIC
here:https://github.com/zephyrproject-rtos/zephyr/blob/e4e8b78f93a7871c4494bf6b2e5596e97fcf7c12/subsys/bluetooth/controller/Kconfig#L524-L539
Especially pay attention to this line:
https://github.com/zephyrproject-rtos/zephyr/blob/e4e8b78f93a7871c4494bf6b2e5596e97fcf7c12/subsys/bluetooth/controller/Kconfig#L539
So you still need
just no help text.