Home
last modified time | relevance | path

Searched refs:phy_req (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c890 static void check_phy_update(bool is_local, struct pdu_data_llctrl_phy_req *phy_req, in check_phy_update() argument
894 PDU_PDU_MAX_OCTETS, PDU_DC_MAX_US(PDU_PDU_MAX_OCTETS, phy_req->tx_phys), in check_phy_update()
895 PDU_PDU_MAX_OCTETS, PDU_DC_MAX_US(PDU_PDU_MAX_OCTETS, phy_req->rx_phys) in check_phy_update()
926 check_current_phy_state(&conn, phy_req->tx_phys, PREFER_S2_CODING, phy_req->tx_phys); in check_phy_update()
928 check_pref_phy_state(&conn, phy_req->rx_phys, phy_req->tx_phys); in check_phy_update()
946 static void run_phy_update_central(bool is_local, struct pdu_data_llctrl_phy_req *phy_req, in run_phy_update_central() argument
953 .c_to_p_phy = phy_req->tx_phys, in run_phy_update_central()
954 .p_to_c_phy = phy_req->rx_phys }; in run_phy_update_central()
964 lt_rx(LL_PHY_REQ, &conn, &tx, phy_req); in run_phy_update_central()
1011 check_phy_update(is_local, phy_req, ctx_num_at_end, dle_ntf); in run_phy_update_central()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_pdu.c454 pdu->len = PDU_DATA_LLCTRL_LEN(phy_req); in llcp_pdu_encode_phy_req()
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()
Dpdu.h938 struct pdu_data_llctrl_phy_req phy_req; member
Dull_llcp.c1711 return VALIDATE_PDU_LEN(pdu, phy_req);
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c222 offsetof(struct pdu_data_llctrl, phy_req) + sizeof(struct pdu_data_llctrl_phy_req); in helper_pdu_encode_phy_req()
224 pdu->llctrl.phy_req.rx_phys = p->rx_phys; in helper_pdu_encode_phy_req()
225 pdu->llctrl.phy_req.tx_phys = p->tx_phys; in helper_pdu_encode_phy_req()
756 offsetof(struct pdu_data_llctrl, phy_req) + in helper_pdu_verify_phy_req()
761 zassert_equal(pdu->llctrl.phy_req.rx_phys, p->rx_phys, in helper_pdu_verify_phy_req()
763 zassert_equal(pdu->llctrl.phy_req.tx_phys, p->tx_phys, in helper_pdu_verify_phy_req()