osmo-msc/tests/msc_vlr
Vadim Yanitskiy 24e025e3e2 libmsc/gsm_04_11.c: refactor MT SMS message handling
According to GSM TS 04.11, the SMC (Short Message Control) state
machine is a part of CM-sublayer of L3, that is responsible for
connection management (establisment and releasing), and SM-RP
(Relay Protocol) message delivery.

For some reason, the connection establisment request from SMC
(GSM411_MMSMS_EST_REQ) was not handled properly - it was
always assumed that connection is already established.

This is why the code initiating a MT (Mobile Terminated) SMS
transfer had to establish a radio connection with subscriber
manually.

Let's benefit from having the SMC state machine, and offload
connection establishment to it. This change makes the local
implementation closer to GSM TS 04.11, and facilitates the
further integration of GSUP transport.

NOTE: the expected unit test output is changed, because now we
always allocate a transaction first, and then establish a
connection, not vice versa.

Change-Id: I4a07ece80d8dd40b23da6bb1ffc9d3d745b54092
2018-11-29 02:54:54 +07:00
..
Makefile.am A5/n Ciph: request Classmark Update if missing 2018-09-17 02:08:07 +02:00
msc_vlr_test_authen_reuse.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_authen_reuse.err GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_authen_reuse.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_call.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_call.err gsm_04_08_cc: Add global guard timer for MNCC 2018-10-24 10:27:39 +02:00
msc_vlr_test_call.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_authen.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_gsm_authen.err libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
msc_vlr_test_gsm_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_ciph.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_gsm_ciph.err libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
msc_vlr_test_gsm_ciph.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_reject.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_hlr_reject.err GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_hlr_reject.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_timeout.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_hlr_timeout.err GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_hlr_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_ms_timeout.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_ms_timeout.err libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
msc_vlr_test_ms_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_no_authen.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_no_authen.err libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
msc_vlr_test_no_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_reject_concurrency.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_reject_concurrency.err libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
msc_vlr_test_reject_concurrency.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_rest.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_rest.err GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_rest.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_ss.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_ss.err GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_ss.ok msc_vlr_tests: don't abuse USSD-request to conclude connections 2018-07-29 16:22:06 +02:00
msc_vlr_test_umts_authen.c GSUP client: send CN domain IE on LU request 2018-09-30 23:55:25 +02:00
msc_vlr_test_umts_authen.err libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
msc_vlr_test_umts_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_tests.c libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
msc_vlr_tests.h msc_vlr_tests: tweak conn_exists() 2018-11-18 20:12:41 +00:00