Harald Welte
1852a84a70
msc: Ensure all MO call related tests are in control section
...
Change-Id: Id836b695d9ac1bc8135af95be2b90b5a3e29fd34
2018-01-26 22:53:57 +01:00
Harald Welte
946a5387b9
msc: Add missing timer start in MO call related tests
...
Change-Id: I13958b40426ef871b4c69561385a39eea95e24e4
2018-01-26 22:53:57 +01:00
Harald Welte
0cc82d95ba
msc: Add TC_mo_crcx_ran_reject
...
Change-Id: I9b1e24c505e1d5911bb1f0335034ff8d0641895d
Related: OS#2882
2018-01-26 22:53:57 +01:00
Harald Welte
3ab88009fc
msc: Add TC_mo_crcx_ran_timeout
...
Change-Id: I085457bd0af429fd3cde6b442604c08cb60eaae3
Related: OS#2881
2018-01-26 22:53:57 +01:00
Harald Welte
12510c5d1f
msc: Add TC_mo_setup_and_nothing (MO SETUP with no follow-up)
...
Change-Id: Ie0352dd91736b04722cf3fb44f90537bc87218c7
2018-01-26 22:53:57 +01:00
Harald Welte
116e433f21
msc: Add TC_establish_and_nothing
...
Change-Id: Ia8782558d8570750fd95c2b41953aaa61839ef8c
Related: OS#2879
2018-01-26 22:53:57 +01:00
Harald Welte
4017d55bbe
msc: Make TC_lu_and_mo_call succeed with osmo-mg enabled osmo-msc
...
This is for patch https://gerrit.osmocom.org/#/c/4980 in osmo-msc
Change-Id: Ieec52d5e0da776d35d6a473bd726b368af9d5c66
2018-01-26 22:53:57 +01:00
Harald Welte
b71901a52f
msc: Rewrite TC_lu_and_mo_call() to be more modular
...
All relevant parameters are passed in in form of a CallParameters
record, and the bulk of the work has been moved to
BSC_ConnectionHandler.
Change-Id: I932c6c9f7a48b6a1f1ec399e8bba6a413c8bc69e
2018-01-26 22:53:57 +01:00
Harald Welte
148a7082e8
msc: Move auth/ciph handling in shared f_mm_common()
...
This shared function can now be used not only from f_perform_lu()
but also from f_establish_fully() and others.
Change-Id: Ib174b1e7153ce2ae531755cd0ba586bb12264551
2018-01-26 22:53:57 +01:00
Harald Welte
c2461d66a5
msc: Move f_sleep() to common Osmocom_Types.ttcn
...
Change-Id: Ic748e1dfe002cb6ee4d785e9b7f8dca34873e504
2018-01-26 22:53:57 +01:00
Harald Welte
1623e6e385
msc: Make use of MGCP_Emulation in f_tc_lu_and_mo_call
...
Change-Id: Id33f17007b99776129e99625f8f6258a1653d863
2018-01-26 10:42:53 +01:00
Harald Welte
4aa970c218
msc: Start to integrate MGCP_Emulation component
...
Change-Id: I5330a06b7868b3f3a362cb5b640cd0cb985f2143
2018-01-26 10:42:53 +01:00
Harald Welte
1af6ea82b7
msc: New TC_cl3_rnd_payload / TC_cl3_no_payload for COMPLETE L3
...
Test BSSMAP COMPLETE L3 INFO either with no payload whatsoever or with
random payload.
Change-Id: I37ca3e5048cc1c2678d763a44b7e228da29851cc
2018-01-26 10:42:53 +01:00
Harald Welte
b14c77ab85
msc: move default (auth=off, tmsi=on, encry=off) vty commands to f_init()
...
Change-Id: I38644ca3c4f629edb762cd24959033d426438e02
2018-01-26 10:42:53 +01:00
Harald Welte
161142834f
msc: TC_lu_imsi_auth_tmsi_encr_13_13
...
Add a first test for encryption (cipher mode command/complete)
Change-Id: I8a8a5c55d87bb251896664679920b96f678673a0
2018-01-24 23:05:35 +01:00
Harald Welte
c638f4dbe9
msc: TC_lu_auth_2G_fail: Test auth failure in 2G auth
...
Change-Id: I54ef4137c0b95658b1e844ac1bb13729f27fd0d1
2018-01-24 23:05:35 +01:00
Harald Welte
0195ab1ab1
msc: Add TC_cm_reest_req_reject: Expect CM RE-EST REQ to be rejected
...
Change-Id: I7d15b935caed2dacf39d66a33ff933a9b8c443d9
2018-01-24 23:05:35 +01:00
Harald Welte
f6b62eef0b
msc: Wait for proper BSSAP connection clear after CM SERV REJ
...
Change-Id: Ia8fc0e61c7f8f31ca4dd21a243e00ef688ff38c6
2018-01-24 23:05:35 +01:00
Harald Welte
6ed6bf9773
MSC_Tests: Use enum instead of magic numbers for CM_SERVICE_TYPE
...
Change-Id: Ic90b4a0aa47821877a2d3566606b9c9dd5919968
2018-01-24 23:05:32 +01:00
Harald Welte
81b7f9d802
msc: Fix generation of IMSI/IMEI/MSISDN
...
Now each test case uses unique IMSI/IMEI/MSISDN numbers, which helps
to identify test cases from traces or from VTY introspection
Change-Id: I54d05e8ec7aeecc48666d3b369351212a6a0ea6f
2018-01-24 22:42:25 +01:00
Harald Welte
3ca1c90ac4
MSC: Use VTY to enable/disable authentication + TMSI allocation
...
Change-Id: Ifaa0f119d37b18b804c563c045755cc23d509617
2018-01-24 18:53:32 +01:00
Harald Welte
d5b91409bc
msc: Cosmetic (fix comment)
...
Change-Id: I20c65454f606a5c3bc3c5a127ae02b6c204ca06e
2018-01-24 18:53:32 +01:00
Harald Welte
256571e6c5
MSC_Tests: Proper treatment of IMEI + TMSI
...
* don't use IMSI as IMEI
* store the TMSI (after it is allocated) in the g_pars variable for later use
Change-Id: I717f1c9ab21e5be8b88f10ce4e8c583b385f3664
2018-01-24 18:53:32 +01:00
Harald Welte
e1a2f3cb86
msc: Add all test cases to control section
...
Change-Id: I79abcbe5638a02c1d6d94ba31ce72bfbc372fd21
2018-01-24 17:29:15 +01:00
Harald Welte
66af9e6354
msc: Add TC_lu_disconnect: Start LU, then do a hard SCCP disconnect
...
Change-Id: I04d0b09350c6a1c9b8fb9aac87158a142d80f18f
2018-01-24 17:29:15 +01:00
Harald Welte
45164da2bc
MSC_Tests: More CM SERVICE REQ and EMERGENCY CALL related tests
...
Change-Id: I04ca21824f66ad90d9dac2c25000ecd724aa4528
2018-01-24 17:29:15 +01:00
Harald Welte
ba7b6d940e
msc: Add test case for LU with MI=IMEI (which is illegal)
...
Change-Id: Ie3c91a0ff212a70a8e03e0579f240a10bc4356f4
2018-01-24 17:29:15 +01:00
Harald Welte
bc881789bd
msc: Test closing BSSAP connection of LU by ClearCommand
...
Change-Id: I9194da2f9324ee17c920458cb920a6fa718ac739
2018-01-24 17:29:15 +01:00
Harald Welte
071ed736c8
msc: Add tests for HLR SAI timeout and HLR SAI error
...
Change-Id: I7f8c8ff9ccadd7b7b14cba12a34cebe6855a5367
2018-01-24 17:29:15 +01:00
Harald Welte
7b1b281789
MSC: Add test for LU with 2G authentication
...
Change-Id: I5ea201bd603e581f199cd29056e7e7ebc9bd0923
2018-01-24 17:29:15 +01:00
Harald Welte
2bb825fc71
WIP: MSC: Add MO call testing
...
Change-Id: If32cb359b3cf732c4752856538552595dbbf2a8a
2018-01-24 17:29:15 +01:00
Harald Welte
8a121b3cec
msc: make sending of early classmark optional
...
Change-Id: If25ba412ab393029ed7ae9af47e87d5f4a44acfc
2018-01-22 03:01:27 +01:00
Harald Welte
8260057d90
msc: Store CM2/CM3 in g_pars, so it can be modified
...
Change-Id: I726d851f45379b3efdb5ab62ea8f196cc0e41cc5
2018-01-22 03:01:27 +01:00
Harald Welte
a49e36e911
MSC_Tests: Integrate MNCC, GSUP, BSSAP connection handler, ...
...
Change-Id: I7bb6660c6b6cef81533f0fbb5e735f08ed275b8c
2018-01-21 19:37:59 +01:00
Harald Welte
f6dd64dd52
msc_tests: Initial skeleton for osmo-msc testing over SCCP/M3UA
2017-11-20 21:52:07 +01:00