Bluetooth: controller: Set Extended Advertising feature bit
Update supported features bitmap with Extended Advertising bit. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
e20455b9cc
commit
2037ebd58a
1 changed files with 21 additions and 14 deletions
|
@ -78,18 +78,6 @@
|
|||
#define LL_FEAT_BIT_PHY_2M 0
|
||||
#endif /* !CONFIG_BT_CTLR_PHY_2M */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_PHY_CODED)
|
||||
#define LL_FEAT_BIT_PHY_CODED BIT64(BT_LE_FEAT_BIT_PHY_CODED)
|
||||
#else /* !CONFIG_BT_CTLR_PHY_CODED */
|
||||
#define LL_FEAT_BIT_PHY_CODED 0
|
||||
#endif /* !CONFIG_BT_CTLR_PHY_CODED */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_SMI_RX)
|
||||
#define LL_FEAT_BIT_SMI_RX BIT64(BT_LE_FEAT_BIT_SMI_RX)
|
||||
#else /* !CONFIG_BT_CTLR_SMI_RX */
|
||||
#define LL_FEAT_BIT_SMI_RX 0
|
||||
#endif /* !CONFIG_BT_CTLR_SMI_RX */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_SMI_TX)
|
||||
#if defined(CONFIG_BT_CTLR_SMI_TX_SETTING)
|
||||
#define LL_FEAT_BIT_SMI_TX (ll_settings_smi_tx() ? \
|
||||
|
@ -101,6 +89,24 @@
|
|||
#define LL_FEAT_BIT_SMI_TX 0
|
||||
#endif /* !CONFIG_BT_CTLR_SMI_TX */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_SMI_RX)
|
||||
#define LL_FEAT_BIT_SMI_RX BIT64(BT_LE_FEAT_BIT_SMI_RX)
|
||||
#else /* !CONFIG_BT_CTLR_SMI_RX */
|
||||
#define LL_FEAT_BIT_SMI_RX 0
|
||||
#endif /* !CONFIG_BT_CTLR_SMI_RX */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_PHY_CODED)
|
||||
#define LL_FEAT_BIT_PHY_CODED BIT64(BT_LE_FEAT_BIT_PHY_CODED)
|
||||
#else /* !CONFIG_BT_CTLR_PHY_CODED */
|
||||
#define LL_FEAT_BIT_PHY_CODED 0
|
||||
#endif /* !CONFIG_BT_CTLR_PHY_CODED */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_ADV_EXT)
|
||||
#define LL_FEAT_BIT_EXT_ADV BIT64(BT_LE_FEAT_BIT_EXT_ADV)
|
||||
#else /* !CONFIG_BT_CTLR_ADV_EXT */
|
||||
#define LL_FEAT_BIT_EXT_ADV 0
|
||||
#endif /* !CONFIG_BT_CTLR_ADV_EXT */
|
||||
|
||||
#define LL_FEAT_BIT_MASK 0x1FFFF
|
||||
#define LL_FEAT_BIT_MASK_VALID 0x1CF2F
|
||||
#define LL_FEAT_FILTER_OCTET0 0x1FF00
|
||||
|
@ -113,8 +119,9 @@
|
|||
LL_FEAT_BIT_PRIVACY | \
|
||||
LL_FEAT_BIT_EXT_SCAN | \
|
||||
LL_FEAT_BIT_PHY_2M | \
|
||||
LL_FEAT_BIT_PHY_CODED | \
|
||||
LL_FEAT_BIT_SMI_RX | \
|
||||
LL_FEAT_BIT_SMI_TX | \
|
||||
LL_FEAT_BIT_SMI_RX | \
|
||||
LL_FEAT_BIT_PHY_CODED | \
|
||||
LL_FEAT_BIT_EXT_ADV | \
|
||||
LL_FEAT_BIT_CHAN_SEL_2 | \
|
||||
LL_FEAT_BIT_MIN_USED_CHAN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue