Lines Matching full:tx

126 			      "Preferred TX PHY mismatch %d (actual) != %d (expected)", \
136 "Current TX PHY mismatch %d (actual) != %d (expected)", \
152 struct node_tx *tx; in ZTEST() local
188 /* Tx Queue should have one LL Control PDU */ in ZTEST()
189 lt_rx(LL_PHY_REQ, &conn, &tx, &req); in ZTEST()
195 /* Check that data tx is paused */ in ZTEST()
196 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is not paused"); in ZTEST()
198 /* TX Ack */ in ZTEST()
199 event_tx_ack(&conn, tx); in ZTEST()
201 /* Check that data tx is paused */ in ZTEST()
202 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is paused"); in ZTEST()
207 /* Check that data tx is not paused */ in ZTEST()
208 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is not paused"); in ZTEST()
210 /* Release Tx */ in ZTEST()
211 ull_cp_release_tx(&conn, tx); in ZTEST()
218 /* Tx Queue should have one LL Control PDU */ in ZTEST()
219 printf("Tx REJECT\n"); in ZTEST()
220 lt_rx(LL_REJECT_EXT_IND, &conn, &tx, &reject_ext_ind); in ZTEST()
223 /* TX Ack */ in ZTEST()
224 event_tx_ack(&conn, tx); in ZTEST()
230 /* Release Tx */ in ZTEST()
231 ull_cp_release_tx(&conn, tx); in ZTEST()
238 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
243 printf("Tx again\n"); in ZTEST()
246 /* TX Ack */ in ZTEST()
247 event_tx_ack(&conn, tx); in ZTEST()
252 /* Check that data tx is paused */ in ZTEST()
253 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is not paused"); in ZTEST()
260 /* Tx Queue should have one LL Control PDU */ in ZTEST()
262 lt_rx(LL_PHY_UPDATE_IND, &conn, &tx, &ind); in ZTEST()
265 /* TX Ack */ in ZTEST()
266 event_tx_ack(&conn, tx); in ZTEST()
271 /* Check that data tx is not paused */ in ZTEST()
272 zassert_equal(conn.tx_q.pause_data, 0U, "Data tx is paused"); in ZTEST()
275 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
278 /* Release Tx */ in ZTEST()
279 ull_cp_release_tx(&conn, tx); in ZTEST()
286 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
301 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
321 struct node_tx *tx; in ZTEST() local
366 /* Tx Queue should have one LL Control PDU */ in ZTEST()
367 lt_rx(LL_PHY_UPDATE_IND, &conn, &tx, &ind_1); in ZTEST()
370 /* TX Ack */ in ZTEST()
371 event_tx_ack(&conn, tx); in ZTEST()
377 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
380 /* Release Tx */ in ZTEST()
381 ull_cp_release_tx(&conn, tx); in ZTEST()
388 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
403 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
412 /* Tx Queue should have one LL Control PDU */ in ZTEST()
413 lt_rx(LL_PHY_REQ, &conn, &tx, &req_central); in ZTEST()
419 /* TX Ack */ in ZTEST()
420 event_tx_ack(&conn, tx); in ZTEST()
425 /* Release Tx */ in ZTEST()
426 ull_cp_release_tx(&conn, tx); in ZTEST()
438 /* Tx Queue should have one LL Control PDU */ in ZTEST()
439 lt_rx(LL_PHY_UPDATE_IND, &conn, &tx, &ind_2); in ZTEST()
442 /* TX Ack */ in ZTEST()
443 event_tx_ack(&conn, tx); in ZTEST()
449 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
452 /* Release Tx */ in ZTEST()
453 ull_cp_release_tx(&conn, tx); in ZTEST()
460 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
473 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
493 struct node_tx *tx; in ZTEST() local
525 /* Tx Queue should have one LL Control PDU */ in ZTEST()
526 lt_rx(LL_PHY_REQ, &conn, &tx, &req_peripheral); in ZTEST()
532 /* TX Ack */ in ZTEST()
533 event_tx_ack(&conn, tx); in ZTEST()
538 /* Release Tx */ in ZTEST()
539 ull_cp_release_tx(&conn, tx); in ZTEST()
544 /* Tx Queue should have one LL Control PDU */ in ZTEST()
545 lt_rx(LL_PHY_RSP, &conn, &tx, &rsp); in ZTEST()
575 /* TX Ack */ in ZTEST()
576 event_tx_ack(&conn, tx); in ZTEST()
581 /* Release Tx */ in ZTEST()
582 ull_cp_release_tx(&conn, tx); in ZTEST()
589 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
602 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
623 struct node_tx *tx; in ZTEST() local
658 /* (A) Tx Queue should have one LL Control PDU */ in ZTEST()
659 lt_rx(LL_PHY_REQ, &conn, &tx, &req); in ZTEST()
665 event_tx_ack(&conn, tx); in ZTEST()
670 /* Release Tx */ in ZTEST()
671 ull_cp_release_tx(&conn, tx); in ZTEST()
677 lt_rx(LL_REJECT_EXT_IND, &conn, &tx, &reject_ext_ind); in ZTEST()
680 event_tx_ack(&conn, tx); in ZTEST()
685 /* Release Tx */ in ZTEST()
686 ull_cp_release_tx(&conn, tx); in ZTEST()
693 /* (B) Tx Queue should NOT have a LL Control PDU */ in ZTEST()
702 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is not paused"); in ZTEST()
708 /* (A) Tx Queue should have one LL Control PDU */ in ZTEST()
709 lt_rx(LL_PHY_UPDATE_IND, &conn, &tx, &ind); in ZTEST()
711 event_tx_ack(&conn, tx); in ZTEST()
717 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
720 /* Release Tx */ in ZTEST()
721 ull_cp_release_tx(&conn, tx); in ZTEST()
728 /* (A) Tx Queue should NOT have a LL Control PDU */ in ZTEST()
741 /* (A) Tx Queue should NOT have a LL Control PDU */ in ZTEST()