Bluetooth: controller: Conditionally include conn-related options

Only include connection-related options when CONFIG_BLUETOOTH_CONN is
selected, since otherwise this can lead to inconsistencies between
features and supported commands.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2017-05-29 09:58:59 +02:00 committed by Johan Hedberg
commit 3e3a47dfef

View file

@ -120,6 +120,8 @@ config BLUETOOTH_CONTROLLER_RX_PRIO_STACK_SIZE
comment "BLE Controller features"
if BLUETOOTH_CONN
config BLUETOOTH_CONTROLLER_LE_PING
bool "LE Ping"
default y
@ -156,6 +158,8 @@ config BLUETOOTH_CONTROLLER_CHAN_SEL_2
Enable support for Bluetooth 5.0 LE Channel Selection Algorithm #2 in
the Controller.
endif # BLUETOOTH_CONN
config BLUETOOTH_CONTROLLER_ADVANCED_FEATURES
bool "Show advanced features"
help
@ -267,6 +271,8 @@ config BLUETOOTH_CONTROLLER_TIFS_HW
help
Enable use of hardware accelerated tIFS Trx switching.
if BLUETOOTH_CONN
config BLUETOOTH_CONTROLLER_FAST_ENC
bool "Fast Encryption Setup"
help
@ -285,6 +291,8 @@ config BLUETOOTH_CONTROLLER_CONN_RSSI
help
Enable connection RSSI measurement.
endif # BLUETOOTH_CONN
config BLUETOOTH_CONTROLLER_ADV_INDICATION
bool "Advertisement indications"
help