Skip to content

Commit 34bdcca

Browse files
committed
bluetooth: controller: Add lowest frame space config
This option has been added to the controller which is required to be enabled to get support for the lowest frame spaces. This commit adds a config and call to sdc if the config is enabled. Signed-off-by: Sean Madigan <[email protected]>
1 parent bb28025 commit 34bdcca

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

subsys/bluetooth/controller/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,16 @@ config BT_CTLR_SDC_LE_POWER_CLASS_1
701701
See Bluetooth Core Specification, Vol 6, Part A, Section 3
702702
Transmitter Characteristics for more information.
703703

704+
config BT_CTLR_SDC_ENABLE_LOWEST_FRAME_SPACE
705+
bool "Support lowest frame space values"
706+
depends on BT_CTLR_FRAME_SPACE_UPDATE
707+
default y
708+
help
709+
Enabling this kconfig allows the controller to achieve the lowest
710+
possible frame spaces for ACLs.
711+
Note: This option forces ACL connections to always use the same
712+
TX and RX PHY.
713+
704714
config BT_LL_SOFTDEVICE_INIT_PRIORITY
705715
int
706716
default 53 if MPSL_USE_EXTERNAL_CLOCK_CONTROL

subsys/bluetooth/controller/hci_driver.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,9 @@ static void configure_supported_features(void)
902902
if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) {
903903
sdc_support_frame_space_update_peripheral();
904904
}
905+
if (IS_ENABLED(CONFIG_BT_CTLR_SDC_ENABLE_LOWEST_FRAME_SPACE)) {
906+
sdc_support_lowest_frame_space();
907+
}
905908
}
906909

907910
if (IS_ENABLED(CONFIG_BT_CTLR_SHORTER_CONNECTION_INTERVALS)) {

0 commit comments

Comments
 (0)