osmo-ttcn3-hacks/pcu
Vadim Yanitskiy 36558d9526 library/PCUIF_Types.ttcn: extend RACH.ind with TRX / TS number fields
Since there can be multiple PDCH channels configured on different
timeslots, different TRXes, and BTSes, the PTCCH/U handling code
in OsmoPCU needs to know the exact origin of a given RACH.ind.

Otherwise, it is not known which subscriber originated a given
PTCCH/U indication, and hence it is impossible to send PTCCH/D
Timing Advance notification properly.

Fortunately, we can extend the RACH.ind message without even
bumping the protocol version, because every single PDU has a
fixed size defined by the largest message - INFO.ind. In case
if the actual message payload is smaller, the rest is filled
with a constant padding byte (0x00).

Older versions of OsmoPCU will consider the new fields as padding,
while the messages from older OsmoBTS versions will always have
both fields set to 0x00. Since C0/TS0 cannot be configured to
PDCH, this can be easily detected on the other end.

Change-Id: Ia5c4e504a21dc5508920553d3856027455dba1b1
Related: OS#4102, OS#1545
2019-11-23 07:57:45 +00:00
..
GPRS_Context.ttcn pcu: Rename 'gprs_gb/Test' tp 'pcu/PCU_Tests' to align with other suites 2018-03-12 14:23:57 +00:00
GPRS_TBF.ttcn pcu/GPRS_TBF.ttcn: less verbose logging 2019-08-30 12:05:39 +02:00
PCUIF_RAW_Components.ttcn PCU_Tests_RAW.ttcn: fix ToA handling in as_ta_ptcch() 2019-10-09 15:24:22 +00:00
PCU_Tests.cfg PCU: Change PCU-side port to 22000 2019-02-26 10:20:29 +00:00
PCU_Tests.default pcu: Fix MCC/MNC handling: use 'F' between MCC and MNC in 2-digit case 2019-03-27 11:17:49 +00:00
PCU_Tests.ttcn PCU_Tests_RAW.ttcn: refactor TC_pcuif_suspend: use the RAW PCU components 2019-09-29 16:19:36 +07:00
PCU_Tests_RAW.ttcn library/PCUIF_Types.ttcn: extend RACH.ind with TRX / TS number fields 2019-11-23 07:57:45 +00:00
PCU_Tests_RAW_SNS.ttcn library/PCUIF_Types.ttcn: extend RACH.ind with TRX / TS number fields 2019-11-23 07:57:45 +00:00
PCU_Tests_SNS.cfg pcu: add configs for running without docker 2019-08-30 13:21:54 +02:00
README.md Update README.md of several TTCN3 test suites 2019-11-15 18:49:09 +00:00
expected-results.xml start implementing the TC_paging() PCU test 2018-11-19 11:10:22 +00:00
gen_links.sh PCU: Tests for the BSS/PCU side NS/BSSGP implementations 2019-02-21 11:53:42 +01:00
osmo-bsc.cfg pcu: add configs for running without docker 2019-08-30 13:21:54 +02:00
osmo-bts.cfg pcu: add configs for running without docker 2019-08-30 13:21:54 +02:00
osmo-pcu-sns.cfg pcu: add configs for running without docker 2019-08-30 13:21:54 +02:00
osmo-pcu.cfg pcu: add configs for running without docker 2019-08-30 13:21:54 +02:00
regen_makefile.sh Osocom_Gb_Types: Add send/receive templates for SNS-SIZE and SNS-CONFIG procedure 2019-02-18 20:25:00 +01:00

README.md

PCU_Tests.ttcn

  • external interfaces
    • Gb (emulates SGSN side NS/BSSGP)
    • unix pcu socket (emulates BTS)
    • VTY

{% dot msc_tests.svg digraph G { rankdir=LR; PCU [label="IUT\nosmo-pcu",shape="box"]; ATS [label="ATS\nPCU_Tests.ttcn"];

PCU -> ATS [label="Gb"]; PCU -> ATS [label="pcu_sock"]; ATS -> PCU [label="VTY"]; } %}