osmo-msc/openbsc/src/libmsc
Neels Hofmeyr 1a60644eb2 reinvent connection_for_subscr() and move to libmsc
Implement connection_for_subscr() from a completely different angle: instead of
looking up lchans in bts structs, look up the subscriber in the global list of
gsm_subscriber_connection. static lchan_find() is thus obsoleted.

All callers of connection_for_subscr() live in libmsc, so move to libmsc.

The move and edit are done in a single commit since the old and new
implementation have nothing in common.

Future: osmo-cscn will use this, without bts being present.

Remove implementation of connection_for_subscr() from channel_test.c -- it is
possible that the abort() in there was intended for a regression test, but
actually it seems the implementation was merely added for linking reasons, and
the abort() added to guard against the NULL return value: no comment nor the
commit log indicate that the abort() is test critical; the addition was the
only change in channel_test.c for that commit; at the same time a
connection_for_subscr() call was added in libmsc.

Change-Id: I5e0ba0ecf1726ebd540800f4e98fdfc937c904ff
2016-12-02 12:09:17 +00: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 Start to use struct osmo_auth_vector from gsm_auth_tuple 2016-04-29 13:10:37 +02:00
ctrl_commands.c Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
db.c libmsc/db: avoid subscr->name without terminating NULL char 2016-11-26 16:08:38 +00:00
gsm_04_08.c gsm0408: Adding log output for 3g specific RR messages 2016-11-01 21:56:22 +00:00
gsm_04_11.c sms_next_rp_msg_ref(): use direct pointer to next_rp_ref counter 2016-12-02 12:09:15 +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 reinvent connection_for_subscr() and move to libmsc 2016-12-02 12:09:17 +00:00
meas_feed.c msc: Add channel information to the meas_feed, bump version to v1. 2015-09-14 10:08:41 +02: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 msc: Remove oversimplified todo entry and add a comment 2016-02-10 10:42:20 +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 04.08: apply new bitmask functions, fix bitmask use 2016-03-15 14:15:00 +01:00
smpp_openbsc.c smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
smpp_smsc.c smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +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 smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
sms_queue.c debug log for sms: fix/add 2016-09-18 23:40:06 +02:00
token_auth.c msc: Add and use gsm_subscriber_group 2014-12-05 14:59:02 +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 factor out gen of USSD notify and release complete to libosmocore 2016-12-02 12:09:15 +00:00