Home
last modified time | relevance | path

Searched refs:pdu_tx (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_scan.c679 struct pdu_adv *pdu_tx; local
720 pdu_tx = (void *)radio_pkt_scratch_get();
721 pdu_tx->type = PDU_ADV_TYPE_CONNECT_IND;
724 pdu_tx->chan_sel = 1;
726 pdu_tx->chan_sel = 0;
729 pdu_tx->rx_addr = pdu_adv_rx->tx_addr;
730 pdu_tx->len = sizeof(struct pdu_adv_connect_ind);
734 pdu_tx->tx_addr = 1;
735 memcpy(&pdu_tx->connect_ind.init_addr[0], lrpa->val,
741 pdu_tx->tx_addr = lll->init_addr_type;
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_central_iso.c129 struct pdu_cis *pdu_tx; in prepare_cb() local
209 pdu_tx = radio_pkt_empty_get(); in prepare_cb()
210 pdu_tx->ll_id = PDU_CIS_LLID_START_CONTINUE; in prepare_cb()
211 pdu_tx->nesn = cis_lll->nesn; in prepare_cb()
212 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in prepare_cb()
213 pdu_tx->cie = (cis_lll->rx.bn_curr > cis_lll->rx.bn); in prepare_cb()
214 pdu_tx->npi = 1U; in prepare_cb()
215 pdu_tx->len = 0U; in prepare_cb()
253 pdu_tx = radio_pkt_empty_get(); in prepare_cb()
254 pdu_tx->ll_id = PDU_CIS_LLID_START_CONTINUE; in prepare_cb()
[all …]
Dlll_scan.c231 void lll_scan_prepare_connect_req(struct lll_scan *lll, struct pdu_adv *pdu_tx, in lll_scan_prepare_connect_req() argument
244 pdu_tx->type = PDU_ADV_TYPE_CONNECT_IND; in lll_scan_prepare_connect_req()
247 pdu_tx->chan_sel = 1; in lll_scan_prepare_connect_req()
249 pdu_tx->chan_sel = 0; in lll_scan_prepare_connect_req()
252 pdu_tx->tx_addr = init_tx_addr; in lll_scan_prepare_connect_req()
253 pdu_tx->rx_addr = adv_tx_addr; in lll_scan_prepare_connect_req()
254 pdu_tx->len = sizeof(struct pdu_adv_connect_ind); in lll_scan_prepare_connect_req()
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()
257 memcpy(&pdu_tx->connect_ind.access_addr[0], in lll_scan_prepare_connect_req()
[all …]
Dlll_scan_aux.c74 struct pdu_adv *pdu_tx,
940 struct pdu_adv *pdu_tx; local
1019 pdu_tx = radio_pkt_scratch_get();
1021 lll_scan_prepare_connect_req(lll, pdu_tx, phy_aux,
1027 radio_pkt_tx_set(pdu_tx);
1083 (void)memcpy(rx->pdu, pdu_tx,
1137 struct pdu_adv *pdu_tx; local
1155 pdu_tx = (void *)radio_pkt_scratch_get();
1156 pdu_tx->type = PDU_ADV_TYPE_SCAN_REQ;
1157 pdu_tx->rx_addr = pdu->tx_addr;
[all …]
Dlll_peripheral_iso.c462 struct pdu_cis *pdu_tx; in isr_rx() local
654 pdu_tx = radio_pkt_empty_get(); in isr_rx()
655 pdu_tx->ll_id = PDU_CIS_LLID_START_CONTINUE; in isr_rx()
656 pdu_tx->nesn = cis_lll->nesn; in isr_rx()
657 pdu_tx->sn = 0U; /* reserved RFU for NULL PDU */ in isr_rx()
658 pdu_tx->cie = cie; in isr_rx()
659 pdu_tx->npi = 1U; in isr_rx()
660 pdu_tx->len = 0U; in isr_rx()
684 pdu_tx = radio_pkt_empty_get(); in isr_rx()
685 pdu_tx->ll_id = PDU_CIS_LLID_START_CONTINUE; in isr_rx()
[all …]
Dlll_scan_internal.h15 void lll_scan_prepare_connect_req(struct lll_scan *lll, struct pdu_adv *pdu_tx,
Dlll_conn.c597 static struct pdu_data *pdu_tx; local
685 pdu_tx = get_last_tx_pdu(lll);
686 LL_ASSERT(pdu_tx);
688 if (pdu_tx->cp) {
689 cte_len = CTE_LEN_US(pdu_tx->octet3.cte_info.time);
Dlll_adv_aux.c864 struct pdu_adv *pdu_tx; in isr_rx_pdu() local
880 pdu_tx = init_connect_rsp_pdu(pdu_rx); in isr_rx_pdu()
881 radio_pkt_tx_set(pdu_tx); in isr_rx_pdu()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_central.c682 struct pdu_adv *pdu_tx; local
693 pdu_tx = (void *)rx->pdu;
698 peer_addr_type = pdu_tx->rx_addr;
699 memcpy(peer_addr, &pdu_tx->connect_ind.adv_addr[0], BDADDR_SIZE);
702 chan_sel = pdu_tx->chan_sel;
707 node = pdu_tx;
719 memcpy(&cc->local_rpa[0], &pdu_tx->connect_ind.init_addr[0],
Dull_conn.c1528 struct pdu_data *pdu_tx; in ull_conn_tx_ack() local
1530 pdu_tx = (void *)tx->pdu; in ull_conn_tx_ack()
1531 LL_ASSERT(pdu_tx->len); in ull_conn_tx_ack()
1533 if (pdu_tx->ll_id == PDU_DATA_LLID_CTRL) { in ull_conn_tx_ack()
1554 pdu_tx->ll_id = PDU_DATA_LLID_RESV; in ull_conn_tx_ack()
1724 struct pdu_data *pdu_tx; in tx_ull_dequeue() local
1726 pdu_tx = (void *)tx->pdu; in tx_ull_dequeue()
1727 if (pdu_tx->ll_id == PDU_DATA_LLID_CTRL) { in tx_ull_dequeue()