Skip to content
Success

Changes

Summary

  1. vlr: add a logging layer (details)
  2. vlr: drop msc/debug.h header (details)
  3. vlr: make vlr_parq_fsm_init() private (details)
  4. vlr: vlr_auth_fsm: make the fsm private (details)
  5. vlr: add bool is_ps to vlr_alloc() (details)
Commit ac492ce7880315a2ea8faf3a472ebda2d2e14baa by lynxis
vlr: add a logging layer

To prepare the split off into a separate library,
the logging can't use log category from a define.
Use the same strategy as all the other osmo libraries and
use a global array which is set on initialisation to define the logging
categories.

Change-Id: I6d87b38d6d7d704c7c7b2c90ad12187e4b953b8b
The file was modifiedtests/msc_vlr/msc_vlr_test_rest.err
The file was modifiedtests/msc_vlr/msc_vlr_tests.c
The file was modifiedsrc/libvlr/vlr_sgs_fsm.h
The file was modifiedtests/msc_vlr/msc_vlr_test_gsm_authen.err
The file was modifiedsrc/libvlr/vlr.c
The file was modifiedtests/msc_vlr/msc_vlr_test_ss.err
The file was modifiedsrc/libmsc/gsm_04_08.c
The file was modifiedtests/msc_vlr/msc_vlr_test_umts_authen.err
The file was modifiedtests/msc_vlr/msc_vlr_test_hlr_timeout.err
The file was modifiedtests/msc_vlr/msc_vlr_test_reject_concurrency.err
The file was modifiedtests/msc_vlr/msc_vlr_test_no_authen.err
The file was modifiedsrc/libmsc/msc_net_init.c
The file was modifiedsrc/libvlr/vlr_lu_fsm.h
The file was modifiedsrc/libvlr/vlr_sgs.c
The file was modifiedsrc/libvlr/vlr_sgs_fsm.c
The file was modifiedsrc/libvlr/vlr_auth_fsm.c
The file was modifiedsrc/libvlr/vlr_core.h
The file was modifiedsrc/libvlr/vlr_access_req_fsm.c
The file was modifiedsrc/libvlr/vlr_access_req_fsm.h
The file was modifiedinclude/osmocom/vlr/vlr.h
The file was modifiedtests/msc_vlr/msc_vlr_test_authen_reuse.err
The file was modifiedtests/msc_vlr/msc_vlr_test_call.err
The file was modifiedtests/msc_vlr/msc_vlr_test_ms_timeout.err
The file was modifiedtests/msc_vlr/msc_vlr_test_hlr_reject.err
The file was modifiedsrc/libvlr/vlr_lu_fsm.c
The file was modifiedtests/msc_vlr/msc_vlr_test_gsm_ciph.err
Commit 88b7d99932c787c4054873f35cafa3ba03c1a361 by lynxis
vlr: drop msc/debug.h header

Since logging is done different, remove the MSC specific header.

Change-Id: I8fa2f16c07ef54be3a125c19e0990a68c4d5d2cf
The file was modifiedtests/msc_vlr/msc_vlr_test_ms_timeout.err
The file was modifiedtests/msc_vlr/msc_vlr_test_no_authen.err
The file was modifiedtests/msc_vlr/msc_vlr_test_rest.err
The file was modifiedsrc/libvlr/vlr_sgs.c
The file was modifiedsrc/libvlr/vlr.c
The file was modifiedtests/msc_vlr/msc_vlr_test_authen_reuse.err
The file was modifiedsrc/libvlr/vlr_lu_fsm.c
The file was modifiedtests/msc_vlr/msc_vlr_test_call.err
The file was modifiedtests/msc_vlr/msc_vlr_test_reject_concurrency.err
The file was modifiedtests/msc_vlr/msc_vlr_test_gsm_ciph.err
The file was modifiedtests/msc_vlr/msc_vlr_test_hlr_reject.err
The file was modifiedsrc/libvlr/vlr_access_req_fsm.c
The file was modifiedtests/msc_vlr/msc_vlr_test_ss.err
The file was modifiedsrc/libvlr/vlr_auth_fsm.c
The file was modifiedtests/msc_vlr/msc_vlr_test_hlr_timeout.err
The file was modifiedtests/msc_vlr/msc_vlr_test_gsm_authen.err
The file was modifiedtests/msc_vlr/msc_vlr_test_umts_authen.err
The file was modifiedsrc/libvlr/vlr_sgs_fsm.c
Commit 6729fa349b7be473a5a11a4ed76a53b70ef61415 by lynxis
vlr: make vlr_parq_fsm_init() private

All other fsm initialisation are internal to the libvlr code.

Change-Id: I3b4cfc01e6dd5434c74b4fa24a3e0945668b2a74
The file was modifiedinclude/osmocom/vlr/vlr.h
The file was modifiedsrc/libvlr/vlr_access_req_fsm.h
Commit 826e2a14a2165cdba57b8afe351fc1b37c694b14 by lynxis
vlr: vlr_auth_fsm: make the fsm private

Like all the other libvlr fsm, they are private to their own files,
keep the vlr_auth_fsm the same and be consistant.

Change-Id: Iec85f299cd99879475ab094998433d935e980394
The file was modifiedsrc/libvlr/vlr_auth_fsm.h
The file was modifiedsrc/libvlr/vlr.c
The file was modifiedsrc/libvlr/vlr_auth_fsm.c
Commit 40bb1f5b6ebf672cb68a73afeeb7479346b3ff8d by lynxis
vlr: add bool is_ps to vlr_alloc()

The vlr must known if it is CS or PS. As this is a very
severe configuration entry, add it to the main allocation.

Change-Id: Ib77aad8492a198131c966d4ac4cf8f5f727edcfa
The file was modifiedinclude/osmocom/vlr/vlr.h
The file was modifiedsrc/libmsc/msc_net_init.c
The file was modifiedsrc/libvlr/vlr.c