osmo-bsc/openbsc/src/osmo-bsc
Neels Hofmeyr 6d804b1a7e add struct bsc_subscr, separating libbsc from gsm_subscriber
In a future commit, gsm_subscriber will be replaced by vlr_subscr, and it will
not make sense to use vlr_subscr in libbsc. Thus we need a dedicated BSC
subscriber: struct bsc_subscr.

Add rf_policy arg to bsc_grace_paging_request() because the bsc_subscr will no
longer have a backpointer to gsm_network (used to be via subscr->group).

Create a separate logging filter for the new BSC subscriber. The implementation
of adjusting the filter context is added in libbsc to not introduce
bsc_subscr_get/_put() dependencies to libcommon.

During Paging Response, fetch a bsc_subscr from the mobile identity, like we do
for the gsm_subscriber. It looks like a duplication now, but will make sense
for the VLR as well as for future MSC split patches.

Naming: it was requested to not name the new struct bsc_sub, because 'sub' is
too ambiguous. At the same time it would be fine to have 'bsc_sub_' as function
prefix. Instead of struct bsc_subscriber and bsc_sub_ prefix, I decided to
match both up as struct bsc_subscr and bsc_subscr_ function prefix. It's fast
to type, relatively short, unambiguous, and the naming is consistent.

Add bsc_subscr unit test.

Related: OS#1592, OS#1594
Change-Id: Ia61cc00e8bb186b976939a4fc8f7cf9ce6aa3d8e
2017-03-08 01:01:43 +01:00
..
Makefile.am move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
osmo_bsc_api.c cosmetic: rename struct osmo_msc_data to bsc_msc_data 2017-02-24 21:01:55 +01:00
osmo_bsc_audio.c cosmetic: rename osmo_msc_data.h to bsc_msc_data.h 2017-02-24 21:01:55 +01:00
osmo_bsc_bssap.c add struct bsc_subscr, separating libbsc from gsm_subscriber 2017-03-08 01:01:43 +01:00
osmo_bsc_ctrl.c cosmetic: rename struct osmo_msc_data to bsc_msc_data 2017-02-24 21:01:55 +01:00
osmo_bsc_filter.c add struct bsc_subscr, separating libbsc from gsm_subscriber 2017-03-08 01:01:43 +01:00
osmo_bsc_grace.c add struct bsc_subscr, separating libbsc from gsm_subscriber 2017-03-08 01:01:43 +01:00
osmo_bsc_main.c cosmetic: rename struct osmo_msc_data to bsc_msc_data 2017-02-24 21:01:55 +01:00
osmo_bsc_msc.c cosmetic: rename struct osmo_msc_data to bsc_msc_data 2017-02-24 21:01:55 +01:00
osmo_bsc_sccp.c cosmetic: rename struct osmo_msc_data to bsc_msc_data 2017-02-24 21:01:55 +01:00
osmo_bsc_vty.c add struct bsc_subscr, separating libbsc from gsm_subscriber 2017-03-08 01:01:43 +01:00