bts: dequeue L1CTL {DATA,TRAFFIC}.cnf in as_l1_{sacch,dcch,tcp}_loop()

This fixes sporadic failures in testcases using those altsteps.

Change-Id: I3538d40ff1a585ccbe37f3a90f3c374c5f0b5767
Related: osmocom-bb.git I0046f9c103bcb9207f0c2643c6a806bd56553d77
This commit is contained in:
Vadim Yanitskiy 2024-03-11 03:13:18 +07:00 committed by fixeria
parent 7e6b832b85
commit 3d4b001513
1 changed files with 6 additions and 0 deletions

View File

@ -2190,6 +2190,8 @@ private altstep as_l1_sacch_loop() runs on ConnHdlr {
L1CTL.send(ts_L1CTL_DATA_REQ_SACCH(g_chan_nr, ts_RslLinkID_SACCH(0), l1h, l2));
repeat;
}
/* dequeue (ignore) L1CTL DATA.cnf for UL SACCH (SAPI=0) */
[] L1CTL.receive(tr_L1CTL_DATA_CONF(g_chan_nr, tr_RslLinkID_SACCH(0))) { repeat; }
}
/* handle incoming downlink SACCH, decode the L1 header into the given record */
@ -2220,6 +2222,8 @@ private altstep as_l1_dcch_loop() runs on ConnHdlr {
f_pad_oct(pl, 23, '2B'O)));
repeat;
}
/* dequeue (ignore) L1CTL DATA.cnf for UL DCCH (SAPI=0) */
[] L1CTL.receive(tr_L1CTL_DATA_CONF(g_chan_nr, tr_RslLinkID_DCCH(0))) { repeat; }
}
private altstep as_l1_tch_loop() runs on ConnHdlr {
@ -2240,6 +2244,8 @@ private altstep as_l1_tch_loop() runs on ConnHdlr {
repeat;
}
/* dequeue (ignore) L1CTL TRAFFIC.cnf for UL TCH */
[] L1CTL.receive(tr_L1CTL_TRAFFIC_CONF(g_chan_nr, tr_RslLinkID_DCCH(0))) { repeat; }
}
private type record MeasElem {