Bluetooth: Controller: llcp: Make remote CTE REQ to compile with CTE RSP
Part of the CTE request procdure that is related with handling of remote request should be compiled when CTE RSP is enabled. Withouth it CTE response will not work. Local CTE request does not need code reponsible for handling of remote reques. The commit changes conditional compilation guards. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
e3eb224cd0
commit
6587336a5b
5 changed files with 22 additions and 13 deletions
|
@ -583,9 +583,15 @@ void llcp_ntf_encode_length_change(struct ll_conn *conn,
|
|||
*/
|
||||
void llcp_pdu_encode_cte_req(struct proc_ctx *ctx, struct pdu_data *pdu);
|
||||
void llcp_ntf_encode_cte_req(struct ll_conn *conn, struct pdu_data *pdu);
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_REQ */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_RSP)
|
||||
/*
|
||||
* Constant Tone Response Procedure Helper
|
||||
*/
|
||||
void llcp_pdu_decode_cte_req(struct ll_conn *conn, struct pdu_data *pdu);
|
||||
void llcp_pdu_encode_cte_rsp(struct ll_conn *conn, struct pdu_data *pdu);
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_REQ */
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_RSP */
|
||||
|
||||
#ifdef ZTEST_UNITTEST
|
||||
bool lr_is_disconnected(struct ll_conn *conn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue