bluetooth: controller: BT_CTLR_CONN_RSSI as a shared controller opt
Use a helper config BT_CTLR_CONN_RSSI_SUPPORT so that it is only enabled when supported by the controller. Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
This commit is contained in:
parent
505ea3ee20
commit
69867a48db
2 changed files with 11 additions and 6 deletions
|
@ -51,9 +51,11 @@ config BT_CTLR_DTM_HCI_SUPPORT
|
||||||
config BT_CTLR_SMI_SUPPORT
|
config BT_CTLR_SMI_SUPPORT
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config BT_CTLR_CONN_RSSI_SUPPORT
|
||||||
|
bool
|
||||||
|
|
||||||
config BT_CTLR
|
config BT_CTLR
|
||||||
bool "Bluetooth Controller"
|
bool "Bluetooth Controller"
|
||||||
select BT_CTLR_CONN_RSSI if BT_CONN && BT_HCI_RAW
|
|
||||||
help
|
help
|
||||||
Enables support for SoC native controller implementations.
|
Enables support for SoC native controller implementations.
|
||||||
|
|
||||||
|
@ -352,6 +354,13 @@ config BT_CTLR_MIN_USED_CHAN
|
||||||
Enable support for Bluetooth 5.0 Minimum Number of Used Channels
|
Enable support for Bluetooth 5.0 Minimum Number of Used Channels
|
||||||
Procedure in the Controller.
|
Procedure in the Controller.
|
||||||
|
|
||||||
|
config BT_CTLR_CONN_RSSI
|
||||||
|
bool "Connection RSSI"
|
||||||
|
depends on BT_CTLR_CONN_RSSI_SUPPORT
|
||||||
|
default y if BT_HCI_RAW
|
||||||
|
help
|
||||||
|
Enable connection RSSI measurement.
|
||||||
|
|
||||||
endif # BT_CONN
|
endif # BT_CONN
|
||||||
|
|
||||||
config BT_CTLR_CHAN_SEL_2
|
config BT_CTLR_CHAN_SEL_2
|
||||||
|
|
|
@ -27,6 +27,7 @@ config BT_LLL_VENDOR_NORDIC
|
||||||
select BT_CTLR_CHAN_SEL_2_SUPPORT
|
select BT_CTLR_CHAN_SEL_2_SUPPORT
|
||||||
select BT_CTLR_MIN_USED_CHAN_SUPPORT
|
select BT_CTLR_MIN_USED_CHAN_SUPPORT
|
||||||
select BT_CTLR_DTM_HCI_SUPPORT
|
select BT_CTLR_DTM_HCI_SUPPORT
|
||||||
|
select BT_CTLR_CONN_RSSI_SUPPORT
|
||||||
|
|
||||||
select BT_CTLR_XTAL_ADVANCED_SUPPORT
|
select BT_CTLR_XTAL_ADVANCED_SUPPORT
|
||||||
select BT_CTLR_SCHED_ADVANCED_SUPPORT
|
select BT_CTLR_SCHED_ADVANCED_SUPPORT
|
||||||
|
@ -374,11 +375,6 @@ config BT_CTLR_TX_RETRY_DISABLE
|
||||||
would happen in the next connection event instead of repeated retries
|
would happen in the next connection event instead of repeated retries
|
||||||
in the current connection event.
|
in the current connection event.
|
||||||
|
|
||||||
config BT_CTLR_CONN_RSSI
|
|
||||||
bool "Connection RSSI"
|
|
||||||
help
|
|
||||||
Enable connection RSSI measurement.
|
|
||||||
|
|
||||||
config BT_CTLR_CONN_RSSI_EVENT
|
config BT_CTLR_CONN_RSSI_EVENT
|
||||||
bool "Connection RSSI event"
|
bool "Connection RSSI event"
|
||||||
depends on BT_CTLR_CONN_RSSI
|
depends on BT_CTLR_CONN_RSSI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue