Home
last modified time | relevance | path

Searched refs:BDADDR_SIZE (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dll_addr.c38 static uint8_t pub_addr[BDADDR_SIZE];
39 static uint8_t rnd_addr[BDADDR_SIZE];
60 (void)memcpy(rnd_addr, bdaddr, BDADDR_SIZE);
62 (void)memset(rnd_addr, 0, BDADDR_SIZE);
66 (void)memcpy(pub_addr, bdaddr, BDADDR_SIZE);
68 (void)memset(pub_addr, 0, BDADDR_SIZE);
94 memcpy(bdaddr, addr, BDADDR_SIZE);
Dull_adv_types.h32 uint8_t rnd_addr[BDADDR_SIZE];
52 uint8_t peer_addr[BDADDR_SIZE];
56 uint8_t own_id_addr[BDADDR_SIZE];
Dull_conn_types.h258 uint8_t own_id_addr[BDADDR_SIZE];
259 uint8_t peer_id_addr[BDADDR_SIZE];
272 uint8_t peer_addr[BDADDR_SIZE];
274 uint8_t peer_rpa[BDADDR_SIZE];
275 uint8_t local_rpa[BDADDR_SIZE];
Dlll_scan.h17 uint8_t adv_addr[BDADDR_SIZE];
56 uint8_t init_addr[BDADDR_SIZE];
Dull_adv_aux.c104 (void)memcpy(adv->rnd_addr, addr, BDADDR_SIZE); in ll_adv_aux_random_addr_set()
530 dptr += BDADDR_SIZE;
535 dptr += BDADDR_SIZE;
1175 dptr += BDADDR_SIZE; in ll_adv_aux_sr_data_set()
1180 dptr += BDADDR_SIZE; in ll_adv_aux_sr_data_set()
1312 BDADDR_SIZE); in ll_adv_aux_sr_data_set()
1658 pri_dptr_prev += BDADDR_SIZE; in ull_adv_aux_hdr_set_clear()
1661 sec_dptr_prev += BDADDR_SIZE; in ull_adv_aux_hdr_set_clear()
1663 sec_dptr += BDADDR_SIZE; in ull_adv_aux_hdr_set_clear()
1671 sec_dptr += BDADDR_SIZE; in ull_adv_aux_hdr_set_clear()
[all …]
Dpdu.h22 #define BDADDR_SIZE 6 macro
23 #define ADVA_SIZE BDADDR_SIZE
24 #define SCANA_SIZE BDADDR_SIZE
25 #define INITA_SIZE BDADDR_SIZE
26 #define TARGETA_SIZE BDADDR_SIZE
31 #define TGTA_OFFSET (ADVA_OFFSET + BDADDR_SIZE)
377 uint8_t addr[BDADDR_SIZE];
382 uint8_t adv_addr[BDADDR_SIZE];
383 uint8_t tgt_addr[BDADDR_SIZE];
387 uint8_t addr[BDADDR_SIZE];
[all …]
Dull_peripheral.c75 uint8_t peer_id_addr[BDADDR_SIZE];
76 uint8_t peer_addr[BDADDR_SIZE];
103 memcpy(peer_addr, pdu_adv->connect_ind.init_addr, BDADDR_SIZE);
117 memcpy(peer_id_addr, peer_addr, BDADDR_SIZE);
263 BDADDR_SIZE);
265 memset(&cc->local_rpa[0], 0x0, BDADDR_SIZE);
270 memcpy(cc->peer_rpa, peer_addr, BDADDR_SIZE);
272 memset(cc->peer_rpa, 0x0, BDADDR_SIZE);
277 memcpy(cc->peer_addr, peer_id_addr, BDADDR_SIZE);
Dull_central.c112 if (own_id_addr_type && !mem_nz((void *)own_id_addr, BDADDR_SIZE)) { in ll_create_connection()
400 memcpy(lll->adv_addr, peer_addr, BDADDR_SIZE); in ll_create_connection()
678 uint8_t peer_addr[BDADDR_SIZE];
699 memcpy(peer_addr, &pdu_tx->connect_ind.adv_addr[0], BDADDR_SIZE);
720 BDADDR_SIZE);
722 memset(&cc->local_rpa[0], 0x0, BDADDR_SIZE);
733 memcpy(&cc->peer_rpa[0], &peer_addr[0], BDADDR_SIZE);
735 memset(&cc->peer_rpa[0], 0x0, BDADDR_SIZE);
740 memcpy(cc->peer_addr, &peer_addr[0], BDADDR_SIZE);
Dull_sync_types.h35 uint8_t peer_id_addr[BDADDR_SIZE];
Dull_adv.c461 memcpy(&adv->peer_addr, direct_addr, BDADDR_SIZE);
468 memcpy(&pdu->direct_ind.tgt_addr[0], direct_addr, BDADDR_SIZE);
496 pri_dptr_prev += BDADDR_SIZE;
506 pri_dptr += BDADDR_SIZE;
513 pri_dptr_prev += BDADDR_SIZE;
519 pri_dptr += BDADDR_SIZE;
645 pri_dptr_prev -= BDADDR_SIZE;
648 pri_dptr -= BDADDR_SIZE;
650 memcpy(pri_dptr, direct_addr, BDADDR_SIZE);
680 pdu->len = BDADDR_SIZE;
[all …]
Dull_filter.c122 !memcmp(list[i].id_addr.val, addr, BDADDR_SIZE))
176 !memcmp(pal[i].id_addr.val, addr, BDADDR_SIZE))
284 (void)memcpy(id_addr, rl[rl_idx].id_addr.val, BDADDR_SIZE); in ll_rl_id_addr_get()
616 (void)memcpy(addr, pal[pal_idx].id_addr.val, BDADDR_SIZE); in ull_filter_ull_pal_listed()
964 for (j = 0U; j < BDADDR_SIZE; j++) { in ull_filter_lll_rl_addr_allowed()
970 if (j == BDADDR_SIZE) { in ull_filter_lll_rl_addr_allowed()
1353 !memcmp(filter->bdaddr[index], bdaddr, BDADDR_SIZE)) { in filter_find()
1366 (void)memcpy(&filter->bdaddr[index][0], bdaddr, BDADDR_SIZE); in filter_insert()
1499 BDADDR_SIZE)) { in conn_rpa_update()
1501 BDADDR_SIZE); in conn_rpa_update()
Dlll_filter.h34 uint8_t bdaddr[LLL_FILTER_SIZE][BDADDR_SIZE];
Dull_sync.c166 (void)memcpy(sync->peer_id_addr, adv_addr, BDADDR_SIZE); in ll_sync_create()
896 BDADDR_SIZE); in ull_sync_setup_addr_check()
919 !memcmp(addr, sync->peer_id_addr, BDADDR_SIZE)) { in ull_sync_setup_addr_check()
928 !memcmp(addr, sync->peer_id_addr, BDADDR_SIZE)) { in ull_sync_setup_addr_check()
1876 !memcmp(sync->peer_id_addr, peer_id_addr, BDADDR_SIZE) &&
1960 memcpy(sync->peer_id_addr, adv_addr, BDADDR_SIZE);
Dull_scan_aux.c463 ptr += BDADDR_SIZE; in ull_scan_aux_setup()
467 ptr += BDADDR_SIZE; in ull_scan_aux_setup()
1797 ptr += BDADDR_SIZE; in ull_scan_aux_setup()
1801 ptr += BDADDR_SIZE; in ull_scan_aux_setup()
Dull_scan.c204 if (!mem_nz(ll_addr_get(BT_ADDR_LE_RANDOM), BDADDR_SIZE)) {
Dull_conn.c854 !memcmp(conn->peer_id_addr, peer_id_addr, BDADDR_SIZE) && in ull_conn_peer_connected()
856 !memcmp(conn->own_id_addr, own_id_addr, BDADDR_SIZE)) { in ull_conn_peer_connected()
Dull_adv_sync.c2824 ptr += BDADDR_SIZE;
2829 ptr += BDADDR_SIZE;
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dull_filter.c23 static uint8_t bt_addr[BDADDR_SIZE] = { 0, 0, 0, 0, 0, 0};
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_scan.c736 BDADDR_SIZE);
743 &lll->init_addr[0], BDADDR_SIZE);
746 &pdu_adv_rx->adv_ind.addr[0], BDADDR_SIZE);
904 BDADDR_SIZE);
911 &lll->init_addr[0], BDADDR_SIZE);
914 &pdu_adv_rx->adv_ind.addr[0], BDADDR_SIZE);
1023 !memcmp(lll->adv_addr, &pdu->adv_ind.addr[0], BDADDR_SIZE));
1046 BDADDR_SIZE))) ||
1077 &srsp->scan_rsp.addr[0], BDADDR_SIZE) == 0));
Dlll_adv.c794 &pdu->adv_ind.addr[0], BDADDR_SIZE); in chan_prepare()
976 !memcmp(adv->adv_ind.addr, sr->scan_req.adv_addr, BDADDR_SIZE); in isr_rx_sr_adva_check()
1056 BDADDR_SIZE); in isr_rx_ci_tgta_check()
1065 BDADDR_SIZE)) || in isr_rx_ci_adva_check()
1067 BDADDR_SIZE))); in isr_rx_ci_adva_check()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_aux.c236 BDADDR_SIZE); in prepare_cb()
372 dptr += BDADDR_SIZE; in aux_ptr_get()
377 dptr += BDADDR_SIZE; in aux_ptr_get()
961 memcpy(cr_dptr, &pdu_ci->connect_ind.adv_addr, BDADDR_SIZE); in init_connect_rsp_pdu()
962 cr_dptr += BDADDR_SIZE; in init_connect_rsp_pdu()
966 memcpy(cr_dptr, &pdu_ci->connect_ind.init_addr, BDADDR_SIZE); in init_connect_rsp_pdu()
967 cr_dptr += BDADDR_SIZE; in init_connect_rsp_pdu()
Dlll_scan.c181 !memcmp(lll->adv_addr, addr, BDADDR_SIZE)); in lll_scan_adva_check()
255 memcpy(&pdu_tx->connect_ind.init_addr[0], init_addr, BDADDR_SIZE); in lll_scan_prepare_connect_req()
256 memcpy(&pdu_tx->connect_ind.adv_addr[0], adv_addr, BDADDR_SIZE); in lll_scan_prepare_connect_req()
1312 BDADDR_SIZE);
1319 &lll->init_addr[0], BDADDR_SIZE);
1322 &pdu_adv_rx->adv_ind.addr[0], BDADDR_SIZE);
1463 !memcmp(lll->init_addr, addr, BDADDR_SIZE))) ||
1494 &srsp->scan_rsp.addr[0], BDADDR_SIZE) == 0));
Dlll_scan_aux.c149 pri_dptr += BDADDR_SIZE; in lll_scan_aux_setup()
154 pri_dptr += BDADDR_SIZE; in lll_scan_aux_setup()
1164 BDADDR_SIZE);
1171 BDADDR_SIZE);
1175 BDADDR_SIZE);
1601 BDADDR_SIZE);
1663 pdu_tx->connect_ind.init_addr, BDADDR_SIZE) == 0);
Dlll_adv.c1490 &pdu->adv_ind.addr[0], BDADDR_SIZE); in chan_prepare()
1673 !memcmp(addr, sr->scan_req.adv_addr, BDADDR_SIZE); in isr_rx_sr_adva_check()
1686 !memcmp(tgt_addr, ci->connect_ind.init_addr, BDADDR_SIZE); in isr_rx_ci_tgta_check()
1693 !memcmp(addr, ci->connect_ind.adv_addr, BDADDR_SIZE); in isr_rx_ci_adva_check()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c4450 (void)memcpy(sep->addr.a.val, sync->peer_id_addr, BDADDR_SIZE);
6531 uint8_t data_len = (adv->len - BDADDR_SIZE);
6631 data_len = (adv->len - BDADDR_SIZE);
6735 data_len = (adv->len - BDADDR_SIZE);
6806 !memcmp(lll->init_addr, rx_addr, BDADDR_SIZE)) {
6857 ptr += BDADDR_SIZE;
6861 ptr += BDADDR_SIZE;
7199 ptr += BDADDR_SIZE;
7234 ptr += BDADDR_SIZE;
7665 (void)memcpy(sep->adv_addr.a.val, sync->peer_id_addr, BDADDR_SIZE);
[all …]

12