Bluetooth: controller: Select controller features from SoC capabilities
Select the controller feature support for data length and LE 2M PHY based on the SoC hardware capabilities instead of relying on SoC family. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
b8d13d6fdd
commit
4cc6098af8
6 changed files with 43 additions and 5 deletions
|
@ -32,6 +32,12 @@ config BT_CTLR_EXT_SCAN_FP_SUPPORT
|
|||
config BT_CTLR_PHY_UPDATE_SUPPORT
|
||||
bool
|
||||
|
||||
config BT_CTLR_PHY_2M_SUPPORT
|
||||
bool
|
||||
|
||||
config BT_CTLR_PHY_CODED_SUPPORT
|
||||
bool
|
||||
|
||||
config BT_CTLR_ADV_EXT_SUPPORT
|
||||
bool
|
||||
|
||||
|
@ -334,14 +340,14 @@ config BT_CTLR_PHY
|
|||
|
||||
config BT_CTLR_PHY_2M
|
||||
bool "2Mbps PHY Support"
|
||||
depends on BT_CTLR_PHY && (!SOC_SERIES_NRF51X || BT_CTLR_PHY_2M_NRF)
|
||||
depends on BT_CTLR_PHY && BT_CTLR_PHY_2M_SUPPORT
|
||||
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 && HAS_HW_NRF_RADIO_BLE_CODED
|
||||
depends on BT_CTLR_PHY && BT_CTLR_PHY_CODED_SUPPORT
|
||||
default y
|
||||
help
|
||||
Enable support for Bluetooth 5.0 Coded PHY in the Controller.
|
||||
|
|
|
@ -16,12 +16,16 @@ config BT_LLL_VENDOR_NORDIC
|
|||
select BT_CTLR_CONN_PARAM_REQ_SUPPORT
|
||||
select BT_CTLR_EXT_REJ_IND_SUPPORT
|
||||
select BT_CTLR_SLAVE_FEAT_REQ_SUPPORT
|
||||
select BT_CTLR_DATA_LEN_UPDATE_SUPPORT if !SOC_SERIES_NRF51X || \
|
||||
select BT_CTLR_DATA_LEN_UPDATE_SUPPORT if HAS_HW_NRF_CCM_LFLEN_8BIT || \
|
||||
BT_CTLR_DATA_LENGTH_CLEAR
|
||||
select BT_CTLR_PRIVACY_SUPPORT if !SOC_SERIES_NRF51X
|
||||
select BT_CTLR_EXT_SCAN_FP_SUPPORT
|
||||
select BT_CTLR_PHY_UPDATE_SUPPORT if !SOC_SERIES_NRF51X || \
|
||||
BT_CTLR_PHY_2M_NRF
|
||||
|
||||
select BT_CTLR_PHY_2M_SUPPORT if HAS_HW_NRF_RADIO_BLE_2M || \
|
||||
BT_CTLR_PHY_2M_NRF
|
||||
select BT_CTLR_PHY_CODED_SUPPORT if HAS_HW_NRF_RADIO_BLE_CODED
|
||||
select BT_CTLR_PHY_UPDATE_SUPPORT if BT_CTLR_PHY_2M_SUPPORT || \
|
||||
BT_CTLR_PHY_CODED_SUPPORT
|
||||
select BT_CTLR_ADV_EXT_SUPPORT
|
||||
select BT_CTLR_ADV_PERIODIC_SUPPORT
|
||||
select BT_CTLR_CHAN_SEL_2_SUPPORT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue