1 /*
2  * Copyright (c) 2019 Oticon A/S
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #if defined(CONFIG_BT_CTLR_USER_EXT)
8 
9 #include <zephyr/toolchain.h>
10 #include <zephyr/types.h>
11 #include <zephyr/net_buf.h>
12 
13 #include "util/memq.h"
14 
15 #include "ll_sw/pdu_df.h"
16 #include "lll/pdu_vendor.h"
17 #include "ll_sw/pdu.h"
18 #include "ll_sw/lll.h"
19 #include "hci/hci_user_ext.h"
20 
21 /* The test is made to show that hci.c and other code can compile when
22  * certain Kconfig options are set. This includes functions that are
23  * used for proprietary user extension. The function implementations
24  * in this file are simple stubs without functional behavior.
25  */
26 
hci_user_ext_get_class(struct node_rx_pdu * node_rx)27 int8_t hci_user_ext_get_class(struct node_rx_pdu *node_rx)
28 {
29 	return 0;
30 }
31 
hci_user_ext_encode_control(struct node_rx_pdu * node_rx,struct pdu_data * pdu_data,struct net_buf * buf)32 void hci_user_ext_encode_control(struct node_rx_pdu *node_rx, struct pdu_data *pdu_data, struct net_buf *buf)
33 {
34 	return;
35 }
36 
37 #endif
38