osmo-msc/src/libvlr
Vadim Yanitskiy 565ea2ba0c libvlr: fix is_ciph_required(): always send SecModeCmd for UTRAN
Ciphering is optional in both GERAN and UTRAN, however for the later
it's *required* to enable integrity protection for the signalling.
Thus we must always send Security Mode Command in UTRAN, even in
case if ciphering is disabled (UEA0) in the configuration.

The actual decision whether to send CMC/SMC or not is taken in:

  * vlr_access_req_fsm.c / _proc_arq_vlr_node2(), and
  * vlr_lu_fsm.c / vlr_loc_upd_post_auth().

depending on the value returned by is_ciph_required().  Let's
rename this function to is_cmc_smc_required() and ensure that
it always returns true in UTRAN.

This change fixes the Iu test cases in ttcn3-msc-test.

Change-Id: I6205f13453eff7afbf25e013d72ae98a78fcd31b
Fixes: OS#5333
2021-11-30 13:14:16 +00:00
..
Makefile.am Add SGs Interface 2019-02-04 13:36:26 +01:00
vlr.c libvlr: vlr_set_ciph_mode(): avoid redundant check 2021-11-30 09:53:47 +00:00
vlr_access_req_fsm.c libvlr: fix is_ciph_required(): always send SecModeCmd for UTRAN 2021-11-30 13:14:16 +00:00
vlr_access_req_fsm.h Add libvlr implementation 2017-07-21 18:32:03 +02:00
vlr_auth_fsm.c vlr_auth_fsm.c: Simplify function auth_fsm_wait_ai_resync 2021-08-24 12:25:40 +02:00
vlr_auth_fsm.h vlr_auth_fsm: Fix compilation with gcc-10 2020-04-20 18:18:18 +00:00
vlr_core.h VLR: send CHECK-IMEI to EIR/HLR 2019-01-16 10:42:56 +00:00
vlr_lu_fsm.c libvlr: fix is_ciph_required(): always send SecModeCmd for UTRAN 2021-11-30 13:14:16 +00:00
vlr_lu_fsm.h vlr: optionally send IMEI early to HLR 2019-05-15 10:57:43 +02:00
vlr_sgs.c vlr_sgs: Balance use_count incremented in vlr_sgs_loc_update 2021-08-24 14:59:27 +02:00
vlr_sgs_fsm.c cosmetic: Fix typo in comment 2021-08-25 12:40:36 +02:00
vlr_sgs_fsm.h Add SGs Interface 2019-02-04 13:36:26 +01:00