1 /*
2  * Copyright (c) 2018-2021 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 void lll_scan_isr_resume(void *param);
8 bool lll_scan_isr_rx_check(const struct lll_scan *lll, uint8_t irkmatch_ok,
9 			   uint8_t devmatch_ok, uint8_t rl_idx);
10 bool lll_scan_adva_check(const struct lll_scan *lll, uint8_t addr_type,
11 			 const uint8_t *addr, uint8_t rl_idx);
12 bool lll_scan_ext_tgta_check(const struct lll_scan *lll, bool pri, bool is_init,
13 			     const struct pdu_adv *pdu, uint8_t rl_idx,
14 			     bool *const dir_report);
15 void lll_scan_prepare_connect_req(struct lll_scan *lll, struct pdu_adv *pdu_tx,
16 				  uint8_t phy, uint8_t phy_flags_rx,
17 				  uint8_t adv_tx_addr, uint8_t *adv_addr,
18 				  uint8_t init_tx_addr, uint8_t *init_addr,
19 				  uint32_t *conn_space_us);
20 uint8_t lll_scan_aux_setup(struct pdu_adv *pdu, uint8_t pdu_phy,
21 			   uint8_t pdu_phy_flags_rx, radio_isr_cb_t setup_cb,
22 			   void *param);
23 void lll_scan_aux_isr_aux_setup(void *param);
24 bool lll_scan_aux_addr_match_get(const struct lll_scan *lll,
25 				 const struct pdu_adv *pdu,
26 				 uint8_t *const devmatch_ok,
27 				 uint8_t *const devmatch_id,
28 				 uint8_t *const irkmatch_ok,
29 				 uint8_t *const irkmatch_id);
30