From d99052b3163092bca1aba5e1dfc0e537c3636dba Mon Sep 17 00:00:00 2001 From: Erik Brockhoff Date: Wed, 30 Nov 2022 10:25:24 +0100 Subject: [PATCH] Bluetooth: controller: set bit to indicate support for Request Peer SCA Setting bit to indicate that LE Request Peer SCA command is supported Signed-off-by: Erik Brockhoff --- subsys/bluetooth/controller/hci/hci.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index 88af97eb03f..ef13a8a7781 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -954,6 +954,10 @@ static void read_supported_commands(struct net_buf *buf, struct net_buf **evt) /* LE Set PHY Command. */ rp->commands[35] |= BIT(6); #endif /* CONFIG_BT_CTLR_PHY */ +#if defined(CONFIG_BT_CTLR_SCA_UPDATE) + /* LE Request Peer SCA */ + rp->commands[43] |= BIT(2); +#endif /* CONFIG_BT_CTLR_SCA_UPDATE */ #endif /* CONFIG_BT_CONN */ #if defined(CONFIG_BT_CTLR_DTM_HCI)