bluetooth: controller: Allow any controller to config PHY support

For the time being this 2M is only selectable for !nRF51 platforms.
Coded PHY is only selectable for nRF platforms supporting Coded PHY.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
This commit is contained in:
Rubin Gerritsen 2020-02-26 08:38:17 +01:00 committed by Johan Hedberg
commit 213c8e9d53

View file

@ -442,6 +442,20 @@ config BT_CTLR_PHY
select BT_CTLR_EXT_REJ_IND select BT_CTLR_EXT_REJ_IND
default y default y
config BT_CTLR_PHY_2M
bool "2Mbps PHY Support"
depends on BT_CTLR_PHY && (!SOC_SERIES_NRF51X || BT_CTLR_PHY_2M_NRF)
default y
help
Enable support for Bluetooth 5.0 2Mbps PHY in the Controller.
config BT_CTLR_PHY_CODED
bool "Coded PHY Support"
depends on (BT_CTLR_PHY || BT_CTLR_ADV_EXT) && HAS_HW_NRF_RADIO_BLE_CODED
default y
help
Enable support for Bluetooth 5.0 Coded PHY in the Controller.
config BT_CTLR_MIN_USED_CHAN config BT_CTLR_MIN_USED_CHAN
bool "Minimum Number of Used Channels" bool "Minimum Number of Used Channels"
depends on BT_CTLR_MIN_USED_CHAN_SUPPORT depends on BT_CTLR_MIN_USED_CHAN_SUPPORT
@ -554,20 +568,6 @@ config BT_CTLR_PHY_2M_NRF
Enable support for Nordic Semiconductor proprietary 2Mbps PHY in the Enable support for Nordic Semiconductor proprietary 2Mbps PHY in the
Controller. Encrypted connections are not supported. Controller. Encrypted connections are not supported.
config BT_CTLR_PHY_2M
bool "2Mbps PHY Support"
depends on BT_CTLR_PHY && (!SOC_SERIES_NRF51X || BT_CTLR_PHY_2M_NRF)
default y
help
Enable support for Bluetooth 5.0 2Mbps PHY in the Controller.
config BT_CTLR_PHY_CODED
bool "Coded PHY Support"
depends on (BT_CTLR_PHY || BT_CTLR_ADV_EXT) && HAS_HW_NRF_RADIO_BLE_CODED
default y
help
Enable support for Bluetooth 5.0 Coded PHY in the Controller.
config BT_CTLR_ZLI config BT_CTLR_ZLI
bool "Use Zero Latency IRQs" bool "Use Zero Latency IRQs"
depends on ZERO_LATENCY_IRQS && BT_LL_SW_SPLIT depends on ZERO_LATENCY_IRQS && BT_LL_SW_SPLIT