osmo-pcu/tests
Alexander Couzens 5c3783b7e8 gprs_bssgp_pcu: explicit allocate & initialize bssgp_nsi instance
The instance bssgp_nsi is a global instance to be used by all
NS related functions. Previous the PCU allocated and initialized
the bssgp_nsi instance when (re-)connecting and freeing on disconnect.
The problem of the implicit initialisation is gprs_ns_vty_init(bssgp_nsi).
All vty init functions must be called before the configuration is read,
otherwise a previous vty written configuration is invalid.
Furthermore the vty modifications to the `ns` object were lost when the PCU has to
reconnect to the SGSN.

Fixes: OS#4024
Change-Id: I2aa53ea54e9352577f6280ad7b9d1d9da9f57eaf
2019-06-07 01:17:53 +02:00
..
alloc TS alloc: expand tests log 2019-03-28 08:58:41 +00:00
bitcomp use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
codel use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
edge MCS: add mcs_is_*() helpers 2019-03-26 11:19:30 +01:00
emu gprs_bssgp_pcu: explicit allocate & initialize bssgp_nsi instance 2019-06-07 01:17:53 +02:00
fn use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
llc Use msgb_eq_data_print() in tests 2019-03-06 20:51:57 +00:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms Add test for MS mode and (M)CS settings 2019-04-11 07:29:53 +00:00
rlcmac Use msgb_eq_data_print() in tests 2019-03-06 20:51:57 +00:00
tbf gprs_bssgp_pcu: explicit allocate & initialize bssgp_nsi instance 2019-06-07 01:17:53 +02:00
types Use Timing Advance Index in UL assignments 2019-03-27 12:32:04 +00:00
Makefile.am tests: use -no-install libtool flag to avoid ./lt-* scripts 2019-03-19 13:46:08 +01:00
testsuite.at Add tests for find_multi_slots() 2018-01-25 16:12:56 +00:00