Searched refs:pu (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.7.0/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_valid(ctx->data.pu.c_to_p_phy) || !phy_valid(ctx->data.pu.p_to_c_phy)) { in pu_check_update_ind() 208 ctx->data.pu.error = BT_HCI_ERR_UNSUPP_FEATURE_PARAM_VAL; in pu_check_update_ind() [all …]
|
D | ull_llcp_pdu.c | 450 pdu->llctrl.phy_req.rx_phys = ctx->data.pu.rx; in llcp_pdu_encode_phy_req() 451 pdu->llctrl.phy_req.tx_phys = ctx->data.pu.tx; in llcp_pdu_encode_phy_req() 456 ctx->data.pu.rx = pdu->llctrl.phy_req.tx_phys; in llcp_pdu_decode_phy_req() 457 ctx->data.pu.tx = pdu->llctrl.phy_req.rx_phys; in llcp_pdu_decode_phy_req() 471 ctx->data.pu.instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in llcp_pdu_decode_phy_update_ind() 472 ctx->data.pu.c_to_p_phy = pdu->llctrl.phy_upd_ind.c_to_p_phy; in llcp_pdu_decode_phy_update_ind() 473 ctx->data.pu.p_to_c_phy = pdu->llctrl.phy_upd_ind.p_to_c_phy; in llcp_pdu_decode_phy_update_ind() 483 pdu->llctrl.phy_upd_ind.instant = sys_cpu_to_le16(ctx->data.pu.instant); in llcp_pdu_encode_phy_update_ind() 484 pdu->llctrl.phy_upd_ind.c_to_p_phy = ctx->data.pu.c_to_p_phy; in llcp_pdu_encode_phy_update_ind() 485 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 | 318 if (ctx->proc == PROC_PHY_UPDATE && ctx->data.pu.ntf_dle_node) { in llcp_nodes_release() 320 ctx->data.pu.ntf_dle_node->hdr.link->mem = conn->llcp.rx_node_release; in llcp_nodes_release() 321 ctx->data.pu.ntf_dle_node->hdr.type = NODE_RX_TYPE_RELEASE; in llcp_nodes_release() 322 conn->llcp.rx_node_release = ctx->data.pu.ntf_dle_node; in llcp_nodes_release() 739 ctx->data.pu.tx = tx; in ull_cp_phy_update() 740 ctx->data.pu.flags = flags; in ull_cp_phy_update() 741 ctx->data.pu.rx = rx; in ull_cp_phy_update() 742 ctx->data.pu.host_initiated = host_initiated; in ull_cp_phy_update()
|
D | ull_llcp_internal.h | 218 } pu; member
|
/Zephyr-Core-3.7.0/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() 597 struct node_rx_pu pu = { .status = BT_HCI_ERR_SUCCESS }; in ZTEST() local 689 struct node_rx_pu pu = { .status = BT_HCI_ERR_SUCCESS }; in ZTEST() local [all …]
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/subsys/bluetooth/controller/hci/ |
D | hci.c | 8359 struct node_rx_pu *pu; local 8361 pu = (void *)pdu_data; 8365 LOG_WRN("handle: 0x%04x, status: %x, tx: %x, rx: %x.", handle, pu->status, 8366 find_lsb_set(pu->tx), find_lsb_set(pu->rx)); 8372 sep->status = pu->status; 8374 sep->tx_phy = find_lsb_set(pu->tx); 8375 sep->rx_phy = find_lsb_set(pu->rx);
|