Osmocom test suites in TTCN-3 (Eclipse Titan) https://osmocom.org/projects/core-testing-infra
Go to file
Neels Hofmeyr 2822d07ab2 msc: inter-BSC HO test: use CGI cell ID, not LAI
In the inter-BSC 'Handover Required', do not send a LAI cell identifier,
but a CGI one.

Rationale:

As explained in OS#5188, 3GPP TS 48.008 allows a LAI identification only
in the Cell Identifier List IE, but not in the single Cell Identifier
IE.

In the inter-BSC HO test's Handover Required message, we so far send a
LAI identifier in a List IE to osmo-msc. And so far, osmo-msc simply
echos that in the Handover Request message's single Cell Id IE.

The LAI is, as actually defined in the spec, omitted from the single IE
in deps/titan.ProtocolModules.BSSMAP/src/BSSAP_Types.ttcn, and when
osmo-msc sends the non-standard LAI Id, ttcn3 fails to parse the BSSMAP
Handover Request message: the Cell Identifier IE gets wrong values, and
all remaining IEs are parsed as 'omit' even though they are present on
the wire. So as long as osmo-msc sends back a LAI Id, we cannot sanely
verify the Handover Request received from the MSC.

The CGI identifier type is supported in both IEs. So when the test sends
a CGI identifier in the Handover Required, osmo-msc will also reflect a
CGI identifier in the Handover Request, and ttcn3 parsing works.

This prepares for adding verification of the ciphering in inter-BSC
handover, in turn a preparation for adding tests of A5/4.

Related: OS#5188 SYS#5324
Change-Id: I48276acf923626db171683dfa03ef43614a71380
2021-06-23 03:55:26 +02:00
COMMON initial chekin of code received by Ericsson on 20170410 2017-04-12 12:13:44 +02:00
ROHC_CNL113426_LATEST import Ericsson NS, ISUP, ROHC and SNDCP modules for TITAN 2017-07-25 08:23:52 +02:00
SCCP_Test WIP: gen_links.sh + regen_makefile.sh for make SCCP_Tests 2020-01-12 11:48:58 +01:00
asn-test HNBAP, RUA and RANAP protocol codecs 2019-04-25 20:07:11 +00:00
bin Remove M3UA/MTP3/SCCP code from this repo, use upstream repos 2018-03-18 12:52:20 +01:00
bsc bsc: add tests for inter-BSC HO with encryption A5/{0,1,3,4} 2021-06-21 20:18:35 +00:00
bsc-nat bsc-nat: add 'Native_FunctionDefs.cc' to regen_makefile.sh 2021-02-27 17:21:07 +01:00
bts BTS: add a testcase for PDCH interference reports 2021-06-22 20:07:48 +02:00
cbc cbc: Initial set of CBC tess for osmo-cbc 2021-02-22 10:41:29 +00:00
ccid CCID_Tests: Fix USB VendorID 2020-07-30 22:12:30 +02:00
deps TITAN project migration to eclipse gitlab 2021-05-21 20:54:32 +02:00
doc add ttcn3 test suites slides from OsmoDevCon 2018 2018-09-16 12:39:51 +02:00
fr RAW_NS/NS_Provider_IPL4: allow to use the new NSVC interface 2021-06-15 20:20:44 +00:00
fr-net RAW_NS/NS_Provider_IPL4: allow to use the new NSVC interface 2021-06-15 20:20:44 +00:00
gbproxy RAW_NS/NS_Provider_IPL4: allow to use the new NSVC interface 2021-06-15 20:20:44 +00:00
ggsn_tests ggsn: Fix build broken since recent commit 2021-05-18 11:37:08 +02:00
hlr hlr: Get rid of module param mp_hlr_supports_dgsm 2021-02-26 13:21:39 +01:00
lapdm Split templates in RLCMAC_{CSN1_}Types into their own _Templates file 2020-04-29 19:07:38 +02:00
library library/PCUIF_Types: add definition for PCU_IF_MSG_INTERF_IND 2021-06-22 20:07:48 +02:00
mgw MGCP_Test: avoid crash in latest (TC_one_crcx_loopback_rtp_implicit) 2021-06-02 18:54:26 +00:00
mme regen-makefile.sh: Put libraries in LINUX_LIBS, not LDFLAGS 2020-10-04 21:09:11 +02:00
msc msc: inter-BSC HO test: use CGI cell ID, not LAI 2021-06-23 03:55:26 +02:00
ns RAW_NS/NS_Provider_IPL4: allow to use the new NSVC interface 2021-06-15 20:20:44 +00:00
pcap-client pcap-client: Don't bind to second 'traffic' udp port 2021-04-25 13:06:35 +02:00
pcu PCU: remove deprecated 'alpha 0' from osmo-pcu.cfg 2021-06-21 09:36:13 +00:00
pgw sgsn: Introduce test TC_rim_eutran_to_geran 2021-05-17 20:33:00 +00:00
remsim remsim: add the guard timeout to all test cases 2021-02-28 17:12:32 +01:00
sccp sccp: Add TC_callingparty_ssn_only() 2021-05-13 21:58:33 +02:00
selftest library: Add template helpers for AoIP Transport Layer Address 2020-09-07 08:05:28 +00:00
sgsn sgsn a54 tests 2021-06-16 06:32:53 +00:00
simtrace Initial SIMTRACE testsuite 2020-04-01 10:16:02 +00:00
sip sip: Don't need to set default value of MNNC version 2021-02-26 13:21:33 +01:00
smlc remove deprecated 'logging level all everything' from configs 2021-04-21 16:40:49 +00:00
stp stp: Add tests for snm_inactive quirk 2021-05-13 21:30:04 +02:00
sysinfo library/GSM_RR_Types: add minimalistic AssignmentCommand 2020-09-01 14:43:33 +07:00
.gitignore gitignore 2021-06-05 20:24:35 +00:00
.gitreview Add git-review config 2017-12-13 11:15:48 +01:00
Common.cfg Common.cfg: Always log VEERDICTOP on Console 2020-10-10 18:15:37 +02:00
Makefile Initial test suite for osmo-pcap-client 2021-04-24 12:43:48 +02:00
compare-results.py compare_results.py: use ansi colors 2020-05-19 19:25:35 +00:00
gen_links.sh.inc Put build / run scripts under Apache 2.0 license 2019-06-21 09:34:09 +00:00
log_merge.sh Put build / run scripts under Apache 2.0 license 2019-06-21 09:34:09 +00:00
mask_expected_results.sh add mask_expected_results.sh 2018-04-11 19:32:01 +02:00
regen-makefile.sh regen-makefile.sh: Put libraries in LINUX_LIBS, not LDFLAGS 2020-10-04 21:09:11 +02:00
rmlinks.sh Remove M3UA/MTP3/SCCP code from this repo, use upstream repos 2018-03-18 12:52:20 +01:00
start-testsuite.sh start-testsuite.sh: allow overriding TTCN3_BIN_DIR 2020-05-29 06:10:42 +00:00
ttcn3-dumpcap-start.sh ttcn3-dumpcap-start.sh: Always capture lo interface 2020-12-12 16:28:30 +01:00
ttcn3-dumpcap-stop.sh gbproxy: Properly capture HDLC/FR traffic in addition to ethernet 2020-12-11 15:32:08 +01:00
ttcn3-tcpdump-start.sh ttcn3-tcpdump-start: Fix path of setcap 2020-12-11 15:34:42 +01:00
ttcn3-tcpdump-stop.sh fixup ttcn3-tcpdump-stop.sh: add flag '--force' to gzip 2020-07-13 05:55:17 +07:00
update_expected_results_from_jenkins.sh Put build / run scripts under Apache 2.0 license 2019-06-21 09:34:09 +00:00