osmo-ttcn3-hacks/bts
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
..
BTS_Tests.cfg bts: add configs for running without docker 2019-08-29 19:46:49 +00:00
BTS_Tests.default bts: Add second VTY connection to BSC 2018-09-16 12:41:11 +02:00
BTS_Tests.ttcn library/PCUIF_Types.ttcn: extend RACH.ind with TRX / TS number fields 2019-11-23 07:57:45 +00:00
BTS_Tests_LAPDm.ttcn bts: clean up old tests and make them work again 2019-06-14 16:37:02 +00:00
BTS_Tests_OML.ttcn bts: Initial set of OML tests 2019-05-29 18:39:22 +02:00
BTS_Tests_SMSCB.ttcn bts: Test if BTS forwards ETWS Primary Notification to PCU 2019-09-06 09:59:31 +00:00
README.md Update README.md of several TTCN3 test suites 2019-11-15 18:49:09 +00:00
expected-results.xml BTS_Tests.ttcn: add TC_pcu_ext_rach_content() for 11-bit RACH 2019-04-23 14:49:36 +00:00
gen_links.sh bts: Initial set of OML tests 2019-05-29 18:39:22 +02:00
osmo-bsc.cfg bts: add configs for running without docker 2019-08-29 19:46:49 +00:00
osmo-bts.cfg bts: add configs for running without docker 2019-08-29 19:46:49 +00:00
regen_makefile.sh lib/IPA_Emulation: Build IPA_CTRL conditionally based on define 2019-06-13 16:33:49 +02:00

README.md

BTS_Tests.ttcn

  • external interfaces
    • A-bis side: RSL (emulates BSC-side server)
    • Um side: L1CTL to control MS
    • PCU side: pcu_socket
    • VTY
    • CTRL

{% dot bts_tests.svg digraph G { rankdir=LR; { rank=same; BTS, BSC}; BTS [label="IUT\nosmo-bts-trx",shape="box"]; ATS [label="ATS\nBTS_Tests.ttcn"]; BSC [label="osmo-bsc\nOML only"]; BTS -> fake_trx [label="bursts"]; fake_trx -> trxcon [label="bursts"]; trxcon -> ATS [label="GSM MAC blocks"];

BTS -> BSC [label="A-bis OML"]; BTS -> ATS [label="A-bis RSL"];

ATS -> BTS [label="pcu_sock"]; ATS -> BSC [label="VTY"]; ATS -> BTS [label="CTRL"]; } %}