Home
last modified time | relevance | path

Searched refs:rl_idx (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_filter.h41 uint8_t rl_idx; member
53 uint8_t rl_idx; member
92 uint8_t rl_idx; member
101 extern bool ull_filter_lll_lrpa_used(uint8_t rl_idx);
102 extern bt_addr_t *ull_filter_lll_lrpa_get(uint8_t rl_idx);
103 extern bt_addr_t *ull_filter_lll_id_addr_get(uint8_t rl_idx, uint8_t *id_addr_type);
107 extern bool ull_filter_lll_irk_in_fal(uint8_t rl_idx);
111 extern bool ull_filter_lll_rl_idx_allowed(uint8_t irkmatch_ok, uint8_t rl_idx);
114 uint8_t *const rl_idx);
117 uint8_t rl_idx);
[all …]
Dull_filter.c156 static void conn_rpa_update(uint8_t rl_idx);
167 static uint8_t trpa_cache_find(bt_addr_t *prpa_cache_addr, uint8_t rl_idx);
168 static void trpa_cache_add(bt_addr_t *prpa_cache_addr, uint8_t rl_idx);
278 void ll_rl_id_addr_get(uint8_t rl_idx, uint8_t *id_addr_type, uint8_t *id_addr) in ll_rl_id_addr_get() argument
280 LL_ASSERT(rl_idx < CONFIG_BT_CTLR_RL_SIZE); in ll_rl_id_addr_get()
281 LL_ASSERT(rl[rl_idx].taken); in ll_rl_id_addr_get()
283 *id_addr_type = rl[rl_idx].id_addr_type; in ll_rl_id_addr_get()
284 (void)memcpy(id_addr, rl[rl_idx].id_addr.val, BDADDR_SIZE); in ll_rl_id_addr_get()
354 fal[j].rl_idx = i; in ll_rl_add()
364 pal[j].rl_idx = i; in ll_rl_add()
[all …]
Dull_filter.h12 bool ull_filter_ull_pal_listed(const uint8_t rl_idx, uint8_t *const addr_type,
19 const uint8_t *ull_filter_adva_get(uint8_t rl_idx);
20 const uint8_t *ull_filter_tgta_get(uint8_t rl_idx);
Dull_peripheral.c106 uint8_t rl_idx = ftr->rl_idx; local
108 if (rl_idx != FILTER_IDX_NONE) {
110 ll_rl_id_addr_get(rl_idx, &peer_addr_type, peer_id_addr);
261 if (ull_filter_lll_lrpa_used(adv->lll.rl_idx)) {
268 if (rl_idx != FILTER_IDX_NONE) {
Dlll_scan.h53 uint8_t rl_idx; member
Dull_sync_internal.h13 uint8_t addr_type, uint8_t *addr, uint8_t rl_idx);
Dull_llcp_past.c123 uint8_t rl_idx = (uint8_t)(uint32_t)param; in rp_past_resolve_cb() local
147 if (rl_idx != FILTER_IDX_NONE) { in rp_past_resolve_cb()
150 id_addr = ull_filter_lll_id_addr_get(rl_idx, &id_addr_type); in rp_past_resolve_cb()
Dull_central.c380 lll->rl_idx = FILTER_IDX_NONE; in ll_create_connection()
384 lll->rl_idx = ull_filter_rl_find(peer_addr_type, peer_addr, in ll_create_connection()
716 uint8_t rl_idx = ftr->rl_idx; local
725 if (rl_idx != FILTER_IDX_NONE) {
727 ll_rl_id_addr_get(rl_idx, &cc->peer_addr_type,
Dlll_adv.h200 uint8_t rl_idx; member
Dull_adv.c925 lll->rl_idx = FILTER_IDX_NONE;
933 lll->rl_idx = ull_filter_rl_find(adv->peer_addr_type,
936 if (lll->rl_idx != FILTER_IDX_NONE) {
1268 _radio.scanner.rl_idx = rl_idx;
3063 const uint8_t *rpa = ull_filter_adva_get(adv->lll.rl_idx);
3105 rx_addr = ull_filter_tgta_get(adv->lll.rl_idx);
Dull_sync.c884 uint8_t addr_type, uint8_t *addr, uint8_t rl_idx) in ull_sync_setup_addr_check() argument
903 ull_filter_ull_pal_listed(rl_idx, &addr_type, in ull_sync_setup_addr_check()
925 (rl_idx < ll_rl_size_get())) { in ull_sync_setup_addr_check()
926 ll_rl_id_addr_get(rl_idx, &addr_type, addr); in ull_sync_setup_addr_check()
Dlll.h373 uint8_t rl_idx; member
Dull_llcp.c1076 uint8_t rl_idx; in ull_cp_periodic_sync() local
1080 rl_idx = ull_filter_rl_find(addr_type, sync->peer_id_addr, NULL); in ull_cp_periodic_sync()
1083 LL_ASSERT(rl_idx < ll_rl_size_get()); in ull_cp_periodic_sync()
1089 adva = ull_filter_tgta_get(rl_idx); in ull_cp_periodic_sync()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_scan.c62 uint8_t devmatch_ok, uint8_t rl_idx);
65 uint8_t irkmatch_id, uint8_t rl_idx, uint8_t rssi_ready);
68 struct pdu_adv *pdu, uint8_t rl_idx);
70 struct pdu_adv *pdu, uint8_t rl_idx);
73 struct pdu_adv *pdu, uint8_t rl_idx,
80 uint8_t rl_idx, bool dir_report);
361 uint8_t rl_idx; in isr_rx() local
399 rl_idx = devmatch_ok ? in isr_rx()
406 rl_idx = FILTER_IDX_NONE; in isr_rx()
409 rl_idx)) { in isr_rx()
[all …]
Dlll_adv.c65 uint8_t *rl_idx);
74 uint8_t *rl_idx);
77 uint8_t rl_idx);
831 uint8_t rl_idx = irkmatch_ok ? ull_filter_lll_rl_irk_idx(irkmatch_id) : in isr_rx_pdu() local
834 uint8_t rl_idx = FILTER_IDX_NONE; in isr_rx_pdu() local
843 isr_rx_sr_check(lll, pdu_adv, pdu_rx, devmatch_ok, &rl_idx)) { in isr_rx_pdu()
889 &rl_idx) && in isr_rx_pdu()
937 ftr->rl_idx = irkmatch_ok ? rl_idx : FILTER_IDX_NONE; in isr_rx_pdu()
955 uint8_t *rl_idx) in isr_rx_sr_check() argument
961 rl_idx)) || in isr_rx_sr_check()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan.c77 uint8_t rl_idx, uint8_t rssi_ready,
83 uint8_t rl_idx);
88 uint8_t rl_idx, bool *const dir_report);
95 uint8_t irkmatch_ok, uint8_t rl_idx,
146 uint8_t devmatch_ok, uint8_t rl_idx) in lll_scan_isr_rx_check() argument
151 rl_idx))) || in lll_scan_isr_rx_check()
153 (devmatch_ok || ull_filter_lll_irk_in_fal(rl_idx))); in lll_scan_isr_rx_check()
162 const uint8_t *addr, uint8_t rl_idx) in lll_scan_adva_check() argument
166 if (rl_idx != FILTER_IDX_NONE) { in lll_scan_adva_check()
167 return (rl_idx == lll->rl_idx); in lll_scan_adva_check()
[all …]
Dlll_scan_internal.h9 uint8_t devmatch_ok, uint8_t rl_idx);
11 const uint8_t *addr, uint8_t rl_idx);
13 const struct pdu_adv *pdu, uint8_t rl_idx,
Dlll_adv_internal.h58 uint8_t devmatch_ok, uint8_t *rl_idx);
62 uint8_t rl_idx, uint8_t rssi_ready);
68 uint8_t devmatch_ok, uint8_t *rl_idx);
Dlll_scan_aux.c66 uint8_t irkmatch_ok, uint8_t irkmatch_id, uint8_t rl_idx,
75 struct pdu_adv *pdu_rx, uint8_t rl_idx);
778 uint8_t rl_idx; in isr_rx() local
838 rl_idx = devmatch_ok ? in isr_rx()
845 rl_idx = FILTER_IDX_NONE; in isr_rx()
852 rl_idx); in isr_rx()
868 rl_idx, rssi_ready); in isr_rx()
924 uint8_t irkmatch_ok, uint8_t irkmatch_id, uint8_t rl_idx, argument
937 rl_idx, NULL)) {
1007 lrpa = ull_filter_lll_lrpa_get(rl_idx);
[all …]
Dlll_adv.c85 struct pdu_adv *ci, uint8_t rl_idx);
692 uint8_t devmatch_ok, uint8_t *rl_idx) in lll_adv_scan_req_check() argument
698 rl_idx)) || in lll_adv_scan_req_check()
700 (devmatch_ok || ull_filter_lll_irk_in_fal(*rl_idx)))) && in lll_adv_scan_req_check()
711 uint8_t rl_idx, uint8_t rssi_ready) in lll_adv_scan_req_report() argument
728 node_rx->rx_ftr.rl_idx = rl_idx; in lll_adv_scan_req_report()
740 uint8_t devmatch_ok, uint8_t *rl_idx) in lll_adv_connect_ind_check() argument
747 rl_idx) && in lll_adv_connect_ind_check()
753 *rl_idx); in lll_adv_connect_ind_check()
760 rl_idx)) || in lll_adv_connect_ind_check()
[all …]
Dlll_adv_aux.c748 uint8_t rl_idx = irkmatch_ok ? ull_filter_lll_rl_irk_idx(irkmatch_id) : in isr_rx_pdu() local
751 uint8_t rl_idx = FILTER_IDX_NONE; in isr_rx_pdu() local
779 &rl_idx)) { in isr_rx_pdu()
844 err = lll_adv_scan_req_report(lll, pdu_rx, rl_idx, in isr_rx_pdu()
861 devmatch_ok, &rl_idx)) { in isr_rx_pdu()
920 ftr->rl_idx = irkmatch_ok ? rl_idx : FILTER_IDX_NONE; in isr_rx_pdu()
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dull_filter.c43 const uint8_t *ull_filter_tgta_get(uint8_t rl_idx) in ull_filter_tgta_get() argument
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c6457 int8_t rssi, uint8_t rl_idx) argument
6486 if (rl_idx < ll_rl_size_get()) {
6488 ll_rl_id_addr_get(rl_idx, &dir_info->addr.type,
6578 uint8_t rl_idx; local
6587 rl_idx = node_rx->rx_ftr.rl_idx;
6596 ll_rl_crpa_set(0x00, NULL, rl_idx, &adv->adv_ind.addr[0]);
6603 le_dir_adv_report(adv, buf, rssi, rl_idx);
6646 if (rl_idx < ll_rl_size_get()) {
6648 ll_rl_id_addr_get(rl_idx, &adv_info->addr.type,
6705 uint8_t rl_idx; local
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_sw_privacy_unit/src/
Dmain.c42 zassert_equal(trpa_cache[i].rl_idx, FILTER_IDX_NONE, ""); in helper_privacy_clear()
/Zephyr-latest/subsys/bluetooth/controller/include/
Dll.h221 void ll_rl_id_addr_get(uint8_t rl_idx, uint8_t *id_addr_type, uint8_t *id_addr);
227 void ll_rl_crpa_set(uint8_t id_addr_type, uint8_t *id_addr, uint8_t rl_idx, uint8_t *crpa);

12