Bluetooth: Fix enabling PAST as advertiser

It is possible to do PAST as advertiser without support for periodic sync.

Fixes #54613.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
This commit is contained in:
Herman Berget 2023-02-08 16:07:42 +01:00 committed by Fabio Baltieri
parent 7851c3c26b
commit cc9d2102f2

View file

@ -48,7 +48,7 @@ config BT_CTLR_SYNC_PERIODIC_SUPPORT
bool
config BT_CTLR_SYNC_TRANSFER_SENDER_SUPPORT
depends on BT_CTLR_SYNC_PERIODIC_SUPPORT
depends on BT_CTLR_SYNC_PERIODIC_SUPPORT || BT_CTLR_ADV_PERIODIC_SUPPORT
bool
config BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT
@ -673,15 +673,6 @@ config BT_CTLR_CHECK_SAME_PEER_SYNC
bool
default BT_PER_ADV_SYNC_MAX > 1
config BT_CTLR_SYNC_TRANSFER_SENDER
bool "Periodic Advertising Sync Transfer sender"
depends on BT_CTLR_SYNC_TRANSFER_SENDER_SUPPORT
default BT_PER_ADV_SYNC_TRANSFER_SENDER
help
Enable support for the Periodic Advertising Sync Transfer control procedure
as a transmitter of the LL_PERIODIC_SYNC_IND. See Core_v5.3, Vol 6, Part B,
Section 5.1.13
config BT_CTLR_SYNC_TRANSFER_RECEIVER
bool "Periodic Advertising Sync Transfer receiver"
depends on BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT
@ -693,6 +684,15 @@ config BT_CTLR_SYNC_TRANSFER_RECEIVER
endif # BT_CTLR_SYNC_PERIODIC
config BT_CTLR_SYNC_TRANSFER_SENDER
bool "Periodic Advertising Sync Transfer sender"
depends on BT_CTLR_SYNC_TRANSFER_SENDER_SUPPORT
default BT_PER_ADV_SYNC_TRANSFER_SENDER
help
Enable support for the Periodic Advertising Sync Transfer control procedure
as a transmitter of the LL_PERIODIC_SYNC_IND. See Core_v5.3, Vol 6, Part B,
Section 5.1.13
config BT_CTLR_ADV_ISO
bool "LE Broadcast Isochronous Channel advertising" if !BT_LL_SW_SPLIT
depends on BT_BROADCASTER && BT_CTLR_ADV_ISO_SUPPORT