osmo-msc/openbsc/src
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
..
gprs IuPS: properly update ra_id on GMM Attach Request 2016-11-28 12:09:06 +01:00
ipaccess ipaccess-proxy: Check setsockopt() return value 2016-11-26 17:10:29 +01:00
libbsc reinvent connection_for_subscr() and move to libmsc 2016-12-02 12:09:17 +00:00
libcommon Support configuration of CON MO Groups/Paths from VTY 2016-11-13 21:22:29 +01:00
libcommon-cs move to libcommon-cs: network VTY that isn't BSC-specific 2016-12-02 12:09:16 +00:00
libfilter Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
libiu info log: iu: add line break to and tweak rx RAB Ass Resp log 2016-10-30 18:28:27 +00:00
libmgcp COSMETIC: 'if' is not a function, so there is space before '(' 2016-09-28 00:47:28 +00:00
libmsc reinvent connection_for_subscr() and move to libmsc 2016-12-02 12:09:17 +00:00
libtrau Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
osmo-bsc global gsm_network: move allocation further up 2016-12-02 12:09:15 +00:00
osmo-bsc_mgcp msgb talloc ctx: initialize in all main() scopes 2016-10-13 13:14:41 +00:00
osmo-bsc_nat move to libcommon-cs: gsm48_create_mm_serv_rej(), gsm48_create_loc_upd_rej() 2016-11-24 16:58:31 +01:00
osmo-nitb global gsm_network: move allocation further up 2016-12-02 12:09:15 +00:00
utils move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
Makefile.am Add empty libcommon-cs 2016-11-24 16:58:30 +01:00