pcu: Expect UL ACK/NACK after all UL data is transmitted

This is needed since osmo-pcu.git
I9b4ef7b7277efa645bdb5becf2e9f6b32c99a9b1, where a bug was fixed in
which osmo-pcu was not sending UL ACK/NACK under some conditions.

Change-Id: I1a58b3984a96b432b2cb5300fc8a4261133a4f69
This commit is contained in:
Pau Espin 2020-05-17 00:28:01 +02:00 committed by laforge
parent 692222cb99
commit adbbe1e28e
1 changed files with 4 additions and 0 deletions

View File

@ -1022,6 +1022,7 @@ runs on RAW_PCU_Test_CT {
var boolean ok;
var uint32_t sched_fn;
var uint32_t dl_fn;
var uint32_t unused_fn;
var OCT4 tlli := '00000001'O;
var AckNackDescription ack_nack_desc := valueof(t_AckNackDescription_init);
var CodingScheme cs_mcs;
@ -1087,6 +1088,9 @@ runs on RAW_PCU_Test_CT {
/* DL Ass sets poll+rrbp requesting PACKET CONTROL ACK */
f_tx_rlcmac_ul_block(ts_RLCMAC_CTRL_ACK(tlli), 0, sched_fn);
/* PCU acks the UL data after having received CV=0) */
f_rx_rlcmac_dl_block_exp_ack_nack(dl_block, unused_fn);
/* After acking the dl assignment, dl tbf goes into FLOW state and PCU will provide DL data when BTS asks for it */
f_rx_rlcmac_dl_block_exp_data(dl_block, dl_fn, data, 0, exp_dl_cs_mcs);