Skip to content

Commit 87a0edc

Browse files
committed
bluetooth: controller: Merge BT_HCI_VS_EXT into BT_HCI_VS
18c23da removes CONFIG_BT_HCI_VS_EXT. Align BLE controller configuration with the changes. Jira: NCSDK-27508 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
1 parent cca7a60 commit 87a0edc

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

samples/bluetooth/peripheral_lbs/prj_minimal.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ CONFIG_BT_GATT_CACHING=n
9393
CONFIG_BT_GATT_SERVICE_CHANGED=n
9494
CONFIG_BT_GAP_PERIPHERAL_PREF_PARAMS=n
9595
CONFIG_BT_SETTINGS_CCC_LAZY_LOADING=y
96-
CONFIG_BT_HCI_VS_EXT=n
96+
CONFIG_BT_HCI_VS=n
9797

9898
# Disable Bluetooth controller features not needed
9999
CONFIG_BT_CTLR_PRIVACY=n

samples/bluetooth/peripheral_uart/prj_minimal.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ CONFIG_BT_GATT_CACHING=n
113113
CONFIG_BT_GATT_SERVICE_CHANGED=n
114114
CONFIG_BT_GAP_PERIPHERAL_PREF_PARAMS=n
115115
CONFIG_BT_SETTINGS_CCC_LAZY_LOADING=y
116-
CONFIG_BT_HCI_VS_EXT=n
116+
CONFIG_BT_HCI_VS=n
117117

118118
# Disable Bluetooth controller features not needed
119119
CONFIG_BT_CTLR_PRIVACY=n

subsys/bluetooth/controller/hci_internal.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ static void vs_zephyr_supported_commands(sdc_hci_vs_zephyr_supported_commands_t
618618
cmds->read_version_info = 1;
619619
cmds->read_supported_commands = 1;
620620

621-
#if defined(CONFIG_BT_HCI_VS_EXT)
622621
cmds->write_bd_addr = 1;
623622
cmds->read_static_addresses = 1;
624623
cmds->read_key_hierarchy_roots = 1;
@@ -630,7 +629,6 @@ static void vs_zephyr_supported_commands(sdc_hci_vs_zephyr_supported_commands_t
630629
cmds->write_tx_power_level = 1;
631630
cmds->read_tx_power_level = 1;
632631
#endif /* CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL */
633-
#endif /* CONFIG_BT_HCI_VS_EXT */
634632
}
635633

636634
static void vs_supported_commands(sdc_hci_vs_supported_vs_commands_t *cmds)
@@ -1550,7 +1548,6 @@ static uint8_t vs_cmd_put(uint8_t const *const cmd, uint8_t *const raw_event_out
15501548
vs_zephyr_supported_commands((void *)event_out_params);
15511549
return 0;
15521550

1553-
#if defined(CONFIG_BT_HCI_VS_EXT)
15541551
case SDC_HCI_OPCODE_CMD_VS_ZEPHYR_READ_STATIC_ADDRESSES:
15551552
/* We always return one entry */
15561553
*param_length_out += sizeof(sdc_hci_cmd_vs_zephyr_read_static_addresses_return_t);
@@ -1579,7 +1576,6 @@ static uint8_t vs_cmd_put(uint8_t const *const cmd, uint8_t *const raw_event_out
15791576
return sdc_hci_cmd_vs_zephyr_read_tx_power((void *)cmd_params,
15801577
(void *)event_out_params);
15811578
#endif /* CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL */
1582-
#endif /* CONFIG_BT_HCI_VS_EXT */
15831579
case SDC_HCI_OPCODE_CMD_VS_READ_SUPPORTED_VS_COMMANDS:
15841580
*param_length_out += sizeof(sdc_hci_cmd_vs_read_supported_vs_commands_return_t);
15851581
vs_supported_commands((void *)event_out_params);

tests/bluetooth/iso/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ CONFIG_BT_BUF_ACL_RX_SIZE=502
3333
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
3434

3535
CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE=n
36-
CONFIG_BT_HCI_VS_EXT=n
36+
CONFIG_BT_HCI_VS=n
3737
CONFIG_MAIN_STACK_SIZE=4096
3838

3939
CONFIG_SHELL=y

0 commit comments

Comments
 (0)