Bluetooth: Controller: Add Kconfig to enable CTE RX in conn mode
The CTE reception and sampling in connected mode was enabled with CONFIG_BT_CTLR_DF_CONN_CTE_REQ. This is a separate fearure tha can be enabled when CTE reqest procedure is disabled. What more the CONFIG_BT_CTLR_DF_CONN_CTE_REQ is dependent on CONFIG_BT_CTLR_DF_CONN_CTE_RX, not other way around. The commit adds separate Kconfig to provide such possibility. Also changes compilation guards for code related with the CTE reception and sampling. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
4080b03b0b
commit
c5812bab5e
11 changed files with 62 additions and 62 deletions
|
@ -148,9 +148,9 @@ struct lll_conn {
|
|||
int8_t tx_pwr_lvl;
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_BT_CTRL_DF_CONN_CTE_RX)
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_RX)
|
||||
struct lll_df_conn_rx_cfg df_rx_cfg;
|
||||
#endif /* CONFIG_BT_CTRL_DF_CONN_CTE_RX */
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_RX */
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_TX)
|
||||
struct lll_df_conn_tx_cfg df_tx_cfg;
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_TX */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue