Bluetooth: controller: complete DF TX params set in conn mode
HCI_LE_Set_Connection_CTE_Transmit_Parameters host command was not completely implemented in controller. There were missign storage of TX parameters in ll_conn instance. The commit adds missing part of the command handling. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
f650fd99e0
commit
1ff9baf010
9 changed files with 81 additions and 26 deletions
|
@ -2858,7 +2858,7 @@ static void le_df_connectionless_iq_report(struct pdu_data *pdu_rx,
|
|||
}
|
||||
#endif /* CONFIG_BT_CTLR_DF_SCAN_CTE_RX */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_RSP)
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_TX)
|
||||
static void le_df_set_conn_cte_tx_params(struct net_buf *buf,
|
||||
struct net_buf **evt)
|
||||
{
|
||||
|
@ -2879,7 +2879,7 @@ static void le_df_set_conn_cte_tx_params(struct net_buf *buf,
|
|||
rp->status = status;
|
||||
rp->handle = handle_le16;
|
||||
}
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_RSP */
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_TX */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_REQ)
|
||||
static void le_df_set_conn_cte_rx_params(struct net_buf *buf, struct net_buf **evt)
|
||||
|
@ -4238,11 +4238,11 @@ static int controller_cmd_handle(uint16_t ocf, struct net_buf *cmd,
|
|||
case BT_OCF(BT_HCI_OP_LE_READ_ANT_INFO):
|
||||
le_df_read_ant_inf(cmd, evt);
|
||||
break;
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_RSP)
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_TX)
|
||||
case BT_OCF(BT_HCI_OP_LE_SET_CONN_CTE_TX_PARAMS):
|
||||
le_df_set_conn_cte_tx_params(cmd, evt);
|
||||
break;
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_RSP */
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_TX */
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_REQ)
|
||||
case BT_OCF(BT_HCI_OP_LE_SET_CONN_CTE_RX_PARAMS):
|
||||
le_df_set_conn_cte_rx_params(cmd, evt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue