Bluetooth: controller: hci: Add missing DF conn-less cmds to supp list
There were missing commands in local supported commands list that are related with connectionless direction finding. The commands are implemented but they haven't been added to HCI_Read_Local_Supported_Commands list. The commit fixes that. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
d3cd0d2f9a
commit
0395f46126
1 changed files with 20 additions and 0 deletions
|
@ -791,6 +791,26 @@ static void read_supported_commands(struct net_buf *buf, struct net_buf **evt)
|
|||
rp->commands[39] |= BIT(2);
|
||||
#endif /* CONFIG_BT_CTLR_PRIVACY */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_DF)
|
||||
#if defined(CONFIG_BT_CTLR_DF_ADV_CTE_TX)
|
||||
/* LE Set Connectionless CTE Transmit Parameters,
|
||||
* LE Set Connectionless CTE Transmit Enable
|
||||
*/
|
||||
rp->commands[39] |= BIT(5) | BIT(6);
|
||||
#endif /* CONFIG_BT_CTLR_DF_ADV_CTE_TX */
|
||||
#if defined(CONFIG_BT_CTLR_DF_SCAN_CTE_RX)
|
||||
/* LE Set Connectionless IQ Sampling Enable */
|
||||
rp->commands[39] |= BIT(7);
|
||||
#endif /* CONFIG_BT_CTLR_DF_SCAN_CTE_RX */
|
||||
/* LE Read Antenna Information */
|
||||
rp->commands[40] |= BIT(4);
|
||||
#endif /* CONFIG_BT_CTLR_DF */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_SYNC_PERIODIC)
|
||||
/* LE Set Periodic Advertising Receive Enable */
|
||||
rp->commands[40] |= BIT(5);
|
||||
#endif /* CONFIG_BT_CTLR_SYNC_PERIODIC */
|
||||
|
||||
#if defined(CONFIG_BT_HCI_RAW) && defined(CONFIG_BT_TINYCRYPT_ECC)
|
||||
bt_hci_ecc_supported_commands(rp->commands);
|
||||
#endif /* CONFIG_BT_HCI_RAW && CONFIG_BT_TINYCRYPT_ECC */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue