1 /*
2  * Copyright (c) 2016 Nordic Semiconductor ASA
3  * Copyright (c) 2016 Vinayak Kariappa Chettimada
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 
9 #include <zephyr/types.h>
10 #include <zephyr/ztest.h>
11 
12 #include <zephyr/bluetooth/hci_types.h>
13 
14 #include "util/mem.h"
15 #include "util/memq.h"
16 #include "pdu_df.h"
17 #include "lll/pdu_vendor.h"
18 #include "pdu.h"
19 
20 #include "lll.h"
21 #include "lll_filter.h"
22 
23 static uint8_t bt_addr[BDADDR_SIZE] = { 0, 0, 0, 0, 0, 0};
24 
25 #define BT_CTLR_RL_SIZE 8
26 
ll_rl_size_get(void)27 uint8_t ll_rl_size_get(void)
28 {
29 	return BT_CTLR_RL_SIZE;
30 }
31 
ull_filter_rl_find(uint8_t id_addr_type,uint8_t const * const id_addr,uint8_t * const free_idx)32 uint8_t ull_filter_rl_find(uint8_t id_addr_type, uint8_t const *const id_addr,
33 			   uint8_t *const free_idx)
34 {
35 	return FILTER_IDX_NONE;
36 }
37 
ull_filter_rpa_update(bool timeout)38 void ull_filter_rpa_update(bool timeout)
39 {
40 
41 }
42 
ull_filter_tgta_get(uint8_t rl_idx)43 const uint8_t *ull_filter_tgta_get(uint8_t rl_idx)
44 {
45 	return bt_addr;
46 }
47