File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -203,11 +203,11 @@ config BT_BUF_CMD_TX_SIZE
203203config BT_BUF_CMD_TX_COUNT
204204 # This option is only visible for a user when Host and Controller are build together, or for
205205 # Host-only builds.
206- int "Number of HCI command buffers" if !BT_HCI_RAW || !HAS_BT_CTLR
206+ int "Number of HCI command buffers" if !BT_HCI_RAW || !BT_CTLR
207207 # This option is present when Host and Controller are build together, or
208208 # for Host only builds, or when Controller-to-Host ACL data flow control
209209 # is disabled.
210- depends on !BT_HCI_RAW || !HAS_BT_CTLR || !BT_HCI_ACL_FLOW_CONTROL
210+ depends on !BT_HCI_RAW || !BT_CTLR || !BT_HCI_ACL_FLOW_CONTROL
211211 # The Mesh stack usage in applications and tests can start both advertising and scanning in
212212 # parallel. Also, when BT_MESH_WORKQ_SYS is enabled, the Mesh stack is starting Extended
213213 # Advertising in the receive callback run in the system work queue and as the Host also uses
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- #if !defined(CONFIG_BT_HCI_RAW ) || !defined(CONFIG_HAS_BT_CTLR ) || \
7+ #if !defined(CONFIG_BT_HCI_RAW ) || !defined(CONFIG_BT_CTLR ) || \
88 !defined(CONFIG_BT_HCI_ACL_FLOW_CONTROL )
99/* Following build configurations use configurable CONFIG_BT_BUF_CMD_TX_COUNT:
1010 * 1. Host + Controller build with and without Controller to Host data flow control, or
2020#define BT_BUF_CMD_TX_AUTO_DATA_LEN_UPDATE COND_CODE_1(CONFIG_BT_AUTO_DATA_LEN_UPDATE, (1), (0))
2121
2222#else /* CONFIG_BT_HCI_RAW */
23- #if defined(CONFIG_HAS_BT_CTLR )
23+ #if defined(CONFIG_BT_CTLR )
2424/* Controller-only build need no additional HCI command buffers */
2525BUILD_ASSERT ((CONFIG_BT_BUF_CMD_TX_COUNT == CONFIG_BT_CTLR_HCI_NUM_CMD_PKT_MAX ),
2626 "Mismatch in allocated HCI command buffers compared to Controller supported value." );
27- #endif /* CONFIG_HAS_BT_CTLR */
27+ #endif /* CONFIG_BT_CTLR */
2828
2929/* Controller-only build do not enqueue auto initiated HCI commands */
3030#define BT_BUF_CMD_TX_REMOTE_VERSION 0
You can’t perform that action at this time.
0 commit comments