Skip to content

Conversation

@weeTike
Copy link
Contributor

@weeTike weeTike commented Apr 29, 2025

BT_TICKER_LAZY_GET is a ZLL only kconfig and should not be selected for other controllers.

bool "Periodic Advertising Sync Transfer sender"
depends on BT_CTLR_SYNC_TRANSFER_SENDER_SUPPORT
select BT_TICKER_LAZY_GET
select BT_TICKER_LAZY_GET if BT_LL_SW_SPLIT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already covered here:

select BT_TICKER_LAZY_GET if BT_CTLR_ADV_PERIODIC || BT_CTLR_CONN_ISO || BT_CTLR_SYNC_TRANSFER_SENDER

Suggested change
select BT_TICKER_LAZY_GET if BT_LL_SW_SPLIT

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, that is insufficient since it only applies for Nordic controllers. The original change is correct

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But @Tronil , dont you have a custom choice on the same line as config BT_LLL_VENDOR_NORDIC/OPENISA where this select be present?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could have (we don't at the moment), but why not just have it in the one place instead of once per vendor?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will revert to the original solution then

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could have (we don't at the moment), but why not just have it in the one place instead of once per vendor?

Just hopping to keep the specifics inside ll_sw_split Kconfig file. Not able to think of an alternative for now, approving the current change in this PR.

@cvinayak
Copy link
Contributor

nitpick, prefer the commit title be prefixed as Bluetooth: Controller: ... as BT Spec uses Title Case for Bluetooth, Host, Controller etc...

@weeTike weeTike force-pushed the fix_zll_only_kconfig_selection branch from 593716d to 35c428f Compare April 30, 2025 08:24
@weeTike weeTike changed the title bluetooth: controller: Only select BT_TICKER_LAZY_GET for ZLL Bluetooth: Controller: Only select BT_TICKER_LAZY_GET for ZLL Apr 30, 2025
cvinayak
cvinayak previously approved these changes Apr 30, 2025
BT_TICKER_LAZY_GET is a ZLL only kconfig and should not be selected for
other controllers.

Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
@weeTike weeTike force-pushed the fix_zll_only_kconfig_selection branch from 35c428f to d82bf44 Compare May 1, 2025 08:49
bool "Periodic Advertising Sync Transfer sender"
depends on BT_CTLR_SYNC_TRANSFER_SENDER_SUPPORT
select BT_TICKER_LAZY_GET
select BT_TICKER_LAZY_GET if BT_LL_SW_SPLIT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could have (we don't at the moment), but why not just have it in the one place instead of once per vendor?

Just hopping to keep the specifics inside ll_sw_split Kconfig file. Not able to think of an alternative for now, approving the current change in this PR.

Copy link
Contributor

@rugeGerritsen rugeGerritsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternative approach is to add another declaration of BT_CTLR_SYNC_TRANSFER_SENDER inside the bt_ll_sw_split file

@kartben kartben merged commit cc9279e into zephyrproject-rtos:main May 13, 2025
30 checks passed
@weeTike weeTike deleted the fix_zll_only_kconfig_selection branch May 13, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Controller area: Bluetooth size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants