Bluetooth: controller: lll: add TX configuration of CTE in conn mode
Add configuration of transmission of CTE in connected mode. The transmission is enabled only for PDUs that have CTE present (CP) bit set to 1. Radio peripheral is configued by df_cte_tx_configure to transmit CTE. The same parameters are set for connected and connectionless mode. The function was changed to re-use the same code for configuration of CTE in both modes. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
1dcbe73cc8
commit
aa3090dd7d
6 changed files with 170 additions and 39 deletions
|
@ -2060,9 +2060,11 @@ void ull_pdu_data_init(struct pdu_data *pdu_tx)
|
|||
|
||||
pdu_tx->cp = false;
|
||||
pdu_tx->rfu = 0U;
|
||||
#if !defined(CONFIG_SOC_OPENISA_RV32M1_RISCV32)
|
||||
#if !defined(CONFIG_BT_CTLR_DATA_LENGTH_CLEAR)
|
||||
pdu_tx->resv = 0U;
|
||||
#endif /* CONFIG_BT_CTLR_DATA_LENGTH_CLEAR */
|
||||
#endif /* !CONFIG_SOC_OPENISA_RV32M1_RISCV32 */
|
||||
}
|
||||
|
||||
static int init_reset(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue