Searched refs:pu (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp_phy.c | 147 ctx->data.pu.tx = pu_select_phy(ctx->data.pu.tx); in pu_prep_update_ind() 148 ctx->data.pu.rx = pu_select_phy(ctx->data.pu.rx); in pu_prep_update_ind() 150 if (ctx->data.pu.tx != conn->lll.phy_tx) { in pu_prep_update_ind() 151 ctx->data.pu.c_to_p_phy = ctx->data.pu.tx; in pu_prep_update_ind() 153 ctx->data.pu.c_to_p_phy = 0U; in pu_prep_update_ind() 155 if (ctx->data.pu.rx != conn->lll.phy_rx) { in pu_prep_update_ind() 156 ctx->data.pu.p_to_c_phy = ctx->data.pu.rx; in pu_prep_update_ind() 158 ctx->data.pu.p_to_c_phy = 0U; in pu_prep_update_ind() 206 if (!phy_validation_check_phy_ind(ctx->data.pu.c_to_p_phy) || in pu_check_update_ind() 207 !phy_validation_check_phy_ind(ctx->data.pu.p_to_c_phy)) { in pu_check_update_ind() [all …]
|
D | ull_llcp_pdu.c | 456 pdu->llctrl.phy_req.rx_phys = ctx->data.pu.rx; in llcp_pdu_encode_phy_req() 457 pdu->llctrl.phy_req.tx_phys = ctx->data.pu.tx; in llcp_pdu_encode_phy_req() 462 ctx->data.pu.rx = pdu->llctrl.phy_req.tx_phys; in llcp_pdu_decode_phy_req() 463 ctx->data.pu.tx = pdu->llctrl.phy_req.rx_phys; in llcp_pdu_decode_phy_req() 477 ctx->data.pu.instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in llcp_pdu_decode_phy_update_ind() 478 ctx->data.pu.c_to_p_phy = pdu->llctrl.phy_upd_ind.c_to_p_phy; in llcp_pdu_decode_phy_update_ind() 479 ctx->data.pu.p_to_c_phy = pdu->llctrl.phy_upd_ind.p_to_c_phy; in llcp_pdu_decode_phy_update_ind() 489 pdu->llctrl.phy_upd_ind.instant = sys_cpu_to_le16(ctx->data.pu.instant); in llcp_pdu_encode_phy_update_ind() 490 pdu->llctrl.phy_upd_ind.c_to_p_phy = ctx->data.pu.c_to_p_phy; in llcp_pdu_encode_phy_update_ind() 491 pdu->llctrl.phy_upd_ind.p_to_c_phy = ctx->data.pu.p_to_c_phy; in llcp_pdu_encode_phy_update_ind() [all …]
|
D | ull_llcp.c | 333 if (ctx->proc == PROC_PHY_UPDATE && ctx->data.pu.ntf_dle_node) { in llcp_nodes_release() 335 ctx->data.pu.ntf_dle_node->hdr.link->mem = conn->llcp.rx_node_release; in llcp_nodes_release() 336 ctx->data.pu.ntf_dle_node->hdr.type = NODE_RX_TYPE_RELEASE; in llcp_nodes_release() 337 conn->llcp.rx_node_release = ctx->data.pu.ntf_dle_node; in llcp_nodes_release() 754 ctx->data.pu.tx = tx; in ull_cp_phy_update() 755 ctx->data.pu.flags = flags; in ull_cp_phy_update() 756 ctx->data.pu.rx = rx; in ull_cp_phy_update() 757 ctx->data.pu.host_initiated = host_initiated; in ull_cp_phy_update()
|
D | ull_llcp_internal.h | 219 } pu; member
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/ |
D | main.c | 133 struct node_rx_pu pu = { .status = BT_HCI_ERR_SUCCESS }; in ZTEST() local 242 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() 323 struct node_rx_pu pu = { .status = BT_HCI_ERR_UNSUPP_REMOTE_FEATURE }; in ZTEST() local 367 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() 388 struct node_rx_pu pu = { .status = BT_HCI_ERR_SUCCESS }; in ZTEST() local 478 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() 498 struct node_rx_pu pu = { .status = BT_HCI_ERR_SUCCESS }; in ZTEST() local 576 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() 686 struct node_rx_pu pu = { .status = BT_HCI_ERR_SUCCESS }; in ZTEST() local 760 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/ |
D | main.c | 168 struct node_rx_pu pu = { .status = BT_HCI_ERR_SUCCESS }; in ZTEST() local 308 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() 336 struct node_rx_pu pu = { .status = BT_HCI_ERR_SUCCESS }; in ZTEST() local 429 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() 480 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() 508 struct node_rx_pu pu = { 0 }; in ZTEST() local 561 pu.status = BT_HCI_ERR_LL_PROC_COLLISION; in ZTEST() 562 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() 609 pu.status = BT_HCI_ERR_SUCCESS; in ZTEST() 610 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/ |
D | main.c | 897 struct node_rx_pu pu = {.status = BT_HCI_ERR_SUCCESS}; in check_phy_update() local 915 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in check_phy_update()
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 8543 struct node_rx_pu *pu; local 8545 pu = (void *)pdu_data; 8549 LOG_WRN("handle: 0x%04x, status: %x, tx: %x, rx: %x.", handle, pu->status, 8550 find_lsb_set(pu->tx), find_lsb_set(pu->rx)); 8556 sep->status = pu->status; 8558 sep->tx_phy = find_lsb_set(pu->tx); 8559 sep->rx_phy = find_lsb_set(pu->rx);
|