PCUIF_RAW_Components.ttcn: ClckGen_CT: fix PTCCH event handling

Both TDMA_EV_PTCCH_DL_BLOCK and TDMA_EV_PTCCH_UL_BURST events may
happen together during the same TDMA frame (fn % 104 == 90). We
shall not skip TDMA_EV_PTCCH_UL_BURST. Let's fix this.

Change-Id: Ifc66d5d1c5f9eaa7bed6882105298c45257ebef0
This commit is contained in:
Vadim Yanitskiy 2019-10-06 01:01:48 +07:00 committed by fixeria
parent 27cbd3c7e3
commit b58b7308e5
1 changed files with 5 additions and 4 deletions

View File

@ -148,11 +148,12 @@ runs on RAW_PCU_ClckGen_CT {
} else if (fn13 == 3 or fn13 == 7 or fn13 == 11) {
/* 4/4 bursts of a PDTCH block on both Uplink and Downlink */
CLCK.send(ts_RAW_PCU_CLCK_EV(TDMA_EV_PDTCH_BLOCK_END, fn));
} else if (fn104 == 90) {
/* 4/4 bursts of a PTCCH (Timing Advance Control) block on Downlink */
CLCK.send(ts_RAW_PCU_CLCK_EV(TDMA_EV_PTCCH_DL_BLOCK, fn));
} else if (fn52 == 12 or fn52 == 38) {
/* One Access Burst on PTCCH/U */
/* 4/4 bursts of a PTCCH (Timing Advance Control) block on Downlink */
if (fn104 == 90) {
CLCK.send(ts_RAW_PCU_CLCK_EV(TDMA_EV_PTCCH_DL_BLOCK, fn));
}
/* One Access Burst on PTCCH/U (goes 3 time-slots after PTCCH/D) */
CLCK.send(ts_RAW_PCU_CLCK_EV(TDMA_EV_PTCCH_UL_BURST, fn));
}