From 03a75e17dddd436debb24c19f5dd5347c89926c0 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Mon, 14 Aug 2017 15:22:24 +0200 Subject: [PATCH] Bluetooth: controller: Enable Extended Scan Filter Policies bit Whenever privacy is enabled, we support the Extended Scan Filter Policies functionality, and therefore we must show it in the bitfield of LE supported features for the controller. Signed-off-by: Carles Cufi --- subsys/bluetooth/controller/ll_sw/ctrl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subsys/bluetooth/controller/ll_sw/ctrl.h b/subsys/bluetooth/controller/ll_sw/ctrl.h index 0fc991f9421..c0f9ec14039 100644 --- a/subsys/bluetooth/controller/ll_sw/ctrl.h +++ b/subsys/bluetooth/controller/ll_sw/ctrl.h @@ -53,8 +53,10 @@ #if defined(CONFIG_BT_CTLR_PRIVACY) #define RADIO_BLE_FEAT_BIT_PRIVACY BIT64(BT_LE_FEAT_BIT_PRIVACY) +#define RADIO_BLE_FEAT_BIT_EXT_SCAN BIT64(BT_LE_FEAT_BIT_EXT_SCAN) #else /* !CONFIG_BT_CTLR_PRIVACY */ #define RADIO_BLE_FEAT_BIT_PRIVACY 0 +#define RADIO_BLE_FEAT_BIT_EXT_SCAN 0 #endif /* !CONFIG_BT_CTLR_PRIVACY */ #if defined(CONFIG_BT_CTLR_CHAN_SEL_2) @@ -133,6 +135,7 @@ RADIO_BLE_FEAT_BIT_PING | \ RADIO_BLE_FEAT_BIT_DLE | \ RADIO_BLE_FEAT_BIT_PRIVACY | \ + RADIO_BLE_FEAT_BIT_EXT_SCAN | \ RADIO_BLE_FEAT_BIT_PHY_2M | \ RADIO_BLE_FEAT_BIT_PHY_CODED | \ RADIO_BLE_FEAT_BIT_CHAN_SEL_2)