Home
last modified time | relevance | path

Searched refs:tx_addr (Results 1 – 19 of 19) sorted by relevance

/Zephyr-Core-2.7.6/include/canbus/
Disotp.h201 const struct isotp_msg_id *tx_addr,
281 const struct isotp_msg_id *tx_addr,
306 const struct isotp_msg_id *tx_addr,
331 const struct isotp_msg_id *tx_addr,
361 const struct isotp_msg_id *tx_addr,
395 struct isotp_msg_id tx_addr; member
416 struct isotp_msg_id tx_addr; member
/Zephyr-Core-2.7.6/tests/subsys/canbus/isotp/implementation/src/
Dmain.c49 const struct isotp_msg_id tx_addr = { variable
69 &rx_addr, &tx_addr, send_complette_cb, NULL); in send_sf()
118 ret = isotp_send(&send_ctx, can_dev, data, len, &rx_addr, &tx_addr, in send_test_data()
216 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, in test_send_receive_net_sf()
232 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, in test_send_receive_sf()
248 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, in test_send_receive_net_blocks()
266 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, in test_send_receive_blocks()
287 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, in test_send_receive_net_single_blocks()
318 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, in test_send_receive_single_block()
342 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, in test_bind_unbind()
[all …]
/Zephyr-Core-2.7.6/subsys/canbus/isotp/
Disotp.c131 .id_type = ctx->tx_addr.id_type, in receive_send_fc()
133 .id = ctx->tx_addr.ext_id in receive_send_fc()
141 if (ctx->tx_addr.use_ext_addr) { in receive_send_fc()
142 *data++ = ctx->tx_addr.ext_addr; in receive_send_fc()
405 ctx->tx_addr.ext_id &= ~(ISOTP_FIXED_ADDR_TA_MASK); in process_ff_sf()
406 ctx->tx_addr.ext_id |= rx_sa << ISOTP_FIXED_ADDR_TA_POS; in process_ff_sf()
408 ctx->tx_addr.ext_id &= ~(ISOTP_FIXED_ADDR_PRIO_MASK); in process_ff_sf()
409 ctx->tx_addr.ext_id |= frame->id & ISOTP_FIXED_ADDR_PRIO_MASK; in process_ff_sf()
600 const struct isotp_msg_id *tx_addr, in isotp_bind() argument
608 __ASSERT(rx_addr && tx_addr, "RX or TX addr is NULL"); in isotp_bind()
[all …]
/Zephyr-Core-2.7.6/tests/subsys/canbus/isotp/conformance/src/
Dmain.c93 const struct isotp_msg_id tx_addr = { variable
173 &rx_addr, &tx_addr, send_complette_cb, ISOTP_N_OK); in send_sf()
202 ret = isotp_send(&send_ctx, can_dev, data, len, &rx_addr, &tx_addr, in send_test_data()
361 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, in test_receive_sf()
417 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr_ext, &tx_addr, in test_receive_sf_ext()
525 send_frame_series(&fc_frame, 1, tx_addr.std_id); in test_send_data()
567 send_frame_series(&fc_frame, 1, tx_addr.std_id); in test_send_data_blocks()
576 send_frame_series(&fc_frame, 1, tx_addr.std_id); in test_send_data_blocks()
587 send_frame_series(&fc_frame, 1, tx_addr.std_id); in test_send_data_blocks()
619 filter_id = attach_msgq(tx_addr.std_id, CAN_STD_ID_MASK); in test_receive_data()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv.c75 static bool isr_rx_sr_adva_check(uint8_t tx_addr, uint8_t *addr,
82 static inline bool isr_rx_ci_adva_check(uint8_t tx_addr, uint8_t *addr,
652 uint8_t tx_addr, uint8_t *addr, in lll_adv_scan_req_check() argument
657 ull_filter_lll_rl_addr_allowed(sr->tx_addr, in lll_adv_scan_req_check()
662 isr_rx_sr_adva_check(tx_addr, addr, sr); in lll_adv_scan_req_check()
665 isr_rx_sr_adva_check(tx_addr, addr, sr); in lll_adv_scan_req_check()
699 uint8_t tx_addr, uint8_t *addr, in lll_adv_connect_ind_check() argument
706 return ull_filter_lll_rl_addr_allowed(ci->tx_addr, in lll_adv_connect_ind_check()
712 isr_rx_ci_adva_check(tx_addr, addr, ci) && in lll_adv_connect_ind_check()
719 ull_filter_lll_rl_addr_allowed(ci->tx_addr, in lll_adv_connect_ind_check()
[all …]
Dlll_adv_internal.h69 uint8_t tx_addr, uint8_t *addr,
78 uint8_t tx_addr, uint8_t *addr,
Dlll_adv_aux.c434 uint8_t tx_addr; in isr_rx_pdu() local
460 tx_addr = pdu_aux->tx_addr; in isr_rx_pdu()
471 lll_adv_scan_req_check(lll, pdu_rx, tx_addr, addr, devmatch_ok, in isr_rx_pdu()
518 lll_adv_connect_ind_check(lll, pdu_rx, tx_addr, addr, in isr_rx_pdu()
605 pdu_cr->tx_addr = pdu_ci->rx_addr; in init_connect_rsp_pdu()
606 pdu_cr->rx_addr = pdu_ci->tx_addr; in init_connect_rsp_pdu()
Dlll_scan.c172 uint8_t tx_addr; in lll_scan_ext_tgta_check() local
194 tx_addr = pdu->tx_addr; in lll_scan_ext_tgta_check()
200 lll_scan_adva_check(lll, tx_addr, adva, rl_idx)) && in lll_scan_ext_tgta_check()
229 pdu_tx->tx_addr = init_tx_addr; in lll_scan_prepare_connect_req()
663 if (ull_filter_lll_rl_enabled() && !irkmatch_ok && pdu->tx_addr &&
1092 pdu_adv_rx->tx_addr,
1213 pdu_tx->rx_addr = pdu_adv_rx->tx_addr;
1218 pdu_tx->tx_addr = 1;
1225 pdu_tx->tx_addr = lll->init_addr_type;
1337 lll_scan_adva_check(lll, pdu->tx_addr, pdu->adv_ind.addr,
[all …]
Dlll_scan_aux.c842 pdu->tx_addr,
977 pdu_tx->rx_addr = pdu->tx_addr;
982 pdu_tx->tx_addr = 1;
989 pdu_tx->tx_addr = lll->init_addr_type;
1356 pdu->rx_addr = pdu_rx->tx_addr;
1412 return lll_scan_adva_check(lll, pdu_rx->tx_addr,
1415 (pdu_rx->rx_addr == pdu_tx->tx_addr) &&
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_scan.c733 pdu_tx->rx_addr = pdu_adv_rx->tx_addr;
738 pdu_tx->tx_addr = 1;
745 pdu_tx->tx_addr = lll->init_addr_type;
902 pdu_tx->rx_addr = pdu_adv_rx->tx_addr;
907 pdu_tx->tx_addr = 1;
914 pdu_tx->tx_addr = lll->init_addr_type;
1021 } else if (!ull_filter_lll_rl_addr_allowed(pdu->tx_addr,
1027 return ((lll->adv_addr_type == pdu->tx_addr) &&
1080 return ((sreq->rx_addr == srsp->tx_addr) &&
Dlll_adv.c968 ull_filter_lll_rl_addr_allowed(sr->tx_addr, in isr_rx_sr_check()
983 return (adv->tx_addr == sr->rx_addr) && in isr_rx_sr_adva_check()
1029 return ull_filter_lll_rl_addr_allowed(ci->tx_addr, in isr_rx_ci_check()
1041 ull_filter_lll_rl_addr_allowed(ci->tx_addr, in isr_rx_ci_check()
1063 return (adv->rx_addr == ci->tx_addr) && in isr_rx_ci_tgta_check()
1071 return (adv->tx_addr == ci->rx_addr) && in isr_rx_ci_adva_check()
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/
Dull_adv_aux.c256 sr_pdu->tx_addr = aux_pdu->tx_addr; in ll_adv_aux_sr_data_set()
584 sec_pdu_prev->tx_addr = 0U; in ull_adv_aux_hdr_set_clear()
597 sec_pdu->tx_addr = sec_pdu_prev->tx_addr; in ull_adv_aux_hdr_set_clear()
617 sec_pdu->tx_addr = own_addr_type & 0x1; in ull_adv_aux_hdr_set_clear()
619 sec_pdu->tx_addr = pri_pdu_prev->tx_addr; in ull_adv_aux_hdr_set_clear()
621 sec_pdu->tx_addr = sec_pdu_prev->tx_addr; in ull_adv_aux_hdr_set_clear()
626 pri_pdu->tx_addr = 0U; in ull_adv_aux_hdr_set_clear()
Dull_adv.c424 pdu->tx_addr = own_addr_type & 0x1;
464 pdu->tx_addr = own_addr_type & 0x1;
467 pdu->tx_addr = 0;
622 pdu->tx_addr = own_addr_type & 0x1;
642 pdu->tx_addr = own_addr_type & 0x1;
666 pdu->tx_addr = own_addr_type & 0x1;
1692 pdu->tx_addr = prev->tx_addr;
1735 pdu->tx_addr = prev->tx_addr;
2657 if (pdu_adv_to_update->tx_addr &&
2712 const uint8_t *tx_addr; local
[all …]
Dpdu.h417 uint8_t tx_addr:1; member
421 uint8_t tx_addr:1;
Dull_adv_sync.c81 pdu->tx_addr = 0U; in ull_adv_sync_pdu_init()
1060 ter_pdu->tx_addr = ter_pdu_prev->tx_addr;
Dull_peripheral.c91 peer_addr_type = pdu_adv->tx_addr;
Dull_scan_aux.c276 if (sync && (pdu->tx_addr == scan->per_scan.adv_addr_type) && in ull_scan_aux_setup()
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/hci/
Dhci.c4656 if (dup_found(adv->type, adv->tx_addr, adv->adv_ind.addr, 0, NULL, 0)) {
4681 dir_info->addr.type = adv->tx_addr;
4740 sr->addr.type = adv->tx_addr;
4780 if (adv->tx_addr) {
4810 if (dup_found(adv->type, adv->tx_addr, adv->adv_ind.addr, 0, NULL, 0)) {
4842 adv_info->addr.type = adv->tx_addr;
4913 if (adv->tx_addr) {
4920 if (dup_found(adv->type, adv->tx_addr, adv->adv_ind.addr, 0, NULL, 0)) {
4951 adv_info->addr.type = adv->tx_addr;
5122 " rssi=%d dB", phy, adv->type, adv->len, adv->tx_addr,
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.c202 if (pdu_adv->tx_addr && BT_ADDR_IS_RPA(rpa)) { in ar_execute()