Lines Matching full:tx

94 	struct node_tx *tx;  in ZTEST()  local
119 /* Tx Queue should have one LL Control PDU */ in ZTEST()
120 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in ZTEST()
138 /* Release tx node */ in ZTEST()
139 ull_cp_release_tx(&conn, tx); in ZTEST()
169 struct node_tx *tx; in ZTEST() local
194 /* Tx Queue should have one LL Control PDU */ in ZTEST()
195 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in ZTEST()
213 /* Release tx node */ in ZTEST()
214 ull_cp_release_tx(&conn, tx); in ZTEST()
238 struct node_tx *tx; in ZTEST() local
260 /* Tx */ in ZTEST()
269 /* Tx Queue should have one LL Control PDU */ in ZTEST()
270 lt_rx(LL_CTE_RSP, &conn, &tx, &remote_cte_rsp); in ZTEST()
273 /* TX Ack */ in ZTEST()
274 event_tx_ack(&conn, tx); in ZTEST()
279 /* Release tx node */ in ZTEST()
280 ull_cp_release_tx(&conn, tx); in ZTEST()
307 struct node_tx *tx; in ZTEST() local
329 /* Tx */ in ZTEST()
338 /* Tx Queue should have one LL Control PDU */ in ZTEST()
339 lt_rx(LL_CTE_RSP, &conn, &tx, &remote_cte_rsp); in ZTEST()
342 /* TX Ack */ in ZTEST()
343 event_tx_ack(&conn, tx); in ZTEST()
348 /* Release tx node */ in ZTEST()
349 ull_cp_release_tx(&conn, tx); in ZTEST()
386 struct node_tx *tx; in ZTEST() local
413 /* Tx Queue should have one LL Control PDU */ in ZTEST()
414 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in ZTEST()
432 /* Release tx node */ in ZTEST()
433 ull_cp_release_tx(&conn, tx); in ZTEST()
465 struct node_tx *tx; in ZTEST() local
492 /* Tx Queue should have one LL Control PDU */ in ZTEST()
493 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in ZTEST()
511 /* Release tx node */ in ZTEST()
512 ull_cp_release_tx(&conn, tx); in ZTEST()
536 struct node_tx *tx; in ZTEST() local
561 /* Tx */ in ZTEST()
570 /* Tx Queue should have one LL Control PDU */ in ZTEST()
571 lt_rx(LL_REJECT_EXT_IND, &conn, &tx, &remote_reject_ext_ind); in ZTEST()
574 /* TX Ack */ in ZTEST()
575 event_tx_ack(&conn, tx); in ZTEST()
580 /* Release tx node */ in ZTEST()
581 ull_cp_release_tx(&conn, tx); in ZTEST()
608 struct node_tx *tx; in ZTEST() local
633 /* Tx */ in ZTEST()
642 /* Tx Queue should have one LL Control PDU */ in ZTEST()
643 lt_rx(LL_REJECT_EXT_IND, &conn, &tx, &remote_reject_ext_ind); in ZTEST()
646 /* TX Ack */ in ZTEST()
647 event_tx_ack(&conn, tx); in ZTEST()
652 /* Release tx node */ in ZTEST()
653 ull_cp_release_tx(&conn, tx); in ZTEST()
686 struct node_tx *tx; in test_cte_req_ll_unknown_rsp_local() local
709 /* Tx Queue should have one LL Control PDU */ in test_cte_req_ll_unknown_rsp_local()
710 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in test_cte_req_ll_unknown_rsp_local()
731 /* Release tx node */ in test_cte_req_ll_unknown_rsp_local()
732 ull_cp_release_tx(&conn, tx); in test_cte_req_ll_unknown_rsp_local()
758 /* Arbitrary value used for setting effective maximum number of TX/RX octets */
767 "Preferred TX PHY mismatch %d (actual) != %d (expected)", conn->phy_pref_tx, in check_pref_phy_state()
778 "Current TX PHY mismatch %d (actual) != %d (expected)", conn->lll.phy_tx, in check_current_phy_state()
822 /* PHY Coded support is enabled hence it limits the max TX time */ in phy_update_setup()
826 /* Emulate different remote numbers to trigger update of effective max TX octets and time. in phy_update_setup()
839 struct node_tx *tx = NULL; in run_local_cte_req() local
847 /* Tx Queue should have one LL Control PDU */ in run_local_cte_req()
848 lt_rx(LL_CTE_REQ, &conn, &tx, cte_req); in run_local_cte_req()
866 /* Release tx node */ in run_local_cte_req()
867 ull_cp_release_tx(&conn, tx); in run_local_cte_req()
877 /* Tx Queue should NOT have a LL Control PDU */ in wait_for_phy_update_instant()
905 /* Tx Queue should NOT have a LL Control PDU */ in check_phy_update()
911 /* Tx Queue should NOT have a LL Control PDU */ in check_phy_update()
955 struct node_tx *tx = NULL; in run_phy_update_central() local
963 /* Tx Queue should have one LL Control PDU */ in run_phy_update_central()
964 lt_rx(LL_PHY_REQ, &conn, &tx, phy_req); in run_phy_update_central()
967 /* TX Ack */ in run_phy_update_central()
968 event_tx_ack(&conn, tx); in run_phy_update_central()
979 /* Check that data tx was paused */ in run_phy_update_central()
980 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is not paused"); in run_phy_update_central()
982 if (tx != NULL) { in run_phy_update_central()
983 /* Release Tx */ in run_phy_update_central()
984 ull_cp_release_tx(&conn, tx); in run_phy_update_central()
989 /* Tx Queue should have one LL Control PDU */ in run_phy_update_central()
990 lt_rx(LL_PHY_UPDATE_IND, &conn, &tx, &ind); in run_phy_update_central()
993 /* TX Ack */ in run_phy_update_central()
994 event_tx_ack(&conn, tx); in run_phy_update_central()
996 /* Check that data tx is no longer paused */ in run_phy_update_central()
997 zassert_equal(conn.tx_q.pause_data, 0U, "Data tx is paused"); in run_phy_update_central()
1003 pdu = (struct pdu_data *)tx->pdu; in run_phy_update_central()
1006 /* Release Tx */ in run_phy_update_central()
1007 ull_cp_release_tx(&conn, tx); in run_phy_update_central()
1029 struct node_tx *tx; in run_phy_update_peripheral() local
1036 /* Tx Queue should have one LL Control PDU */ in run_phy_update_peripheral()
1037 lt_rx(LL_PHY_REQ, &conn, &tx, phy_req); in run_phy_update_peripheral()
1040 /* TX Ack */ in run_phy_update_peripheral()
1041 event_tx_ack(&conn, tx); in run_phy_update_peripheral()
1048 /* Release Tx */ in run_phy_update_peripheral()
1049 ull_cp_release_tx(&conn, tx); in run_phy_update_peripheral()
1051 /* Check that data tx was paused */ in run_phy_update_peripheral()
1052 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is not paused"); in run_phy_update_peripheral()
1062 /* Tx Queue should NOT have a LL Control PDU */ in run_phy_update_peripheral()
1065 /* Tx Queue should have one LL Control PDU */ in run_phy_update_peripheral()
1068 /* Tx Queue should have one LL Control PDU */ in run_phy_update_peripheral()
1069 lt_rx(LL_PHY_RSP, &conn, &tx, &rsp); in run_phy_update_peripheral()
1075 /* We are sending RSP, so data tx should be paused until after tx ack */ in run_phy_update_peripheral()
1076 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is not paused"); in run_phy_update_peripheral()
1078 /* TX Ack */ in run_phy_update_peripheral()
1079 event_tx_ack(&conn, tx); in run_phy_update_peripheral()
1081 /* Check that data tx is no longer paused */ in run_phy_update_peripheral()
1082 zassert_equal(conn.tx_q.pause_data, 0U, "Data tx is paused"); in run_phy_update_peripheral()
1089 /* Release Tx */ in run_phy_update_peripheral()
1090 ull_cp_release_tx(&conn, tx); in run_phy_update_peripheral()
1141 /* Tx Queue should not have any LL Control PDU */ in test_local_cte_req_wait_for_phy_update_complete_and_disable()
1273 struct node_tx *tx; in run_remote_cte_req() local
1282 /* Tx Queue should have one LL Control PDU */ in run_remote_cte_req()
1283 lt_rx(LL_CTE_RSP, &conn, &tx, &remote_cte_rsp); in run_remote_cte_req()
1286 /* TX Ack */ in run_remote_cte_req()
1287 event_tx_ack(&conn, tx); in run_remote_cte_req()
1292 /* Release tx node */ in run_remote_cte_req()
1293 ull_cp_release_tx(&conn, tx); in run_remote_cte_req()
1323 /* Tx */ in test_phy_update_wait_for_remote_cte_req_complete()
1381 /* Tx */ in test_cte_req_wait_for_remote_phy_update_complete_and_disable()
1437 /* Tx */ in test_cte_req_wait_for_remote_phy_update_complete()