blob: 88a3dbba92c6795bae546e9c969894a1d40899cb [file] [log] [blame]
Holger Hans Peter Freyther43b09092010-06-15 11:52:51 +08001/* main MSC management code... */
2
3/*
Holger Hans Peter Freythere7bd8632013-06-30 15:30:47 +02004 * (C) 2010,2013 by Holger Hans Peter Freyther <zecke@selfish.org>
Holger Hans Peter Freyther85531cc2010-10-06 20:37:09 +08005 * (C) 2010 by On-Waves
Holger Hans Peter Freyther43b09092010-06-15 11:52:51 +08006 *
7 * All Rights Reserved
8 *
9 * This program is free software; you can redistribute it and/or modify
Harald Welte9af6ddf2011-01-01 15:25:50 +010010 * it under the terms of the GNU Affero General Public License as published by
11 * the Free Software Foundation; either version 3 of the License, or
Holger Hans Peter Freyther43b09092010-06-15 11:52:51 +080012 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Harald Welte9af6ddf2011-01-01 15:25:50 +010017 * GNU Affero General Public License for more details.
Holger Hans Peter Freyther43b09092010-06-15 11:52:51 +080018 *
Harald Welte9af6ddf2011-01-01 15:25:50 +010019 * You should have received a copy of the GNU Affero General Public License
20 * along with this program. If not, see <http://www.gnu.org/licenses/>.
Holger Hans Peter Freyther43b09092010-06-15 11:52:51 +080021 *
22 */
23
Neels Hofmeyr90843962017-09-04 15:04:35 +020024#include <osmocom/msc/osmo_msc.h>
Neels Hofmeyr90843962017-09-04 15:04:35 +020025#include <osmocom/msc/debug.h>
26#include <osmocom/msc/transaction.h>
27#include <osmocom/msc/db.h>
28#include <osmocom/msc/vlr.h>
29#include <osmocom/msc/osmo_msc.h>
30#include <osmocom/msc/a_iface.h>
Max43b01b02017-09-15 11:22:30 +020031#include <osmocom/msc/gsm_04_08.h>
Neels Hofmeyr90843962017-09-04 15:04:35 +020032#include <osmocom/msc/gsm_04_11.h>
Holger Hans Peter Freyther6a3d7652010-06-15 12:03:10 +080033
Neels Hofmeyr00e82d62017-07-05 15:19:52 +020034#include "../../bscconfig.h"
35#ifdef BUILD_IU
36#include <osmocom/ranap/iu_client.h>
37#else
Neels Hofmeyr90843962017-09-04 15:04:35 +020038#include <osmocom/msc/iu_dummy.h>
Neels Hofmeyr00e82d62017-07-05 15:19:52 +020039#endif
40
Neels Hofmeyr55014d02018-03-22 16:43:40 +010041struct gsm_network *gsm_network_init(void *ctx, mncc_recv_cb_t mncc_recv)
42{
43 struct gsm_network *net;
44
45 net = talloc_zero(ctx, struct gsm_network);
46 if (!net)
47 return NULL;
48
49 net->plmn = (struct osmo_plmn_id){ .mcc=1, .mnc=1 };
50
51 /* Permit a compile-time default of A5/3 and A5/1 */
52 net->a5_encryption_mask = (1 << 3) | (1 << 1);
53
54 /* Use 30 min periodic update interval as sane default */
55 net->t3212 = 5;
56
Philipp Maier9ca7b312018-10-10 17:00:49 +020057 net->mncc_guard_timeout = 180;
58
Neels Hofmeyr55014d02018-03-22 16:43:40 +010059 net->paging_response_timer = MSC_PAGING_RESPONSE_TIMER_DEFAULT;
60
61 INIT_LLIST_HEAD(&net->trans_list);
62 INIT_LLIST_HEAD(&net->upqueue);
63 INIT_LLIST_HEAD(&net->subscr_conns);
64
65 /* init statistics */
66 net->msc_ctrs = rate_ctr_group_alloc(net, &msc_ctrg_desc, 0);
67 if (!net->msc_ctrs) {
68 talloc_free(net);
69 return NULL;
70 }
71 net->active_calls = osmo_counter_alloc("msc.active_calls");
Vadim Yanitskiyad64e2a2018-06-26 18:27:25 +070072 net->active_nc_ss = osmo_counter_alloc("msc.active_nc_ss");
Neels Hofmeyr55014d02018-03-22 16:43:40 +010073
74 net->mncc_recv = mncc_recv;
75
76 INIT_LLIST_HEAD(&net->a.bscs);
77
78 return net;
79}
80
Harald Welte2483f1b2016-06-19 18:06:02 +020081/* Receive a SAPI-N-REJECT from BSC */
Philipp Maierfbf66102017-04-09 12:32:51 +020082void msc_sapi_n_reject(struct gsm_subscriber_connection *conn, int dlci)
Holger Hans Peter Freyther43b09092010-06-15 11:52:51 +080083{
Holger Hans Peter Freyther6a3d7652010-06-15 12:03:10 +080084 int sapi = dlci & 0x7;
85
86 if (sapi == UM_SAPI_SMS)
87 gsm411_sapi_n_reject(conn);
Holger Hans Peter Freyther43b09092010-06-15 11:52:51 +080088}
89
Neels Hofmeyre2f24d52017-05-08 15:12:20 +020090/* receive a Level 3 Complete message and return MSC_CONN_ACCEPT or
91 * MSC_CONN_REJECT */
Neels Hofmeyr84da6b12016-05-20 21:59:55 +020092int msc_compl_l3(struct gsm_subscriber_connection *conn,
93 struct msgb *msg, uint16_t chosen_channel)
Holger Hans Peter Freyther97643312010-06-17 16:41:25 +080094{
Neels Hofmeyr6166f292017-11-22 14:33:12 +010095 msc_subscr_conn_get(conn, MSC_CONN_USE_COMPL_L3);
Holger Hans Peter Freyther97643312010-06-17 16:41:25 +080096 gsm0408_dispatch(conn, msg);
97
Neels Hofmeyr6166f292017-11-22 14:33:12 +010098 msc_subscr_conn_put(conn, MSC_CONN_USE_COMPL_L3);
Neels Hofmeyr84da6b12016-05-20 21:59:55 +020099
100 /* Always return acceptance, because even if the conn was not accepted,
101 * we assumed ownership of it and the caller shall not interfere with
102 * that. We may even already have discarded the conn. */
Neels Hofmeyre2f24d52017-05-08 15:12:20 +0200103 return MSC_CONN_ACCEPT;
Harald Welte2483f1b2016-06-19 18:06:02 +0200104
105#if 0
Holger Hans Peter Freythere9f420d2016-02-10 10:42:20 +0100106 /*
107 * If this is a silent call we want the channel to remain open as long as
108 * possible and this is why we accept this connection regardless of any
109 * pending transaction or ongoing operation.
110 */
Holger Hans Peter Freyther70ae5d32012-11-23 21:33:15 +0100111 if (conn->silent_call)
Neels Hofmeyre2f24d52017-05-08 15:12:20 +0200112 return MSC_CONN_ACCEPT;
113 if (conn->loc_operation || conn->sec_operation || conn->anch_operation)
114 return MSC_CONN_ACCEPT;
Holger Hans Peter Freyther70ae5d32012-11-23 21:33:15 +0100115 if (trans_has_conn(conn))
Neels Hofmeyre2f24d52017-05-08 15:12:20 +0200116 return MSC_CONN_ACCEPT;
Jacob Erlbeck8e68b562014-01-30 21:01:12 +0100117
118 LOGP(DRR, LOGL_INFO, "MSC Complete L3: Rejecting connection.\n");
Neels Hofmeyre2f24d52017-05-08 15:12:20 +0200119 return MSC_CONN_REJECT;
Harald Welte2483f1b2016-06-19 18:06:02 +0200120#endif
Holger Hans Peter Freyther97643312010-06-17 16:41:25 +0800121}
122
Harald Welte2483f1b2016-06-19 18:06:02 +0200123/* Receive a DTAP message from BSC */
Philipp Maier54729d62018-11-19 18:31:16 +0100124void msc_dtap(struct gsm_subscriber_connection *conn, struct msgb *msg)
Holger Hans Peter Freyther97643312010-06-17 16:41:25 +0800125{
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100126 msc_subscr_conn_get(conn, MSC_CONN_USE_DTAP);
Holger Hans Peter Freyther97643312010-06-17 16:41:25 +0800127 gsm0408_dispatch(conn, msg);
Harald Welte2483f1b2016-06-19 18:06:02 +0200128
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100129 msc_subscr_conn_put(conn, MSC_CONN_USE_DTAP);
Holger Hans Peter Freyther97643312010-06-17 16:41:25 +0800130}
131
Harald Welte2483f1b2016-06-19 18:06:02 +0200132/* Receive an ASSIGNMENT COMPLETE from BSC */
Philipp Maierfbf66102017-04-09 12:32:51 +0200133void msc_assign_compl(struct gsm_subscriber_connection *conn,
134 uint8_t rr_cause, uint8_t chosen_channel,
135 uint8_t encr_alg_id, uint8_t speec)
Holger Hans Peter Freyther40aac3f2011-12-27 12:31:02 +0100136{
Jacob Erlbeck8e68b562014-01-30 21:01:12 +0100137 LOGP(DRR, LOGL_DEBUG, "MSC assign complete (do nothing).\n");
Holger Hans Peter Freyther40aac3f2011-12-27 12:31:02 +0100138}
139
Harald Welte2483f1b2016-06-19 18:06:02 +0200140/* Receive an ASSIGNMENT FAILURE from BSC */
Philipp Maierfbf66102017-04-09 12:32:51 +0200141void msc_assign_fail(struct gsm_subscriber_connection *conn,
142 uint8_t cause, uint8_t *rr_cause)
Holger Hans Peter Freyther40aac3f2011-12-27 12:31:02 +0100143{
Jacob Erlbeck8e68b562014-01-30 21:01:12 +0100144 LOGP(DRR, LOGL_DEBUG, "MSC assign failure (do nothing).\n");
Holger Hans Peter Freyther40aac3f2011-12-27 12:31:02 +0100145}
146
Harald Welte2483f1b2016-06-19 18:06:02 +0200147/* Receive a CLASSMARK CHANGE from BSC */
Philipp Maierfbf66102017-04-09 12:32:51 +0200148void msc_classmark_chg(struct gsm_subscriber_connection *conn,
149 const uint8_t *cm2, uint8_t cm2_len,
150 const uint8_t *cm3, uint8_t cm3_len)
Harald Welte95e862c2012-01-23 10:28:35 +0100151{
Neels Hofmeyr68cf9572018-09-18 15:52:58 +0200152 struct gsm_classmark *cm;
153
154 if (!conn->vsub)
155 cm = &conn->temporary_classmark;
156 else
157 cm = &conn->vsub->classmark;
Neels Hofmeyr986fe7e2018-09-13 03:05:52 +0200158
Harald Welte2483f1b2016-06-19 18:06:02 +0200159 if (cm2 && cm2_len) {
Neels Hofmeyr986fe7e2018-09-13 03:05:52 +0200160 if (cm2_len > sizeof(cm->classmark2)) {
Harald Welte2483f1b2016-06-19 18:06:02 +0200161 LOGP(DRR, LOGL_NOTICE, "%s: classmark2 is %u bytes, truncating at %zu bytes\n",
Neels Hofmeyr986fe7e2018-09-13 03:05:52 +0200162 vlr_subscr_name(conn->vsub), cm2_len, sizeof(cm->classmark2));
163 cm2_len = sizeof(cm->classmark2);
Harald Welte95e862c2012-01-23 10:28:35 +0100164 }
Neels Hofmeyr986fe7e2018-09-13 03:05:52 +0200165 cm->classmark2_len = cm2_len;
166 memcpy(cm->classmark2, cm2, cm2_len);
Harald Welte2483f1b2016-06-19 18:06:02 +0200167 }
168 if (cm3 && cm3_len) {
Neels Hofmeyr986fe7e2018-09-13 03:05:52 +0200169 if (cm3_len > sizeof(cm->classmark3)) {
Harald Welte2483f1b2016-06-19 18:06:02 +0200170 LOGP(DRR, LOGL_NOTICE, "%s: classmark3 is %u bytes, truncating at %zu bytes\n",
Neels Hofmeyr986fe7e2018-09-13 03:05:52 +0200171 vlr_subscr_name(conn->vsub), cm3_len, sizeof(cm->classmark3));
172 cm3_len = sizeof(cm->classmark3);
Harald Welte2483f1b2016-06-19 18:06:02 +0200173 }
Neels Hofmeyr986fe7e2018-09-13 03:05:52 +0200174 cm->classmark3_len = cm3_len;
175 memcpy(cm->classmark3, cm3, cm3_len);
Harald Welte95e862c2012-01-23 10:28:35 +0100176 }
Neels Hofmeyr3117b702018-09-13 03:23:07 +0200177
178 /* bump subscr conn FSM in case it is waiting for a Classmark Update */
179 if (conn->fi->state == SUBSCR_CONN_S_WAIT_CLASSMARK_UPDATE)
180 osmo_fsm_inst_dispatch(conn->fi, SUBSCR_CONN_E_CLASSMARK_UPDATE, NULL);
Harald Welte95e862c2012-01-23 10:28:35 +0100181}
182
Harald Welte2483f1b2016-06-19 18:06:02 +0200183/* Receive a CIPHERING MODE COMPLETE from BSC */
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200184void msc_cipher_mode_compl(struct gsm_subscriber_connection *conn,
185 struct msgb *msg, uint8_t alg_id)
Harald Weltecf149ee2012-01-23 16:40:24 +0100186{
Harald Welte2483f1b2016-06-19 18:06:02 +0200187 struct vlr_ciph_result ciph_res = { .cause = VLR_CIPH_REJECT };
Harald Weltecf149ee2012-01-23 16:40:24 +0100188
Harald Welte2483f1b2016-06-19 18:06:02 +0200189 if (!conn) {
Harald Welte284c39a2018-01-24 22:38:06 +0100190 LOGP(DRR, LOGL_ERROR, "invalid: rx Ciphering Mode Complete on NULL conn\n");
Harald Welte2483f1b2016-06-19 18:06:02 +0200191 return;
192 }
193 if (!conn->vsub) {
Harald Welte284c39a2018-01-24 22:38:06 +0100194 LOGP(DRR, LOGL_ERROR, "invalid: rx Ciphering Mode Complete for NULL subscr\n");
Harald Welte2483f1b2016-06-19 18:06:02 +0200195 return;
Harald Weltecf149ee2012-01-23 16:40:24 +0100196 }
197
Harald Welte284c39a2018-01-24 22:38:06 +0100198 DEBUGP(DRR, "%s: CIPHERING MODE COMPLETE\n", vlr_subscr_name(conn->vsub));
Harald Welte2483f1b2016-06-19 18:06:02 +0200199
Harald Welte284c39a2018-01-24 22:38:06 +0100200 if (msg) {
201 struct gsm48_hdr *gh = msgb_l3(msg);
202 unsigned int payload_len = msgb_l3len(msg) - sizeof(*gh);
203 struct tlv_parsed tp;
204 uint8_t mi_type;
Harald Welte2483f1b2016-06-19 18:06:02 +0200205
Harald Welte284c39a2018-01-24 22:38:06 +0100206 if (!gh) {
207 LOGP(DRR, LOGL_ERROR, "invalid: msgb without l3 header\n");
208 return;
209 }
210
211 tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0);
212
213 /* bearer capability */
214 if (TLVP_PRESENT(&tp, GSM48_IE_MOBILE_ID)) {
215 mi_type = TLVP_VAL(&tp, GSM48_IE_MOBILE_ID)[0] & GSM_MI_TYPE_MASK;
216 if (mi_type == GSM_MI_TYPE_IMEISV
217 && TLVP_LEN(&tp, GSM48_IE_MOBILE_ID) > 0) {
Neels Hofmeyrfa10eda2018-03-13 01:22:01 +0100218 gsm48_mi_to_string(ciph_res.imeisv, sizeof(ciph_res.imeisv),
Harald Welte284c39a2018-01-24 22:38:06 +0100219 TLVP_VAL(&tp, GSM48_IE_MOBILE_ID),
220 TLVP_LEN(&tp, GSM48_IE_MOBILE_ID));
Harald Welte284c39a2018-01-24 22:38:06 +0100221 }
Harald Welte2483f1b2016-06-19 18:06:02 +0200222 }
223 }
224
Neels Hofmeyrf41658d2018-11-30 04:35:50 +0100225 conn->geran_encr.alg_id = alg_id;
Neels Hofmeyrb0779bb2018-11-29 23:37:19 +0100226
Harald Welte2483f1b2016-06-19 18:06:02 +0200227 ciph_res.cause = VLR_CIPH_COMPL;
228 vlr_subscr_rx_ciph_res(conn->vsub, &ciph_res);
Harald Weltecf149ee2012-01-23 16:40:24 +0100229}
230
Harald Welte2483f1b2016-06-19 18:06:02 +0200231/* Receive a CLEAR REQUEST from BSC */
Philipp Maierfbf66102017-04-09 12:32:51 +0200232int msc_clear_request(struct gsm_subscriber_connection *conn, uint32_t cause)
Harald Welte2483f1b2016-06-19 18:06:02 +0200233{
234 msc_subscr_conn_close(conn, cause);
235 return 1;
236}
237
Neels Hofmeyr99a8d232018-04-09 20:44:56 +0200238static const char *used_ref_counts_str(struct gsm_subscriber_connection *conn)
239{
240 static char buf[256];
241 int bit_nr;
242 char *pos = buf;
243 *pos = '\0';
244
245 if (conn->use_tokens < 0)
246 return "invalid";
247
248#define APPEND_STR(fmt, args...) do { \
249 int remain = sizeof(buf) - (pos - buf) - 1; \
250 int l = -1; \
251 if (remain > 0) \
252 l = snprintf(pos, remain, "%s" fmt, (pos == buf? "" : ","), ##args); \
253 if (l < 0 || l > remain) { \
254 buf[sizeof(buf) - 1] = '\0'; \
255 return buf; \
256 } \
257 pos += l; \
258 } while(0)
259
260 for (bit_nr = 0; (1 << bit_nr) <= conn->use_tokens; bit_nr++) {
261 if (conn->use_tokens & (1 << bit_nr)) {
262 APPEND_STR("%s", get_value_string(msc_subscr_conn_use_names, bit_nr));
263 }
264 }
265 return buf;
266#undef APPEND_STR
267}
268
Harald Welte2483f1b2016-06-19 18:06:02 +0200269/* increment the ref-count. Needs to be called by every user */
270struct gsm_subscriber_connection *
271_msc_subscr_conn_get(struct gsm_subscriber_connection *conn,
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100272 enum msc_subscr_conn_use balance_token,
Harald Welte2483f1b2016-06-19 18:06:02 +0200273 const char *file, int line)
274{
275 OSMO_ASSERT(conn);
Holger Hans Peter Freythere7bd8632013-06-30 15:30:47 +0200276
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100277 if (balance_token != MSC_CONN_USE_UNTRACKED) {
278 uint32_t flag = 1 << balance_token;
279 OSMO_ASSERT(balance_token < 32);
280 if (conn->use_tokens & flag)
281 LOGPSRC(DREF, LOGL_ERROR, file, line,
282 "%s: MSC conn use error: using an already used token: %s\n",
283 vlr_subscr_name(conn->vsub),
284 msc_subscr_conn_use_name(balance_token));
285 conn->use_tokens |= flag;
286 }
287
Harald Welte2483f1b2016-06-19 18:06:02 +0200288 conn->use_count++;
289 LOGPSRC(DREF, LOGL_DEBUG, file, line,
Neels Hofmeyr99a8d232018-04-09 20:44:56 +0200290 "%s: MSC conn use + %s == %u (0x%x: %s)\n",
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100291 vlr_subscr_name(conn->vsub), msc_subscr_conn_use_name(balance_token),
Neels Hofmeyr99a8d232018-04-09 20:44:56 +0200292 conn->use_count, conn->use_tokens, used_ref_counts_str(conn));
Harald Welte2483f1b2016-06-19 18:06:02 +0200293
294 return conn;
295}
296
297/* decrement the ref-count. Once it reaches zero, we release */
298void _msc_subscr_conn_put(struct gsm_subscriber_connection *conn,
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100299 enum msc_subscr_conn_use balance_token,
Harald Welte2483f1b2016-06-19 18:06:02 +0200300 const char *file, int line)
301{
302 OSMO_ASSERT(conn);
303
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100304 if (balance_token != MSC_CONN_USE_UNTRACKED) {
305 uint32_t flag = 1 << balance_token;
306 OSMO_ASSERT(balance_token < 32);
307 if (!(conn->use_tokens & flag))
308 LOGPSRC(DREF, LOGL_ERROR, file, line,
309 "%s: MSC conn use error: freeing an unused token: %s\n",
310 vlr_subscr_name(conn->vsub),
311 msc_subscr_conn_use_name(balance_token));
312 conn->use_tokens &= ~flag;
313 }
314
Harald Welte2483f1b2016-06-19 18:06:02 +0200315 if (conn->use_count == 0) {
316 LOGPSRC(DREF, LOGL_ERROR, file, line,
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100317 "%s: MSC conn use - %s failed: is already 0\n",
318 vlr_subscr_name(conn->vsub),
319 msc_subscr_conn_use_name(balance_token));
Harald Welte2483f1b2016-06-19 18:06:02 +0200320 return;
321 }
322
323 conn->use_count--;
324 LOGPSRC(DREF, LOGL_DEBUG, file, line,
Neels Hofmeyr99a8d232018-04-09 20:44:56 +0200325 "%s: MSC conn use - %s == %u (0x%x: %s)\n",
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100326 vlr_subscr_name(conn->vsub), msc_subscr_conn_use_name(balance_token),
Neels Hofmeyr99a8d232018-04-09 20:44:56 +0200327 conn->use_count, conn->use_tokens, used_ref_counts_str(conn));
Harald Welte2483f1b2016-06-19 18:06:02 +0200328
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200329 if (conn->use_count == 0)
Neels Hofmeyre3d3dc62018-03-31 00:02:14 +0200330 osmo_fsm_inst_dispatch(conn->fi, SUBSCR_CONN_E_UNUSED, NULL);
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200331}
332
Neels Hofmeyr4068ab22018-04-01 20:55:54 +0200333bool msc_subscr_conn_used_by(struct gsm_subscriber_connection *conn, enum msc_subscr_conn_use token)
334{
335 return conn && (conn->use_tokens & (1 << token));
336}
337
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100338const struct value_string msc_subscr_conn_use_names[] = {
339 {MSC_CONN_USE_UNTRACKED, "UNTRACKED"},
340 {MSC_CONN_USE_COMPL_L3, "compl_l3"},
341 {MSC_CONN_USE_DTAP, "dtap"},
Neels Hofmeyre3d3dc62018-03-31 00:02:14 +0200342 {MSC_CONN_USE_AUTH_CIPH, "auth+ciph"},
343 {MSC_CONN_USE_CM_SERVICE, "cm_service"},
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100344 {MSC_CONN_USE_TRANS_CC, "trans_cc"},
345 {MSC_CONN_USE_TRANS_SMS, "trans_sms"},
Vadim Yanitskiy846efcb2018-06-10 22:22:49 +0700346 {MSC_CONN_USE_TRANS_NC_SS, "trans_nc_ss"},
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100347 {MSC_CONN_USE_SILENT_CALL, "silent_call"},
Neels Hofmeyre3d3dc62018-03-31 00:02:14 +0200348 {MSC_CONN_USE_RELEASE, "release"},
Neels Hofmeyr6166f292017-11-22 14:33:12 +0100349 {0, NULL},
350};
351
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200352void msc_stop_paging(struct vlr_subscr *vsub)
353{
354 DEBUGP(DPAG, "Paging can stop for %s\n", vlr_subscr_name(vsub));
355 /* tell BSCs and RNCs to stop paging? How? */
Holger Hans Peter Freyther40494552010-06-28 17:09:29 +0800356}