osmo-msc/openbsc/src/libmsc
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 sms_next_rp_msg_ref(): use direct pointer to next_rp_ref counter 2016-12-02 12:09:15 +00:00
auth.c Print subcriber when skipping auth 2017-01-23 11:56:44 +00:00
ctrl_commands.c CTRL: remove boilerplate 2017-01-25 11:52:45 +00:00
db.c libmsc/update_db_revision_3(): free memleaking db result 2017-02-28 18:36:35 +00:00
gsm_04_08.c add struct bsc_subscr, separating libbsc from gsm_subscriber 2017-03-08 01:01:43 +01:00
gsm_04_11.c cosmetic: use osmo_strlcpy() everywhere 2017-01-23 11:59:01 +00:00
gsm_04_80.c factor out gen of USSD notify and release complete to libosmocore 2016-12-02 12:09:15 +00:00
gsm_subscriber.c add struct bsc_subscr, separating libbsc from gsm_subscriber 2017-03-08 01:01:43 +01:00
meas_feed.c cosmetic: use osmo_strlcpy() everywhere 2017-01-23 11:59:01 +00:00
meas_feed.h Initial support for export + curses-visualization of measurements 2015-01-01 13:03:03 +01:00
mncc.c mncc.c: Convert mncc_names[] to 'struct value_string' 2015-12-12 21:43:16 +01:00
mncc_builtin.c mncc_builtin: Properly reject DTMF 2016-11-02 09:20:54 +00:00
mncc_sock.c mncc_sock: use osmo_sock_unix_init() from libosmocore 2016-07-23 19:21:17 +00:00
osmo_msc.c various comment / whitespace tweaks (libmsc, gprs, libcommon-cs) 2017-01-26 03:19:35 +01:00
rrlp.c mscsplit: directly access gsm_network backpointer from gsm_subscriber_connection 2016-09-26 02:25:46 +02:00
silent_call.c silent_call: remove unfinished fuzzer interface 2017-02-28 18:28:03 +00:00
smpp_openbsc.c logging fixup: shorter names for LOGGING_FILTER_* and LOGGING_CTX_* 2017-02-23 18:11:57 +01:00
smpp_smsc.c Fix some typos in stdout output 2016-12-20 17:39:55 +01:00
smpp_smsc.h smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
smpp_utils.c smpp: Move the coding/mode detection into a utils file 2013-07-27 20:03:10 +02:00
smpp_vty.c Fix some typos in stdout output 2016-12-20 17:39:55 +01:00
sms_queue.c debug log for sms: fix/add 2016-09-18 23:40:06 +02:00
token_auth.c gsm48_tx_mm_auth_req(): support UMTS AUTN 2017-02-03 05:35:25 +01:00
transaction.c mscsplit: directly access gsm_network backpointer from gsm_subscriber_connection 2016-09-26 02:25:46 +02:00
ussd.c ussd: Add band-aid for interrogationSS 2016-11-18 19:04:37 +00:00
vty_interface_layer3.c add struct bsc_subscr, separating libbsc from gsm_subscriber 2017-03-08 01:01:43 +01:00