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 /* The test is made to show that ull.c and other code can compile when
10  * certain Kconfig options are set. This includes functions that are
11  * used for vendor specific behavior, as such the function implementations
12  * in this file are simple stubs without functional behavior.
13  */
14 
ull_user_init(void)15 static inline int ull_user_init(void)
16 {
17 	return 0;
18 }
19 
rx_demux_rx_proprietary(memq_link_t * link,struct node_rx_hdr * rx,memq_link_t * tail,memq_link_t ** head)20 static inline int rx_demux_rx_proprietary(memq_link_t *link,
21 					  struct node_rx_hdr *rx,
22 					  memq_link_t *tail,
23 					  memq_link_t **head)
24 {
25 	return 0;
26 }
27 
ull_proprietary_done(struct node_rx_event_done * evdone)28 static inline void ull_proprietary_done(struct node_rx_event_done *evdone)
29 {
30 	/* Nothing to do */
31 }
32 
33 
ull_conn_interval_min_get(struct ll_conn * conn)34 static inline uint16_t ull_conn_interval_min_get(struct ll_conn *conn)
35 {
36 	/* Just return a value */
37 	return 6;
38 }
39 
40 #endif /* CONFIG_BT_CTLR_USER_EXT */
41